Moving a C# web app form one project folder to another?

Jumpem

Lifer
Sep 21, 2000
10,757
3
81
I have an existing C# web application that was done in Visual Studio .NET. Right now it is running of of the local machine that it was created on. I need to move all of the source and have it run off of another server. Does anyone know how to do this?
 

Descartes

Lifer
Oct 10, 1999
13,968
2
0
One of the major tenets of .NET is "xcopy deployment", so if you're not making use of any third-party assemblies in the GAC you just need to copy all the files over. You can use something Steve Sharrock's ASP.NET FTP Deployment tool to make things easier if you need to do this via ftp, but I prefer just doing things manually.
 

Jumpem

Lifer
Sep 21, 2000
10,757
3
81
Originally posted by: Descartes
One of the major tenets of .NET is "xcopy deployment", so if you're not making use of any third-party assemblies in the GAC you just need to copy all the files over. You can use something Steve Sharrock's ASP.NET FTP Deployment tool to make things easier if you need to do this via ftp, but I prefer just doing things manually.

I've tried using the "copy project" tool in VS. However, when I try to go to my main page( login.aspx) on the new server's url it just trys to open the actual .aspx file. Can you give me some more guidance or point me to a good spot to read up on it? Thanks!:)
 

Descartes

Lifer
Oct 10, 1999
13,968
2
0
Originally posted by: Jumpem
Originally posted by: Descartes
One of the major tenets of .NET is "xcopy deployment", so if you're not making use of any third-party assemblies in the GAC you just need to copy all the files over. You can use something Steve Sharrock's ASP.NET FTP Deployment tool to make things easier if you need to do this via ftp, but I prefer just doing things manually.

I've tried using the "copy project" tool in VS. However, when I try to go to my main page( login.aspx) on the new server's url it just trys to open the actual .aspx file. Can you give me some more guidance or point me to a good spot to read up on it? Thanks!:)

Oh, well in that case, you need to install the .NET runtime. If the .aspx isn't associated with the ASP.NET worker process it won't be able to process it. I'm assuming you just haven't installed the .NET runtime, so install it and you'll be good to go. You only need the .NET redist 1.0 or 1.1, whichever version you are using.

If you do have the runtime installed, let me know.
 

Jumpem

Lifer
Sep 21, 2000
10,757
3
81
My boss was ynder the assumption that the .NET runtime was included already in Server 2003? He just set up a machine with that OS which is why a couple of apps are being moved.
 

Aso

Senior member
Aug 16, 2000
381
0
76
The .net runtime is included with server 2003. Depending on how you setup the box the .Net runtime might not be active or installed. I havent worked much with 2003 but I know by default eveything is shut off.
 

Jumpem

Lifer
Sep 21, 2000
10,757
3
81
Originally posted by: Aso
The .net runtime is included with server 2003. Depending on how you setup the box the .Net runtime might not be active or installed. I havent worked much with 2003 but I know by default eveything is shut off.


Ok, I can check that... I'm not really a Network Admin guy so I don't know much here. I'm browsing through the IIS Manager. What am I looking for to see if it is set up how it should be?
 

Jumpem

Lifer
Sep 21, 2000
10,757
3
81
WOW!!!

Ok, the pages will not open in Netscape 7.1, but will under IE. However they do work fine in both IE and Netscape on the current machine. On the new machine even when they open in IE the textboxes and buttons do not show, and alot of the formatting is different. The .NET configuration tool says that it is version 1.1 if that helps.

Thanks for any light that you guys can shed on this.