|
-
Aug 30th, 2003, 01:57 AM
#1
Thread Starter
Addicted Member
error message re configuration error
Hi
would appreciate any help on this
i had a very simple demonstration Database app for what I set up and was using a repeater contol as a test and it was working fine.
My computer seemed to have have some sort of smak attack last week (maybe a virus although I have Virus Software) and then none of my .Net projects were working (Approx 10). I managed to uninstall and reinstall everything relating to .NET and now its all working except for this one.
I get this error every time I try to run it
I have set up a new app to test and the CONFiG file is exactly the same
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 23: "Forms", "Passport" and "None"
Line 24: -->
Line 25: <authentication mode="Windows" />
Line 26:
Line 27:
Source File: e:\inetpub\wwwroot\GeorgeTest\web.config Line: 25
Version Information: Microsoft .NET Framework Version:1.0.3705.0; ASP.NET Version:1.0.3705.0
-
Sep 1st, 2003, 10:39 PM
#2
Thread Starter
Addicted Member
-
Sep 2nd, 2003, 12:07 AM
#3
Frenzied Member
I would suggest you to let VS. NET create a new web application and then import your old files in to that application. There may be some work arounds for your problem, but i think that is the simplest.
'Heading for the automatic overload'
Marillion, Brave, The Great Escape, 1994
'How will WE stand the FIRE TOMORROW?'
Eloy, Silent Cries and Mighty Echoes, The Vision - Burning, 1979
-
Sep 2nd, 2003, 03:59 AM
#4
IIS Configration
Hi.
In the IIS Administration, you can select the folder the project is in, and then set it as an application. Then it will work again.
I have tried the same thing when re-installing my entire harddrive.
Then after installing VS .NET my IIS still didn't know about these applications. In the beginning I also created a new project and imported the existing files, but that is not needed.
Hope it helps.
I wish I could think of something witty to put in my sig...
...Currently using VS2013...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|