View Full Version: ASP.NET problem

Fake2knet > programming & scripting > ASP.NET problem



Title: ASP.NET problem
Description: I am dumb, i know it


iceklown - February 10, 2008 01:57 AM (GMT)
If anyone is experienced with IIS and ASP.NET can help me with a small problem. I just got my first server and I am still getting used to it. I create a simple blank website in Visual Web Developer, and publish it to a test folder on my server.

I created the folder as its own website, and gave it its own Virtual Directory.

When I go to the site, I get the following error.....

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 49: ASP.NET to identify an incoming user.
Line 50: -->
Line 51: <authentication mode="Forms" />
Line 52: <!--
Line 53: The <customErrors> section enables configuration


Source File: C:\Inetpub\vhosts\site\httpdocs\test\web.config Line: 51


Am i forgetting something? HTML files and regular aspx files work fine, but anything with a web.config file in it doesnt work.

FrozenDarkness - February 11, 2008 12:08 PM (GMT)
Steve? Jesus Christ, man. Jesus.

EDIT: Oh, and sorry for not actually being helpful in any way.

HArry the motorsport enthusiast - February 12, 2008 10:24 PM (GMT)
im just guessing This error can be caused by a virtual directory not being configured as an application in IIS.




Hosted for free by InvisionFree