P
Pavils Jurjans
Hello,
I have to debug an ASP.NET project which is hosted on the remote server, and
it is not possible to achieve the same environment on localhost. So, I need
to debug on the remote site. Problem with the remote is, that when runtime
error occours, I nicely get the error description, stack trace, but under
the "source error" subheading, instead of the source code with line numbers
and code fragment, I see text "An unhandled exception was generated during
the execution of the current web request. Information regarding the origin
and location of the exception can be identified using the exception stack
trace below."
Is there any way to get the source code fragment on the remote location? I
have put in the "<customErrors mode="Off"/>" section in my web.config file,
perhaps there is some other setting to enable the code fragment? I have
copied both the "pdb" and "cs" files of the codebehind library, where the
error occours. My wild guess is that maybe the ASP.NET process does not have
rights to read the CS file? Though it's kind of unlikely, because it has to
fetch the dlls from there anyway...
Thank you for any clues,
Pavils
I have to debug an ASP.NET project which is hosted on the remote server, and
it is not possible to achieve the same environment on localhost. So, I need
to debug on the remote site. Problem with the remote is, that when runtime
error occours, I nicely get the error description, stack trace, but under
the "source error" subheading, instead of the source code with line numbers
and code fragment, I see text "An unhandled exception was generated during
the execution of the current web request. Information regarding the origin
and location of the exception can be identified using the exception stack
trace below."
Is there any way to get the source code fragment on the remote location? I
have put in the "<customErrors mode="Off"/>" section in my web.config file,
perhaps there is some other setting to enable the code fragment? I have
copied both the "pdb" and "cs" files of the codebehind library, where the
error occours. My wild guess is that maybe the ASP.NET process does not have
rights to read the CS file? Though it's kind of unlikely, because it has to
fetch the dlls from there anyway...
Thank you for any clues,
Pavils