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. Move files from a web server to another web server

Move files from a web server to another web server

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netsysadmin
6 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.
  • A Offline
    A Offline
    awu25
    wrote on last edited by
    #1

    I am migriting my site from asp.3.0 to asp.net and I am used to simply copy files from my dev server to production server when my files are ready to go public. With asp.net I can't do that. What do I need to do before and after I copy my files to the production server to make it work.

    M 1 Reply Last reply
    0
    • A awu25

      I am migriting my site from asp.3.0 to asp.net and I am used to simply copy files from my dev server to production server when my files are ready to go public. With asp.net I can't do that. What do I need to do before and after I copy my files to the production server to make it work.

      M Offline
      M Offline
      Marcie Jones
      wrote on last edited by
      #2

      You can still copy files with ASP.NET. What have you tried, and what kinds of problems are you experiencing? Marcie http://www.codeproject.com

      A 1 Reply Last reply
      0
      • M Marcie Jones

        You can still copy files with ASP.NET. What have you tried, and what kinds of problems are you experiencing? Marcie http://www.codeproject.com

        A Offline
        A Offline
        awu25
        wrote on last edited by
        #3

        This is the error I get. It is a very simply test page. I have a Label and a button on the page. Onthe click event of the button it sets the Label.Text="Got here"; I copied test.aspx, test.cs and text.aspx.resx ---------------------------------------------------------- Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: Could not load type 'localhost.test1'. Source Error: Line 1: <%@ Page language="c#" Codebehind="test.aspx.cs" AutoEventWireup="false" Inherits="localhost.test1" %> Line 2: <%@ Import Namespace="System.Globalization"%> Line 3: <%@ Import Namespace="System.Threading"%> Source File: E:\www.match.com.tw\html\test.aspx Line: 1

        A M 2 Replies Last reply
        0
        • A awu25

          This is the error I get. It is a very simply test page. I have a Label and a button on the page. Onthe click event of the button it sets the Label.Text="Got here"; I copied test.aspx, test.cs and text.aspx.resx ---------------------------------------------------------- Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: Could not load type 'localhost.test1'. Source Error: Line 1: <%@ Page language="c#" Codebehind="test.aspx.cs" AutoEventWireup="false" Inherits="localhost.test1" %> Line 2: <%@ Import Namespace="System.Globalization"%> Line 3: <%@ Import Namespace="System.Threading"%> Source File: E:\www.match.com.tw\html\test.aspx Line: 1

          A Offline
          A Offline
          awu25
          wrote on last edited by
          #4

          And the code behind class name "test1" is correct and it runs fine on my computer(developement computer).

          1 Reply Last reply
          0
          • A awu25

            This is the error I get. It is a very simply test page. I have a Label and a button on the page. Onthe click event of the button it sets the Label.Text="Got here"; I copied test.aspx, test.cs and text.aspx.resx ---------------------------------------------------------- Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: Could not load type 'localhost.test1'. Source Error: Line 1: <%@ Page language="c#" Codebehind="test.aspx.cs" AutoEventWireup="false" Inherits="localhost.test1" %> Line 2: <%@ Import Namespace="System.Globalization"%> Line 3: <%@ Import Namespace="System.Threading"%> Source File: E:\www.match.com.tw\html\test.aspx Line: 1

            M Offline
            M Offline
            Marcie Jones
            wrote on last edited by
            #5

            If you're using VS.NET and codebehind, then you also need to build your solution and copy over the DLL to the webserver as well. Marcie http://www.codeproject.com

            A 1 Reply Last reply
            0
            • M Marcie Jones

              If you're using VS.NET and codebehind, then you also need to build your solution and copy over the DLL to the webserver as well. Marcie http://www.codeproject.com

              A Offline
              A Offline
              awu25
              wrote on last edited by
              #6

              It worked!!! Thank you thank you thank you for your help!!!

              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