Search code examples
asp.netweb-hostingparse-error

My Asp.net solution does not work on hostgator


Every time when I try to deploy my solution on Hostgator hosting, I get the following error:

Parser Error Message: The file '/Olive/Default.aspx.cs' does not exist.

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="OliveProjectC.Default" %>

Can anyone help me to fix this problem? Why does this problem happen?


Solution

  • Obviously they have not since you get this error... Or at least they are not visible to the process.

    Did you copy to a root outside the /Olive map? Case sensitivity perhaps (not sure that should matter but you can try). Have you verified it exitsts? FTP to the folder and check that they exist. – Pleun 21 hours ago