By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,649 Members | 1,572 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,649 IT Pros & Developers. It's quick & easy.

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

P: n/a
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

Sep 26 '06 #1
Share this Question
Share on Google+
3 Replies


P: n/a
I'm taking a wild guess until somebody else with SharePoint experience may
comment but ask what you have done to inspect the machine.config file?

<%= Clinton Gallagher
NET csgallagher AT metromilwaukee.com
URL http://clintongallagher.metromilwaukee.com/
MAP 432'17"N 882'37"W : 432'17"N 882'37"W

<co*********@gmail.comwrote in message
news:11*********************@m73g2000cwd.googlegro ups.com...
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

Sep 26 '06 #2

P: n/a
I have not touched the machine.config file. Should I?

If I place the test web.config file under inetpub\wwwroot my test
application works fine. However I need this location for sharepoints
web.config file.

Cheers

clintonG wrote:
I'm taking a wild guess until somebody else with SharePoint experience may
comment but ask what you have done to inspect the machine.config file?

<%= Clinton Gallagher
NET csgallagher AT metromilwaukee.com
URL http://clintongallagher.metromilwaukee.com/
MAP 432'17"N 882'37"W : 432'17"N 882'37"W

<co*********@gmail.comwrote in message
news:11*********************@m73g2000cwd.googlegro ups.com...
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
Sep 27 '06 #3

P: n/a
I see clearer now.
As I recall SharePoint requires Windows Server 2003 so just create another
website for your other application(s) which will have its own root separate
and distinct from SharePoint.

<%= Clinton Gallagher

<co*********@gmail.comwrote in message
news:11**********************@d34g2000cwd.googlegr oups.com...
I have not touched the machine.config file. Should I?

If I place the test web.config file under inetpub\wwwroot my test
application works fine. However I need this location for sharepoints
web.config file.

Cheers

clintonG wrote:
I'm taking a wild guess until somebody else with SharePoint experience may
comment but ask what you have done to inspect the machine.config file?

<%= Clinton Gallagher
NET csgallagher AT metromilwaukee.com
URL http://clintongallagher.metromilwaukee.com/
MAP 432'17"N 882'37"W : 432'17"N 882'37"W

<co*********@gmail.comwrote in message
news:11*********************@m73g2000cwd.googlegro ups.com...
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

Sep 27 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.