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 configuration section 'connectionStrings'
Source Error:
|
1. Installed .NET framework 4
2. Copied “System.Web.Mvc”to the bin directory (this is not needed if ASP.NET MVC is installed on the server). To include this with your project, in Visual Studio, under references, make sure that “Copy Local” is set to true for “System.Web.Mvc”
3. In IIS Manager
a. Enabled the ASP.NET v4 web service extension
b. For the “mvc” application, set the ASP.NET version to 4 under the “ASP.NET” tab
c. Enabled wildcard mapping
i. In the directory tab, clicked configuration
ii. Clicked “Insert” and added “c:\windows\microsoft.net\framework\v4.0.30319\aspnet_isapi.dll” and made sure that “Verify that file exists” is NOT checked
d. Created a new app pool for the mvc application (.NET 4 applications need to run in a separate app pool from .NET 1, 2, 3, or 3.5 applications) and change the “mvc” application to use this new app pool (change it in the directory tab)
e. Restarted the web site
No comments:
Post a Comment