Click here to Skip to main content
15,890,123 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi friends,

I have deployed my websitete using filezilla client. But i encounter the following problem.

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 6:  <configuration>
Line 7:  	<system.web>
Line 8:      <compilation debug="true" targetframework="4.0">
Line 9:  			<assemblies>
Line 10: 				<add assembly="sysglobl, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" /></assemblies></compilation>
Source File: C:\Inetpub\vhosts\dhuvara.com\httpdocs\sub\asp\web.config    Line: 8 


I red all the error details regarding this error. everything says that change the framework to 4.0. but actually i am using framework 4.0. i dont know to how to solve it?
Posted
Updated 24-Dec-13 8:45am
v2

1 solution

There are some suggestions here: http://stackoverflow.com/questions/15241627/configuration-error-compilation-debug-true-targetframework-4-0-asp-net-mv[^] which seem to come down to the IIS configuration of the App Pool rather than your code - which implies that the hosting service is set to a version of .NET less than 4.0 - you may need to get them to change that, or change your code to support whichever version they are running.
 
Share this answer
 
Comments
baskaran chellasamy 24-Dec-13 15:11pm    
i have deployed my site in windows webserver that is i purchased from webhost provider near from me. In this situation whether i need to use IIS server? because i deployed my site using visual studio 2010 copy website tool to ftp server.
OriginalGriff 24-Dec-13 15:17pm    
It's ok - you don't have to install IIS! They will have it (or an equivalent) installed - it's the software that makes your website run: an "operating system" for websites if you like.

Just talk to their technical support and explain that you want to use .NET V4.0 and they should know what you mean.
baskaran chellasamy 24-Dec-13 15:22pm    
thank you.
OriginalGriff 24-Dec-13 15:36pm    
You're welcome!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900