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. uploading published website via FTP

uploading published website via FTP

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netcomsysadminhelp
9 Posts 3 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.
  • L Offline
    L Offline
    laziale
    wrote on last edited by
    #1

    hello - I am working on an ASP.NET website and after I published my solution locally, via FileZilla I uploaded the published files on the server. Now, for example when I want to run the website, and I am typing in: http://www.mysite.com/Default.aspx and in the browser window I am getting this:

    <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" MasterPageFile="~/main.Master" Inherits="mySite.Default" Title="Welcome" StylesheetTheme="main" %>

    <asp:Content ID="Content1" runat="server" ContentPlaceHolderID="ContentPlaceHolder1"><form id="form1" runat="server">
    <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/Signup.aspx">New User? Sign Up Now!</asp:HyperLink>

    </form>
    </asp:Content>

    any help, advice? thx in advance

    A 1 Reply Last reply
    0
    • L laziale

      hello - I am working on an ASP.NET website and after I published my solution locally, via FileZilla I uploaded the published files on the server. Now, for example when I want to run the website, and I am typing in: http://www.mysite.com/Default.aspx and in the browser window I am getting this:

      <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" MasterPageFile="~/main.Master" Inherits="mySite.Default" Title="Welcome" StylesheetTheme="main" %>

      <asp:Content ID="Content1" runat="server" ContentPlaceHolderID="ContentPlaceHolder1"><form id="form1" runat="server">
      <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/Signup.aspx">New User? Sign Up Now!</asp:HyperLink>

      </form>
      </asp:Content>

      any help, advice? thx in advance

      A Offline
      A Offline
      AlexeiXX3
      wrote on last edited by
      #2

      It looks like you are getting the file a text Maybe you root directory hasnt been set up to be a .net application and that could be the reason the file is not being treated as a webform What happens if you only type http://www.mysite.com ?

      Alexei Rodriguez

      L 1 Reply Last reply
      0
      • A AlexeiXX3

        It looks like you are getting the file a text Maybe you root directory hasnt been set up to be a .net application and that could be the reason the file is not being treated as a webform What happens if you only type http://www.mysite.com ?

        Alexei Rodriguez

        L Offline
        L Offline
        laziale
        wrote on last edited by
        #3

        I am getting this: Forbidden You don't have permission to access / on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Apache/1.3.33 Server at mysite.com Port 80 thx for your help

        A 1 Reply Last reply
        0
        • L laziale

          I am getting this: Forbidden You don't have permission to access / on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Apache/1.3.33 Server at mysite.com Port 80 thx for your help

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

          laziale wrote:

          Apache/1.3.33 Server

          As i told you before, looks like you dont have a windows server configured with IIS

          Alexei Rodriguez

          L 1 Reply Last reply
          0
          • A AlexeiXX3

            laziale wrote:

            Apache/1.3.33 Server

            As i told you before, looks like you dont have a windows server configured with IIS

            Alexei Rodriguez

            L Offline
            L Offline
            laziale
            wrote on last edited by
            #5

            is it possible to run asp.net pages on apache server? Can you point me in some direction what should I do? Thanks for your help, Laziale

            C A 2 Replies Last reply
            0
            • L laziale

              is it possible to run asp.net pages on apache server? Can you point me in some direction what should I do? Thanks for your help, Laziale

              C Offline
              C Offline
              Christian Graus
              wrote on last edited by
              #6

              laziale wrote:

              is it possible to run asp.net pages on apache server?

              No.

              Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

              L 1 Reply Last reply
              0
              • C Christian Graus

                laziale wrote:

                is it possible to run asp.net pages on apache server?

                No.

                Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

                L Offline
                L Offline
                laziale
                wrote on last edited by
                #7

                Thx, nice and clear.

                1 Reply Last reply
                0
                • L laziale

                  is it possible to run asp.net pages on apache server? Can you point me in some direction what should I do? Thanks for your help, Laziale

                  A Offline
                  A Offline
                  AlexeiXX3
                  wrote on last edited by
                  #8

                  laziale wrote:

                  Can you point me in some direction what should I do?

                  Get a windows hosting

                  Alexei Rodriguez

                  L 1 Reply Last reply
                  0
                  • A AlexeiXX3

                    laziale wrote:

                    Can you point me in some direction what should I do?

                    Get a windows hosting

                    Alexei Rodriguez

                    L Offline
                    L Offline
                    laziale
                    wrote on last edited by
                    #9

                    that's exactly what we will do. Thanks ;)

                    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