473,769 Members | 2,365 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

moving VS.NET projects from one machine to another

How do you copy a vs.net project from one computer to another?

Here are the steps I tried, but it failed...

- Copied project directory from wwwroot of source to wwwroot on
destination (e.g. 'MyProj')

- Went into IIS and created a virtual directory called 'MyProj'
(although in IIS the folder 'MyProj' was appering too which it doesn't
in the source computer's IIS)

- Tried to run it, but it wouldn't work.
This was about a month ago so I don't remember the exact errors. What I
had to do to get it to run was CREATE A NEW PROJECT and copy the files
into the new project!

--

fiddlewidawiddu m
Dec 12 '06 #1
4 1643
Define "wouldn't work". What version of IIS/VS.NET? Did you go into the
properties for that virtual directory and set it up as an application or hit
"Create"?

"Stimp" <re*@spumco.com wrote in message
news:sl******** ********@murphy .redbrick.dcu.i e...
How do you copy a vs.net project from one computer to another?

Here are the steps I tried, but it failed...

- Copied project directory from wwwroot of source to wwwroot on
destination (e.g. 'MyProj')

- Went into IIS and created a virtual directory called 'MyProj'
(although in IIS the folder 'MyProj' was appering too which it doesn't
in the source computer's IIS)

- Tried to run it, but it wouldn't work.
This was about a month ago so I don't remember the exact errors. What I
had to do to get it to run was CREATE A NEW PROJECT and copy the files
into the new project!

--

fiddlewidawiddu m

Dec 12 '06 #2


I don't remember the errors or why it wouldn't run. It wasn't a code
issue, but it was the way iis was setup.

Would you be able to give me a step by step guide on how to do it?

Thanks in advance!

Pete
On Tue, 12 Dec 2006 James <mi*******@gmai l.comwrote:
Define "wouldn't work". What version of IIS/VS.NET? Did you go into the
properties for that virtual directory and set it up as an application or hit
"Create"?

"Stimp" <re*@spumco.com wrote in message
news:sl******** ********@murphy .redbrick.dcu.i e...
>How do you copy a vs.net project from one computer to another?

Here are the steps I tried, but it failed...

- Copied project directory from wwwroot of source to wwwroot on
destination (e.g. 'MyProj')

- Went into IIS and created a virtual directory called 'MyProj'
(although in IIS the folder 'MyProj' was appering too which it doesn't
in the source computer's IIS)

- Tried to run it, but it wouldn't work.
This was about a month ago so I don't remember the exact errors. What I
had to do to get it to run was CREATE A NEW PROJECT and copy the files
into the new project!

--

fiddlewidawidd um


--

fiddlewidawiddu m
Dec 12 '06 #3
Still need a version of VS/IIS, but best guess without seeing it is to go
into IIS, find the folder you created, right click it, click properties and
then "Create".

"Stimp" <re*@spumco.com wrote in message
news:sl******** ********@murphy .redbrick.dcu.i e...
>

I don't remember the errors or why it wouldn't run. It wasn't a code
issue, but it was the way iis was setup.

Would you be able to give me a step by step guide on how to do it?

Thanks in advance!

Pete
On Tue, 12 Dec 2006 James <mi*******@gmai l.comwrote:
>Define "wouldn't work". What version of IIS/VS.NET? Did you go into the
properties for that virtual directory and set it up as an application or
hit
"Create"?

"Stimp" <re*@spumco.com wrote in message
news:sl******* *********@murph y.redbrick.dcu. ie...
>>How do you copy a vs.net project from one computer to another?

Here are the steps I tried, but it failed...

- Copied project directory from wwwroot of source to wwwroot on
destination (e.g. 'MyProj')

- Went into IIS and created a virtual directory called 'MyProj'
(although in IIS the folder 'MyProj' was appering too which it doesn't
in the source computer's IIS)

- Tried to run it, but it wouldn't work.
This was about a month ago so I don't remember the exact errors. What I
had to do to get it to run was CREATE A NEW PROJECT and copy the files
into the new project!

--

fiddlewidawid dum



--

fiddlewidawiddu m

Dec 13 '06 #4
You need to distinguish between copying a website and copying a project.
You don't copy a website and treat it as if it was a project.

As far as projects are concerned, just copying the source files, found at :
Drive:\Document s and Settings\Admini strator\My Documents\Visua l Studio 2005\WebSites

....and copying the solution files, found at :
Drive:\Document s and Settings\Admini strator\My Documents\Visua l Studio 2005\Projects\x xx

....will suffice to copy a project, as long as the paths in the solution files are the same,
and as long as the virtual directory exists in the second computer.

If the virtual directory does not exist in the second computer, create it.

If the physical path is not the same ( drive and directory tree ),
then edit the solution file so it points to the right directory,
and make sure the virtual directory specified in the solution file exists.

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
=============== =============== =====
"Stimp" <re*@spumco.com wrote in message news:sl******** ********@murphy .redbrick.dcu.i e...
How do you copy a vs.net project from one computer to another?

Here are the steps I tried, but it failed...

- Copied project directory from wwwroot of source to wwwroot on
destination (e.g. 'MyProj')

- Went into IIS and created a virtual directory called 'MyProj'
(although in IIS the folder 'MyProj' was appering too which it doesn't
in the source computer's IIS)

- Tried to run it, but it wouldn't work.
This was about a month ago so I don't remember the exact errors. What I
had to do to get it to run was CREATE A NEW PROJECT and copy the files
into the new project!

--

fiddlewidawiddu m

Dec 13 '06 #5

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

Similar topics

2
1875
by: Alan | last post by:
I'm trying to find the time to move from Visual InterDev 6.0 to VS.Net for my VB/COM/ASP web development work - but I'm losing the battle. What are my chances of installing VS.Net and then using it successfully for all new .Net development as well as for maintaining all my existing components, sites, ASPs, etc?? Is VS.Net backwards compatible? Thanks, Alan
0
1545
by: I Decker | last post by:
Hello All, I wonder if somebody can help. When programing in dotnet (c#), I have created an additional tab on my toolbox. I have called this tab 'Code Samples'. Into this tab I drag lots of commonly used chunks of code. I am then able to drag them back into my projects whereever needed. This works kind of like the clipboard ring, however the samples do not get removed at a restart etc, but instead always remain available. They are also...
2
2988
by: Phil | last post by:
Hi all, I am pretty new to dB programming and a have a few questions which I will put in separate threads. I have only coded as a hobby and some limited work projects. I have recently been asked if I could help implement a simple help desk for work. This has only been running for a few weeks and the data is currently being stored in excel (I know...I know!! :-) I have installed a copy of MSDE on my development machine and plan on doing...
10
2082
by: Gerben van Loon | last post by:
Hi there, hope someone can help me on this: I'm planning to deploy several ASP.NET projects to a production server. Normally I used the "Project / Copy project" option in VS.NET, but to this production server I only have FTP access. I tried copying the files with a FTP tool, but it seems that every application needs to have an own virtual directory, is this true? Or is it possible to just make 1 virtual directory and put al the projects...
12
1662
by: Leo Muller | last post by:
I always thought that moving from VB.NET to C# would be very easy. Even though so far it hasn't been hard, there are some annoying things, that may have to do with my visual studio settings. - When I type "system." the intellisense doesn't comlete this, only if I write it with a capital S, rather annoying... - is the type "string" or "String", both get excepted, but only "string" gets marked in blue, while all examples use "String" -...
2
1012
by: VB Programmer | last post by:
I have a new dev machine, running VS.NET. I copied over all my asp.net website files in the c:\inetpub\wwwroot dir to the new dev machine. I can open all the solution files fine. But when I play the projects I get: Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged.
3
1093
by: Jonathan Crawford | last post by:
Hi I am sure this must have a simple answer. I can't move web projects. I move the project to the webserver and it runs fine from the browser soo it is there an it works I click on the sln file and I get some message about the default access method being set to fileshare
3
1329
by: Chris S | last post by:
We are moving from ASP.Net 1.1 to ASP.Net 2.0. As we do not have the luxury of spending weeks trying out different techniques, I'd like to rely on some tried and true methods, but need some feedback so we don't stray too far from best practices. ASP.Net User Controls (ascx files) Our team is very comfortable with the use of ASP.Net User Controls which do
15
2451
by: mcjason | last post by:
I saw something interesting about a grid pair puzzle problem that it looks like a machine when you find each that work out the way it does and say with all the others that work out the way they do together overlapping common pieces but say connected each working out as connected, but together as connected it's connected with the others connected. a whole machine where connected together is a condition of the machine together as...
0
9586
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10210
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10043
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9861
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8869
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6672
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5298
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3561
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2814
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.