debugging asp.net applications remotely - please help

S

sean

Hi There,

I have an asp .net application that I am trying to debug remotely,
unfortunatley I do not have access to the server itself. I have verified the
application is working on my local machine but on the remote server it is
not.
The application inserts rows into an ms access DB, do I need to give the
aspnet worker process explicit access to the ms access database? and how can
I make the server return error messages, the one below tells me nothing,
what file do I need to modify on the server in order to see the actual error
message?


Thanks in advance for you answer

Sean



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

<!-- 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>
 
J

Joe

Um, that page you've cut and pasted gives you the solution to your problem -
i.e. edit your web.config file in the root directory of your application.

Joe
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top