I am trying to open web project and run it. When I am going to run it the following error arises. I have already configured the web.config file of this project as per my system, but still this error occurs.
It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.
Here is my web.config
<add name="HelpDBConString" connectionString="Data Source=ALOK-PC\SQLEXPRESS;Initial Catalog=HELPDESKMGMTSystem;Trusted_Connection=true;" providerName="System.Data.SqlClient"/>
<compilation debug="true" targetFramework="4.0">
<pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID"/></system.web>
and the error is-
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.
What should be the solution of this error. Pls tell me...
10 Nov '12 - 20:05
Edited 11 Nov '12 - 2:51
The error message is clear - "This error can be caused by a virtual directory not being configured as an application in IIS."
Check this Deployment of a Website on IIS
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)