Hobbes Posted August 24, 2003 Posted August 24, 2003 Hey guys, I am having problem with my web-config file. I receive the follwing error. I did not have any problems/error when I ran it on my local sever. Please help.... Thanks guys! 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: 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. Source Error: Line 2: <system.web> Line 3: <customErrors mode="Off" /> Line 4: <authentication mode="Forms"> Line 5: <forms loginUrl="login.aspx" /> Line 6: </authentication> Source File: d:\users\colinsmis\smis\web.config Line: 4 -------------------------------------------------------------------------------- Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573 Quote Hobbes...
Administrators PlausiblyDamp Posted August 24, 2003 Administrators Posted August 24, 2003 (edited) The directory containing your web application needs to be configured as an application. You can do this from the IIS administration tool, right click the virtual directory for your app and bring up the properties. The create application bit is at the bottom of the dialog box. Edited August 24, 2003 by PlausiblyDamp Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Datahighway Posted August 24, 2003 Posted August 24, 2003 Maybe , can you use this // <authentication mode="Windows" /> Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.