Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to move a web application to another machine

Status
Not open for further replies.

ASPnetNovice

Programmer
Apr 28, 2005
19
US
Hello,

I have the following problem

I create an ASP.NET web application in a machine and know I want to copy the application into another machine how can I do that ?

My application name is "interface" and it is saved on the root of my local IIS server as usual.
C:\Inetpub\
What I am doing is copying all the contents of the interface folder from machine 1 to a folder in machine 2 with the exact name and path(C:\Inetpub\ --in machine 2)

I try to do the same with the solution file but this approach is not working.

Any suggestions will be greatly appreciated.

Thanks.
 
copy all the data (files stored on your file server) to the new server including the dll's etc..
make sure u don't have references in your code that specifies your first box (ie. web.config).
re-compile your application in the new box. It should work just fine. Its pretty straight forward to copy the whole web application from one server to another. Also if your application is using a database in the back-end make sure your code can find that from the new machine.
 
You can also go to Project->Copy Project if both servers can see each other.

If that doesn't work check out XCOPY (there is info on using XCOPY as a deployment method at


--------------------------------------------------------------------------------------------------------------------------------------------

Need help finding an answer?

Try the search facility ( or read FAQ222-2244 on how to get better results.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top