PDA

View Full Version : Having Error in ASP.NET file


ar_faiz
10-12-2003, 03:33 AM
Server Error in '/Chapter 23' 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 23: "Forms", "Passport" and "None"
Line 24: -->
Line 25: <authentication mode="None" />
Line 26:
Line 27:


Source File: F:\microsoft_technologies\VB.NET\Chapter 23\WebFileControl\web.config Line: 25


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.0.3705.0; ASP.NET Version:1.0.3705



this error i not solving can any one help me i am new to ASP.NET
i changed the Web.config file codeof Authentication to NONE but no use can any one help me
see u

steurm
10-13-2003, 05:40 AM
[b]quote:This error can be caused by a virtual directory not being configured as an application in IIS</blockquote id="quote"></font id="quote">

The problem is that your website is not really configured as a webapplication in IIS (Internet Information Services). Go to IIS, select the property settings of the directory which is supposed to be an application.
On the 'Directory' tab, look for the textbox 'application name'. This one will be disabled (and mentions 'default application'). Click the 'Create' button beside it.

You now have configured the directory as a webapplication.

success

--
Steurm
www.steurm.net/steurm

goodmorningsky
10-18-2003, 08:36 AM
Hi, I got same err.
I can do it in my local.
But, How can I configure in discountasp.net hosting?

Eric
10-18-2003, 11:35 AM
You can use the Web Application Tool in your hosting control panel to set a subdirectory as an application.