Deploy Web Site on IIS running Sharepoint - refernces incorrect web.config file



I've a test web site set up as a virtual directory under default web
sites in IIS. However when I browse to the main .aspx page I get an
error because it is referencing a web.config that belongs to sharepoint
web sites. How can I force the test web site to reference the correct
web.config file?

The test web site contains the following in IIS:

Default Web Site
Test - contains aspx and web.config
Bin

The test web site virtual directory points to a folder on the D drive
e.g d:/TestWebSite which holds the web.config

The error references a web.config on d:\inetpub\wwwroot\web.config. How
can I force the test web site to look at the correct web.config file

The Test Web site virtual directory uses a different application pool
to sharepoint and has been excluded from the sharepoing virtual server.

I'd appreciate any help

.



Relevant Pages

  • Re: How do I specify a different virtual directory path
    ... I have tested the XML HTTP query so ... > My test web site is in another virtual directory from the 'nwind' virtual ... > need to specify the path to the nwind virtual folder. ...
    (microsoft.public.sqlserver.xml)
  • Re: I dont really understand windows security...I need help
    ... It sounds like you are executing the aspx page because that doesn't sound ... Can you execute a "hello world" web page in that virtual directory? ... > be security tabs on the actual directory and directory permissions in IIS, ...
    (microsoft.public.dotnet.framework.aspnet.security)

Quantcast