Thanks in advance for reading all of this.
I can run my Index.aspx file on my local iis on my home pc without any problem.
http://localhost/GadgetHome/Index.aspx
When trying to run on the hosting website, my Page_Error event is triggered,which is the code sample below, and the following error is generated:
Sorry!There has been an error on the page please email: jcmahne@xtra.co.nz Access to the path "/home/jcmahne/public_html/homeDirectory/web.config" is denied.
void Page_Error(object sender, EventArgs e)
{
Response.Clear();//clears all content from stream
Response.Write("Sorry!There has been an error on the page please email: jcmahne@xtra.co.nz ");
HttpServerUtility serv = this.Server;//gets current server object
Exception ex=serv.GetLastError();
Response.Write(ex.Message);
serv.ClearError();
}
< ...
Go to the complete details ...