Start-up Error

B

Barry

Hi

Everytime is reinstall Windows XP , Visual Studio .NET and IIS
all C# Web Applications stop functioning with the following error message

[Message Start]

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 44: by Microsoft that offers a single logon and core profile
services for member sites.
Line 45: -->
Line 46: <authentication mode="Windows" />
Line 47:
Line 48: <!-- AUTHORIZATION

[Message End]


Why does this happen, how do i correct the problem, on 2 ocassions i just
created a new project and transferred the code from the old project into the
newone and get it functioning, but since i frequently Reinstall Windows XP
this is quite a irritating problem, does anyone know of a way out.


Barry
 
J

Juan T. Llibre

You have to create an IIS Application for your project,
if you are setting any application-wide parameters in it.

Go into the IIS Manager, and create an IIS Application
which points to the project directory.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,787
Messages
2,569,627
Members
45,328
Latest member
66Teonna9

Latest Threads

Top