PDA

View Full Version : Runtime Error


garrydawkins
01-30-2004, 06:44 AM
Ladies & Gents,
I have a runtime error that come up only in production. It appears to be the same error for a number of items that were loaded to production yesterday. :rolleyes:
Now for the the real 411, the test environment and production are not identical. The test evironment is used to modify & test application code. Once it works I implement it on production. Granted I'm new to this area and new to this technology. Under normal circumstances I would attemp to duplication the production and the testing environment. [8D]

GDawkins

garrydawkins
01-30-2004, 06:48 AM
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".


<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>


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.


<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>




GDawkins

Eric
01-30-2004, 07:19 AM
To see the detailed error turn CustomErrors Off in your web.config.

steurm
02-04-2004, 09:24 AM
[b]quote:Originally posted by garrydawkins

Is this the web config file on the Server that need to be changed?

GDawkins
</blockquote id="quote"></font id="quote">
yep, that's the one

--
Steurm
www.steurm.net/steurm

garrydawkins
02-04-2004, 11:48 AM
Is this the web config file on the Server that need to be changed?

GDawkins