Hello to everyone. I'm a newby here so please go easy. I just tried deploying my ASP.NET website from VS2010. The FTP upload was fine. Tried viewing the sample website in Explorer only to get the following error: 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 9: </connectionStrings> Line 10: <system.web> Line 11: <compilation debug="true" targetFramework="4.0"/> Line 12: <authentication mode="Forms"> Line 13: <forms loginUrl="~/Account/Login.aspx" timeout="2880"/> Source File: E:\web\ncmconsu\web.config Line: 11 This site practically the default website straighjt out of VS2010. All constructive comments welcome.
Make sure your site is running version 4. In your control panel click sites, then click manage the site in question, then click ASP.NET Version. Make sure its set to 4.