Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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

Hobbes...
  • Administrators
Posted (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 by PlausiblyDamp

Posting Guidelines FAQ Post Formatting

 

Intellectuals solve problems; geniuses prevent them.

-- Albert Einstein

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...