473,466 Members | 1,462 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Running ASP.NET solutions from different physical locations

I have a solution file (*.sln) which contains web service and web console projects.

This solution file is shared in a team development environment (via a source library tool).

When opening the solution file on different machines it complains about not being able to find the virtual web directories (always with a root reference of http://localhost/...) even though they exist.

From examining the solution files it appears that they are generating machine specific configuration and referencing these using GUIDS.

Question: How do you make solution files (that contain web projects) work on multiple machines without having to re-add projects? This is critical for us as we are using an automated build process which runs on a separate build server.

Nov 18 '05 #1
3 1361
well one issue ive faced is because it was reading the proxy as the
localhost and not the current local machine as the localhost...
the said to be workaround for that was to set in IE options under
Connections > Lan Settings , Select bypass proxy server for local
addresses... if u dont have a proxy situation setup then well... well try
that first... oh yeah and just make sure ur IIS setting has the IP Address
set to ALL UNASSIGNED under its default web site properties...

a quick easy fix that i found was editing the local .proj.webinfo file to
use the machine name instead of the localhost... that always worked.. but i
suppose if ur checking those files in and out thats not gonna be a good
solution...

hope that helped...

"Matt" <Ma**@discussions.microsoft.com> wrote in message
news:19**********************************@microsof t.com...
I have a solution file (*.sln) which contains web service and web console projects.
This solution file is shared in a team development environment (via a source library tool).
When opening the solution file on different machines it complains about not being able to find the virtual web directories (always with a root
reference of http://localhost/...) even though they exist.
From examining the solution files it appears that they are generating machine specific configuration and referencing these using GUIDS.
Question: How do you make solution files (that contain web projects) work on multiple machines without having to re-add projects? This is critical
for us as we are using an automated build process which runs on a separate
build server.

---
Outgoing mail is certified Virus Free. (well i'd like to think it is.. )
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.723 / Virus Database: 479 - Release Date: 19/07/2004
Nov 18 '05 #2
I am using "ALL UNASSIGNED" and I'm not using a proxy server. Localhost should work on both machines. If I recreate the solution (i.e. create a blank solution and re-add the same web project) all works ok. The new solution has new internal GUID configuration entries added.

So how do I get around the need to recreate solutions so I can do builds directly from what comes out of my source safe environment?

"Mike Smith" wrote:
well one issue ive faced is because it was reading the proxy as the
localhost and not the current local machine as the localhost...
the said to be workaround for that was to set in IE options under
Connections > Lan Settings , Select bypass proxy server for local
addresses... if u dont have a proxy situation setup then well... well try
that first... oh yeah and just make sure ur IIS setting has the IP Address
set to ALL UNASSIGNED under its default web site properties...

a quick easy fix that i found was editing the local .proj.webinfo file to
use the machine name instead of the localhost... that always worked.. but i
suppose if ur checking those files in and out thats not gonna be a good
solution...

hope that helped...

"Matt" <Ma**@discussions.microsoft.com> wrote in message
news:19**********************************@microsof t.com...
I have a solution file (*.sln) which contains web service and web console

projects.

This solution file is shared in a team development environment (via a

source library tool).

When opening the solution file on different machines it complains about

not being able to find the virtual web directories (always with a root
reference of http://localhost/...) even though they exist.

From examining the solution files it appears that they are generating

machine specific configuration and referencing these using GUIDS.

Question: How do you make solution files (that contain web projects) work

on multiple machines without having to re-add projects? This is critical
for us as we are using an automated build process which runs on a separate
build server.

---
Outgoing mail is certified Virus Free. (well i'd like to think it is.. )
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.723 / Virus Database: 479 - Release Date: 19/07/2004

Nov 18 '05 #3
Hey Matt.

sorry it wasnt much help.. only thing i can point u to now is this:
http://msdn.microsoft.com/library/de...asp?frame=true

have u read this patterns and practices documents on source safe ? chap 3 is
on structuring solutions and projects.. hopefully theres something in there
?

--
Regards,
Mike
http://bikesh.europe.webmatrixhosting.net
http://www.planetsourcecode.com (search keyword: phoetus)

"Matt" <Ma**@discussions.microsoft.com> wrote in message
news:C2**********************************@microsof t.com...
I am using "ALL UNASSIGNED" and I'm not using a proxy server. Localhost should work on both machines. If I recreate the solution (i.e. create a
blank solution and re-add the same web project) all works ok. The new
solution has new internal GUID configuration entries added.
So how do I get around the need to recreate solutions so I can do builds directly from what comes out of my source safe environment?
"Mike Smith" wrote:
well one issue ive faced is because it was reading the proxy as the
localhost and not the current local machine as the localhost...
the said to be workaround for that was to set in IE options under
Connections > Lan Settings , Select bypass proxy server for local
addresses... if u dont have a proxy situation setup then well... well try that first... oh yeah and just make sure ur IIS setting has the IP Address set to ALL UNASSIGNED under its default web site properties...

a quick easy fix that i found was editing the local .proj.webinfo file to use the machine name instead of the localhost... that always worked.. but i suppose if ur checking those files in and out thats not gonna be a good
solution...

hope that helped...

"Matt" <Ma**@discussions.microsoft.com> wrote in message
news:19**********************************@microsof t.com...
I have a solution file (*.sln) which contains web service and web cons
ole projects.

This solution file is shared in a team development environment (via a

source library tool).

When opening the solution file on different machines it complains
about not being able to find the virtual web directories (always with a root
reference of http://localhost/...) even though they exist.

From examining the solution files it appears that they are generating

machine specific configuration and referencing these using GUIDS.

Question: How do you make solution files (that contain web projects)
work on multiple machines without having to re-add projects? This is critical for us as we are using an automated build process which runs on a separate build server.

---
Outgoing mail is certified Virus Free. (well i'd like to think it is.. )
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.723 / Virus Database: 479 - Release Date: 19/07/2004

---
Outgoing mail is certified Virus Free. (well i'd like to think it is.. )
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.723 / Virus Database: 479 - Release Date: 19/07/2004
Nov 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: grenness | last post by:
Sorry for bothering you with a basic question. I have an account with www.webhost4life.com which includes PHP and MySQL on an IIS 6.0/Win2k3 Server. I have succeeded in installing phpbb, and...
35
by: sacha.prins | last post by:
Hi, I read a lot about DB2 INSERT performance here. I have a nice story as well. The thing is, I work on 2 installations of DB2 (on completely different locations) which run on different (but...
0
by: Matt | last post by:
I need to open asp.net solution files whose source location files have moved. I am creating new virtual directories on the fly (using vbscript) as part of a automated build process that are...
11
by: Romram | last post by:
I was asked to submit atleast 5 solutions for the following problem: By Replacing/Adding or deleting only one character from the following code snippet, make it print tttttttttttttttttttt (20...
8
by: Bernard Lebel | last post by:
Hello, I would like to know if there is a way to run a Python file under a different user account than the one logged in. Allow me to explain. There are a bunch of people here, they are "basic...
6
by: Mat N | last post by:
Hello access friends, (Originally posted on access.formsprogramming which I think was the wrong place) I'm precalculating a bunch of data for my clients as per a profile I have for each of...
11
by: sunil | last post by:
Dear All, I have created a .Net service in 2.0 and running it on a machine that has a Quad Processor. It is failing with the following error. "Error 1053: The service did not respond to the start...
1
by: Steve F | last post by:
i have a copy of a SQL Server 2000 database on an external hardrive. I have SQL Enterprise Manager 2005 on my laptop and was wondering if it is possible to view the backup on my laptop when...
3
by: Xexon | last post by:
Hey Guys and thanks for this community it has helped me quite a bit so far :) However I ran into a problem that I couldn't find described anywhere so I go to you in hope of some help. I have a...
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...
1
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.