Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive.
It's Working On IIS But When I Host This To Web Server error Occured Like This
Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive.
Do you mean, you got the error when you just add the host name to the website in the IIS?
Please try to clear the team files which path like C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\ (delete the corresponding folder)
On the other hand, please try it with the new project.
BTW: Could you share the project to us? About share the files in the SkyDrive, please refer to:
If I create Any sample Page in .net FrameWork 2.0 Then it's Working on Web Server.
Because of this
Pradip26
So .net Framework4.0 Not Installed On Web Server
You can't say that.
Can you please confirm with your hosting provider? We understand that it's working in your machine and it's not working in the host and all. We are trying to tell you that you have to configure your application on the host to use .NET framework
4.0.
Member
50 Points
97 Posts
Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive.
Jan 08, 2014 02:50 AM|Pradip26|LINK
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive.
It's Working On IIS But When I Host This To Web Server error Occured Like This
Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive.
All-Star
52523 Points
15670 Posts
Re: Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive.
Jan 08, 2014 03:17 AM|oned_gk|LINK
Seem like your application still configured as asp.net 2.0 application.
Check application pool.
Suwandi - Non Graduate Programmer
Member
60 Points
42 Posts
Re: Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive.
Jan 09, 2014 12:02 AM|Ben_HFL|LINK
Hi Pradip,
Please make sure you change you asp.net version to asp.net 4. Go to application pool and then change it to version 4. It will solve your problem
Affordable ASP.NET Hosting Solution in Europe
Member
50 Points
97 Posts
Re: Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive.
Jan 09, 2014 12:05 AM|Pradip26|LINK
Hello Ben_HFL
It's Working On IIS But When I hosted On Server They Throws error
All-Star
23975 Points
4084 Posts
Re: Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive.
Jan 09, 2014 01:20 AM|Starain chen - MSFT|LINK
Hi Pradip26,
Do you check the .net framework’s version of application pool that the website used in your server?
If it is .net framework 4.0 or later, please try to register the framework with IIS:
There is a thread may benefit you:
http://stackoverflow.com/questions/7530725/unrecognized-attribute-targetframework-note-that-attribute-names-are-case-sen
Thanks
Best Regards
Member
50 Points
97 Posts
Re: Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive.
Jan 09, 2014 01:29 AM|Pradip26|LINK
HI Starain
It's Working On My IIS But When I Host Then Throws Error
All-Star
23975 Points
4084 Posts
Re: Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive.
Jan 09, 2014 03:06 AM|Starain chen - MSFT|LINK
Hi Pradip26,
What do you mean the Host? Please provide the details.
Thanks
Best Regards
Member
50 Points
97 Posts
Re: Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive.
Jan 09, 2014 03:09 AM|Pradip26|LINK
host like www.example.com
All-Star
52793 Points
9695 Posts
MVP
Re: Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive.
Jan 09, 2014 09:38 PM|Ruchira|LINK
We understand that.
Ask your hosting provider to change the .NET framework to 4.0. If there is configuration in the control panel of that hosting space, do it yourself.
Please 'Mark as Answer' if this post helps you
My Tech BlogAll-Star
23975 Points
4084 Posts
Re: Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive.
Jan 09, 2014 09:38 PM|Starain chen - MSFT|LINK
Hi Pradip26,
Do you mean, you got the error when you just add the host name to the website in the IIS?
Please try to clear the team files which path like C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\ (delete the corresponding folder)
On the other hand, please try it with the new project.
BTW: Could you share the project to us? About share the files in the SkyDrive, please refer to:
http://windows.microsoft.com/en-us/skydrive/share-file-folder
Thanks
Best Regards
Member
50 Points
97 Posts
Re: Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive.
Jan 09, 2014 10:53 PM|Pradip26|LINK
HI Ruchira
If I create Any sample Page in .net FrameWork 2.0 Then it's Working on Web Server.
So .net Framework4.0 Not Installed On Web Server
All-Star
52793 Points
9695 Posts
MVP
Re: Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive.
Jan 09, 2014 11:27 PM|Ruchira|LINK
Because of this
You can't say that.
Can you please confirm with your hosting provider? We understand that it's working in your machine and it's not working in the host and all. We are trying to tell you that you have to configure your application on the host to use .NET framework 4.0.
Please 'Mark as Answer' if this post helps you
My Tech BlogMember
50 Points
97 Posts
Re: Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive.
Jan 09, 2014 11:31 PM|Pradip26|LINK
Hi Ruchira
Thanks For Ur Reply
I can Do as u Say If Any Problem Regarding To This Then I Tell
Member
60 Points
42 Posts
Re: Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive.
Jan 10, 2014 12:30 AM|Ben_HFL|LINK
Hi Pradip,
As I said previously, you need to change your .net version to .net 4. :)
Affordable ASP.NET Hosting Solution in Europe
Member
50 Points
97 Posts
Re: Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive.
Jan 10, 2014 12:48 AM|Pradip26|LINK
what is Step To Change Framework
All-Star
23975 Points
4084 Posts
Re: Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive.
Jan 10, 2014 04:02 AM|Starain chen - MSFT|LINK
Hi Pradip26,
For the application project:
For the website project:
For the IIS application pool:
Thanks
Best Regards