Saturday, March 31, 2012

web.config error

Server Errorin'/' Application.------------------------Runtime Error Description: An application error occurred on the server. The current custom error settingsfor this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. Details: To enable the details ofthis specific error message to be viewable on remote machines, please create a tag within a"web.config" configuration file locatedin the root directory of the current web application. This tag should then have its"mode" attributeset to"Off". "Off"/> Notes: The current error page you are seeing can be replaced by a custom error page by modifying the"defaultRedirect" attribute of the application's configuration tag to point to a custom error page URL. "RemoteOnly" defaultRedirect="mycustompage.htm"/>

i just created a single page web application and copied it to a folder in my web hosting directory.

when i try to access the file i get this error

Did you follow the directions of the exception and set <customErrors mode="Off" /> in Web.config so you can see what the exception is?

0 comments:

Post a Comment