uploading published website via FTP
-
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
-
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
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
-
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
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
-
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
-
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
-
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
-
-
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
-
laziale wrote:
Can you point me in some direction what should I do?
Get a windows hosting
Alexei Rodriguez