|
| IIS 7 Woes |
 |
Sat, 22 Mar 2008 19:26:55 +000 |
I have been running an asp.net 2.0 app under IIS on several xp systems. I have
a new machine with Vista Home Premium and IIS 7 and cannot get the website to
run at all. I've probably hosed my IIs by trying so many different thnigs but
basically I get the following error
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 21: </connectionStrings>
Line 22: <system.web>
Line 23: <siteMap defaultProvider="1SiteMap"
enabled="true">
Line 24: <providers>
Line 25: <add name="1SiteMap"
type="System.Web.XmlSiteMapProvider"
siteMapFile="App_Data/Web.sitemap"/>
Source File: C:\inetpub\wwwroot\tippcityemsa\web.config Line: 23
Thanks
|
| Post Reply
|
| Re: IIS 7 Woes |
 |
Sat, 22 Mar 2008 21:00:04 +000 |
Well...I found the problem. In case anyone else is as clueless as I am, When
you create the virtual directory on IIS 7 you have to make sure that you select
the asp (or classic asp) application pool. Otherwise you get countless
web.config errors that make little sense.
Frank
|
| Post Reply
|
| Re: IIS 7 Woes |
 |
Sun, 23 Mar 2008 04:17:54 +000 |
Hi Frank,
I am running IIS 6 but I am having a problem wih my virtual directory. How do
you create an application pool that is ASP. I know that I have it because I saw
it under control panel-->add remove programs, but when I create the virtal
directory and click on properties I do not see ASP as a tab, I only see BITS.
How do I get ASP to show up?
|
| Post Reply
|
|
|
|
|
|
|
|
|
|