iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
Hi,
I'm getting this error when I published my website:
Server Error in '/' Application. Configuration Error 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.Source Error: Line 14: Line 15: <system.web> Line 16: <compilation debug="false" strict="false" explicit="true" targetFramework="4.0" /> Line 17: Line 18: <authentication mode="Forms">Source File: C:\inetpub\wwwroot\web.config Line: 16 Version Information: Microsoft .NET Framework Version:2.0.50727.3619; ASP.NET Version:2.0.50727.3618 My server is windows 2008, IIS7. Anyone know how I can fix this issue? Thanks, Steve
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.Source Error: Line 14: Line 15: <system.web> Line 16: <compilation debug="false" strict="false" explicit="true" targetFramework="4.0" /> Line 17: Line 18: <authentication mode="Forms">Source File: C:\inetpub\wwwroot\web.config Line: 16 Version Information: Microsoft .NET Framework Version:2.0.50727.3619; ASP.NET Version:2.0.50727.3618 My server is windows 2008, IIS7. Anyone know how I can fix this issue? Thanks, Steve
Line 14: Line 15: <system.web> Line 16: <compilation debug="false" strict="false" explicit="true" targetFramework="4.0" /> Line 17: Line 18: <authentication mode="Forms">
Version Information: Microsoft .NET Framework Version:2.0.50727.3619; ASP.NET Version:2.0.50727.3618
My server is windows 2008, IIS7. Anyone know how I can fix this issue?
Thanks,
You need to check the Framework version that you use because in the Version Information written that you're using Framework 2, not 4. If you're using Framework 2, you could try to remove the targetFramewok = "4.0" from the tag.
Regards,
Lili
Hi Lili,
I'm using ms visual 2010, so it should be using .net 4. also, i'm using webgrid 7. Any ideas how as I need to use the targetFramework = "4.0". When I take it out, I get assemblies dependecies issues as I'm using webgrid 7. thanks for your help.
Steve
If you're using Framework 4, so when you deploy and convert your application, you need to set the Application Pool to ASP.NET v4.0. If you set to DefaultAppPool, it will be used for Framework 2. That's what cause the error. Here I attach a video for more detail.
Hope it helps.
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname