I have the umbracoDebugMode set to true and have tried the ?umbdebugshowtrace=1 also but still get the following error...
Server Error in '/' Application.
Runtime Error
Description: An application error occurred on the server. The current custom error settings for 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 of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "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 <customErrors> configuration tag to point to a custom error page URL.
I should have added.. my custom control displays correctly.. it is when I click a button in the user control that this error displays so it is 100% my user control..
That error message is the stock .net one, you just need to follow the instructions and configure customErrors in the web.config to see details of the error. (Don't do this on a live site or Mr Nasty Hacker will gain useful info on your site.
customErrors is already configured but it still displays the stock error message for some reason. Its as though there is some umbraco setting overriding it or something.
Getting errors to display from custom user control??
Hi all,
As title really I am getting the generic error message from within a custom user control.
I have changed the errors flag in web.config but this doesnt override it for some reason.
What is the best method for getting Umbraco to display a meaningful error message so I can fix my user control?
Thanks for any help.
Matt
Hi Matt
What error message do you currently see?
Have you tried adding ?umbdebugshowtrace=1 to the url of the page you're trying to view?
Make sure that umbracoDebugMode is set to true in the web.config file.
/Jan
Thanks,
I have the umbracoDebugMode set to true and have tried the ?umbdebugshowtrace=1 also but still get the following error...
Server Error in '/' Application.
Runtime Error
Description: An application error occurred on the server. The current custom error settings for 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 of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "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 <customErrors> configuration tag to point to a custom error page URL.
I should have added.. my custom control displays correctly.. it is when I click a button in the user control that this error displays so it is 100% my user control..
I just wanna see the error lol.
Thanks again
Hi Matt,
That error message is the stock .net one, you just need to follow the instructions and configure customErrors in the web.config to see details of the error. (Don't do this on a live site or Mr Nasty Hacker will gain useful info on your site.
TTFN
Ant
customErrors is already configured but it still displays the stock error message for some reason. Its as though there is some umbraco setting overriding it or something.
Thanks
is working on a reply...