473,320 Members | 1,883 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,320 software developers and data experts.

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 1358
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...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.