DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/)
-   ASP.NET (http://www.daniweb.com/forums/forum18.html)
-   -   error while hosting (http://www.daniweb.com/forums/thread122471.html)

successalways May 5th, 2008 12:53 am
error while hosting
 
hello i am Anand kumar .. the below is the error discription after hosting my web page..
WWW.rxthirdeye.com is the webaddress...
i hope u will provide me suggestion to clear it...


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".

nandhinijp May 5th, 2008 7:25 am
Re: error while hosting
 
you should place this code in your web config ,within the

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

i dont know the proper reason for this customerrors mode off.But its working.

sierrasoft May 6th, 2008 7:10 am
Re: error while hosting
 
there is an error in your project. To view the error on your local machine from where you are browsing the site--change the web.config settings.

<trace enabled="true"
requestLimit="10"
pageOutput="True"
traceMode="SortByTime"
localOnly="false"
mostRecent="true"/>

This will display the error details on your page.

You can set the Page output to false (this will not display the error details on the page you are viewing) and set the localonly to false.

You can then view the error in the trace.axd file. The Trace.axd file can be viewed like this :

WWW.rxthirdeye.com/trace.axd

I hope this helps.

Regards
Sunil Punjabi


All times are GMT -4. The time now is 11:18 pm.

Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC