Discussion Locked

ASP.NET application deployment problem

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi,

I need some help on deploying my ASP.NET application to another IIS Server. I've created a small Web Application with ASP.NET/ADO.NET/Visual C# where, basically I'm connecting to an SQL Server database and creating a Crystal Reports report populating selected table rows. For example, when called from my browser (local server where application was developed) http://localhost/ADOTest/WebForm1.aspx loads and displays the Crystal Report perfectly.

My next task is to move the applicationto another server where it will run from there. So I've simply copied my "ADOTest" application folder in my c:\inetpub\wwwroot\ to the other server's c:\inetpub\wwwroot\folder. I then opened a browser window and called the application (http://localhost/ADOTest/WebForm1.aspx) and all I got was the WebForm1's content display.

Is this the proper way to move/deploy such an application!?

Please help!!

Thanks!

3 replies

by rrv

Nopes. That is not the way to deploy. If using explorer select all files and folders in the development virtual folder and move to target virtual folder. Check to registering components if required in your ascx files. If dos use xcopy to copy the subfolders also. Better choice is to use MS Management console to copy the contents from one virtual folder to another in another IIS server.
All the best
RV

This discussion is closed to new replies.