473,405 Members | 2,210 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

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

Sep 26 '06 #1
3 7101
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 43°2'17"N 88°2'37"W : 43°2'17"N 88°2'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
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 43°2'17"N 88°2'37"W : 43°2'17"N 88°2'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
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 43°2'17"N 88°2'37"W : 43°2'17"N 88°2'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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Ken Wigle | last post by:
All, I am trying to add some .net applications I wrote to a virtual directory underneath the sharepoint services web site. I am having some problems and wondering if a) this is possible and/or...
2
by: mqsash | last post by:
Hi Problem : Unable to deploy an assembly in IE, as a cab file. (Works fine when deployed as a dll ) Description : I have created a assembly (.dll) in C# which I deploy in IE. The dll name is...
9
by: Wayne Wengert | last post by:
I built an ASP application and it runs fine on my local IIS. I am trying to move the application to my web service (ISP) out on the internet. I've read several of the help articles but they all...
3
by: Robin | last post by:
I am trying to get a virtual directory ASP.Net application to work on a Windows 2003 server that has Sharepoint 2003. I have followed the Microsoft knowledgebase but the error message below still...
1
by: Harvnet | last post by:
I am a newbie programmer, using lots of books and online resources. I need help to get my asp.net page to work because right now all I am getting is errors. The project is to have a drop down...
2
by: =?Utf-8?B?Tmljb2xl?= | last post by:
Hello, I developped an ASP.Net Web Site in C# language. It can save the Project Server URL, connect to Project Server and create a Project on it. I debugged it and ran it correctly from Visual...
5
by: Ron | last post by:
Hi all, I am new at .net 2.0 deployment so can any one recommend me a good way or article to follow? What I want to do is (1)to deploy the website on the server2003 with IIS6 (2)we have...
1
by: Mr Gray | last post by:
I have a site that is running on a SPS 2003 box and I intend to remove it from that box and off any sharepoint architecture. I currently receive the following error and I am inclined to think it is...
0
by: stephen | last post by:
Hi, I am using Click Once Deploy to deploy an application.(this application has an .exe, .config, .xml files) and after deployment to a location, I checked for the files and all the files are...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.