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

Copy project files from one machine to the next

I have an ongoing problem copying my vb .NET web project from one
machine to the other. I have a laptop that I take to the customer site
for onsite changes. When I am back at the office, I use a development
machine, which is much faster. The problem I have is moving code in
between the two machines. My IIS server is running off of 2 different
ports, one is 80 and the other is 8080. If I try just copying the
project over from machine with port :8080 to machine with port :80, it
will not open and gives an error that shows the port from the old
machine, like C:\localhost:8080\.....
I have tried 'add existing project from web' selection, but with the
same error. What is the correct way of doing this??

The way I have been having to do this is creating a blank project and
adding existing items to it one at a time. This is a major pain and I
hope this is not the intended way of doing this!!

--
Sent via .NET Newsgroups
http://www.dotnetnewsgroups.com
Nov 21 '05 #1
4 1376
I can actually move the project between machines if I configure the
machine to run IIS on the same port. This is a terrible way to have to
do this, so someone please tell me what I am supposed to do instead of
ways to get around this problem.
Thanx in advance

--
Sent via .NET Newsgroups
http://www.dotnetnewsgroups.com
Nov 21 '05 #2
"ralf" wrote
I can actually move the project between machines if I configure the
machine to run IIS on the same port. This is a terrible way to have to
do this, so someone please tell me what I am supposed to do instead of
ways to get around this problem.


Check your solution file (sln) in notepad
The solution file is probably the cause of your problem as the path to the
webserver is located in this file

Don't copy the solution file might solve it?

- Peter
Nov 21 '05 #3
thx for the reply. I am not copying the solution file over, and it is
not in the directory anywhere. I am creating a new solution file, and
then I add existing web app.

--
Sent via .NET Newsgroups
http://www.dotnetnewsgroups.com
Nov 21 '05 #4
OK, solved my problem, or at least a workaround. Doesn't seem like this
would be the way it was intended. But, anyway, here is what I had to
do. After copying the project under the wwwroot directory, I created a
new solution. I had to go into the project directory for the project to
import and modify the vbproj.webinfo file. It is coded in there the
port that it is supposed to be running off of. 80 is the default and if
its 80, just use C:\localhost\etc. If its something other than 80, had
to use C:\localhost:8080\etc, 8080 is your port your using. Then, after
modifying, just add existing web project to your solution and it will
open up.

--
Sent via .NET Newsgroups
http://www.dotnetnewsgroups.com
Nov 21 '05 #5

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

Similar topics

3
by: Andrew | last post by:
(I've made two previous attempts to post this using MSDN's web interface, but it doesn't seem to be working. I've switched to a newsreader, but I apologize for the duplication if the other posts...
0
by: Tess | last post by:
Hi, Long time reader, first time poster... Any help is appreciated. I have a few questions regarding Winform controls embedded within an html page. For more info please see the appendix. Now,...
1
by: Antonio Maciel | last post by:
Hi. Is it possible to use the Copy Project window to copy my project files to a machine on a different network? From my development machine I need to send my files to a machine named 'tests.com'...
1
by: Chuck Ritzke | last post by:
Is it possible to exclude certain files from the "Copy Project" command, like can be done in FrontPage when publishing a web? How? This would be very convenient. For example, I have settings in...
5
by: Verane | last post by:
Hi, I have read the thread named "Could not copy temporary files to the output directory" on this newsgroup. And I have the same symptoms on my machine. But I didn't find any solution suitable for...
3
by: Johnny | last post by:
Hi, I have created an ASP.NET application (let's call it FooBar) with VS.NET on my local machine, residing in http://localhost/FooBar. Deploying it to another folder on my machine works well...
2
by: camp | last post by:
I use VS.Net 2003 on Win XP Pro SP2. I created an ASP.Net app on local IIS. Now I just wanted to "Copy Project" to remote server, but I get this error: "An error occured while copying the...
2
by: Steve Franks | last post by:
The Copy Web tool provided with VS.NET 2005 is very convenient. However every once in a while it seems to think the files on the remote server have changed, which they have not. Then when I use...
3
by: Ken Fine | last post by:
Hi, I'm using the VS.NET 2008 website copy tool. It is supposed to keep track of whether files are new, changed, or unchanged relative to a site on my "remote" server. Most of the time it does...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...

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.