Asp.net -> 2nd Web server
-
Hi I have created many ASPX pages on my web server which work good. I now want to put some of the aspx pages on a different web server. 1. I want to know what is the minimum number of files i can copy to the 2nd web server for it to work fine. Just copying .aspx file & .aspx.cs(code behind file) does not make it work. 2. Also i dont think i have a flexibility of putting the .aspx files in any directory structure. Does it have to match the directory structure of the origional Web server. regards rt7
-
Hi I have created many ASPX pages on my web server which work good. I now want to put some of the aspx pages on a different web server. 1. I want to know what is the minimum number of files i can copy to the 2nd web server for it to work fine. Just copying .aspx file & .aspx.cs(code behind file) does not make it work. 2. Also i dont think i have a flexibility of putting the .aspx files in any directory structure. Does it have to match the directory structure of the origional Web server. regards rt7
The easiest way to do this, assuming you have Visual Studio, is to create a solution with the old web project, and then create a new web project on the new server, and delete any generated ASPX pages from the wizard. Have both project open in your solution, and drag the ASPX file from the old project to the new one. If you're using the session object, you'll need to modify web.config so that both machines use one session server, or else you'll end up with problems as well. You don't have to use the session server.