aliang Posted July 29, 2010 Posted July 29, 2010 when i open my site : http://notfreebook.heliohost.org/default.aspx i got this error XML Parsing Error: no element found Location: http://notfreebook.heliohost.org/default.aspx Line Number 1, Column 1: can someone help me?? where should i place my file?? is it on www or public_html??
Byron Posted July 29, 2010 Posted July 29, 2010 ALL of your public files should go in the public_html folder, never the www folder.
aliang Posted July 29, 2010 Author Posted July 29, 2010 i have deleted all my files on the www folder and re-upload them to public_html but the files appeared at www folder too. the contents of www and public_html always appear the same. i also try to open my aspx file but still got the same error message. contents of my file : showTime.aspx <%@ Page Language="VB" %> <script runat="server"> Sub Page_Load(sender As Object, e As EventArgs) response.write("*" & Day(Now()) & "-" & Month(Now()) & "-" & Year(Now()) & "-" & Hour(Now()) & "-" & Minute(Now()) & "*") End Sub </script> <html> <head> </head> <body> <form runat="server"> <!-- Insert content here --> </form> </body> </html> is this right???
Byron Posted July 29, 2010 Posted July 29, 2010 That's correct. Your www folder should mirror your public_html folder but you should ALWAYS upload or ftp to your public_html folder. I can't say on the asp script because I'm not familiar with ASP.NET and so that is why I'm escalating this to djbob.
Ashoat Posted July 30, 2010 Posted July 30, 2010 Sorry, I don't know VB. You should ask on an ASP.NET forum. Make sure you mention that you're using Mono.
Recommended Posts