Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Asp.net -> 2nd Web server

Asp.net -> 2nd Web server

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netsysadminregexquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    rt7
    wrote on last edited by
    #1

    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

    D 1 Reply Last reply
    0
    • R 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

      D Offline
      D Offline
      Dave Bacher
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups