Last post May 14, 2012 06:00 AM by Dino He - MSFT
May 10, 2012 11:06 AM|j.cookee89|LINK
trying to open up a website copied over to a server drive and am getting the following error:
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: 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 27: <compilation debug="false" strict="false" explicit="true" targetFramework="4.0" />
Line 29: <authentication mode="Forms"> Line 30: <forms loginUrl="~/Account/Login.aspx" timeout="2880" />
Line 31: </authentication>
\\csstore2\student\jac41\web\brightmouth\web.config Line: 29
I am very new to ASP.net and I'm working with a simple shared server drive that I can easily upload files to.
I'm using Visual Studio 2010 - I've managed to sort out the authorization database to point to one of mine, as apposed to the default SQL express and this all works fine on the developement localhost(as well as all the aspx pages) it's just a matter of getting
them up and running on a host.
incidently, I've tried uploading very simple aspx pages on the server drive, with all the authorization settings deleted on web.config, and they've worked fine.
May 14, 2012 06:00 AM|Dino He - MSFT|LINK
This is a Forms Authentication problem.
First you can read this :
After that you will find out the problem.