Hi i have a problem, on localhost everything works fine but not when i upload to my web server an error occurs: I have tried different methods but nothing succedded. thanks

HTTP Error 404.0 - Not Found
The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.
Detailed Error Information
Module IIS Web Core
Notification MapRequestHandler
Handler StaticFile
Error Code 0x80070002
Requested URL http://sanantoniocharters.com:80/GenericErrorPage.htm?aspxerrorpath=/booking.aspx
Physical Path f:\HostingSpaces\chrimag\sanantoniocharters.com\wwwroot\GenericErrorPage.htm
Logon Method Anonymous
Logon User Anonymous
Most likely causes:

The directory or file specified does not exist on the Web server.
The URL contains a typographical error.
A custom filter or module, such as URLScan, restricts access to the file.

Things you can try:

Create the content on the Web server.
Review the browser URL.
Create a tracing rule to track failed requests for this HTTP status code and see which module is calling SetStatus. For more information about creating a tracing rule for failed requests, click here.

Links and More Information This error means that the file or directory does not exist on the server. Create the file or directory and try the request again.

View more information ยป

It tells you the problem: The directory or file specified does not exist on the Web server.

Use the trace rule to figure out what is going on. It also tells you how to do that.

yes i know but the file exists on the server because i checked on my ftp.

the problemm is very strange because this happens when i change something from the .aspx example delete a textbox remove a range validation etc.

Does the website is hosted on shared hosting? Does it works if you revert back to older version?

yes it is hosted on mochahost, if i revert to older version of my .aspx yes, but for some reason even if i add ex label it will give me this error :/

Normally this error will occur if the server was unable to understand the request. Will you try by prefixing www?

Are you compiling the new version in a different framework than the one which you created the application?