Last post Sep 10, 2012 02:22 AM by Kenon-YGN
Aug 19, 2012 07:26 AM|Mohd Hameed Hussain|LINK
I am facing some issues while deploying a ASP.NET application. This is first time i am deploying a site and i am not able to figure whats wrong. I have done a research on other forums and got know of something <BaseIntermediateOutputPath> which can be used
in the project file. I tried that too but in vain (if this is the fix, can someone please guide me step by step how to configure this attribute).
Here is the detailed error message.
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: 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.
Line 18: <compilation debug="true" targetFramework="4.0" />
Line 20: <authentication mode="Forms"> Line 21:
<forms loginUrl="~/Account/Login.aspx" timeout="2880" />
Line 22: </authentication>
Source File: d:\websites\resbase\askammar.com\wwwroot\payrollinvoicesystem\web.config Line: 20
Any pointers in this area would be really helpful.
Mohd Hameed Hussain.
Aug 28, 2012 12:23 PM|necro_mancer|LINK
have you converted payrollinvoicesystem to a virtual subfolder?
Sep 10, 2012 02:22 AM|Kenon-YGN|LINK
Copying the following code to your system.web may be helpful