Help - Search - Members - Calendar
Full Version: Iis Corrupted!
BleepingComputer.com > Operating Systems > Windows Vista
   
chow2rich
What should I do if my IIS is corrupted in Vista? Should I do a windows repair or re-install the whole operating system?
usasma
What is the exact error message that you receive? What are you doing when the error message occurs?
chow2rich
Well, you see I'm doing a ASP.NET Webpage right now in Visual Studio 2008, and I couldn't view it in browser. And also I never got this message before. Here is the message:

Server Error in '/Practice0' 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 84: ASP.NET to identify an incoming user.
Line 85: -->
Line 86: <authentication mode="Windows" />
Line 87: <!--
Line 88: The <customErrors> section enables configuration


Source File: C:\Users\Richard Chow\Desktop\Practice\Practice0\webmanagement\web.config Line: 86


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
usasma
That's way outta my league! Just a guess, but I'd say there was an error in Line 86: Line 86: <authentication mode="Windows" />
I'd suggest posting over in the Programming forum: http://www.bleepingcomputer.com/forums/forum26.html
or the Web Site Development forum: http://www.bleepingcomputer.com/forums/forum38.html
chow2rich
Thanks, but I got the problem solved. The problem was that web.config file is not supposed to be in the same folder with my ASP.NET Webpages.
usasma
Thanks for letting us know! I've gotta get around to learning how to program one of these days! smile.gif
chow2rich
No, thank you for all of your help. I appreciate it.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.