Some Exception.StackTrace Info is Omitted

  • Thread starter Thread starter RC
  • Start date Start date
R

RC

I have implemented an error logging routine in an ASP.NET Web application
that writes out the stack trace (associated with the Exception object). It
tells me the exact line(s) of code that lead up to the Exception.
Sample:
at MyApp.MyPage.Page_Load(Object sender, EventArgs e) in
c:\inetpub\wwwroot\MyApp\SubDir\MyPage.aspx.cs:line 87

The problem I'm asking for help with is this: While testing this
application, I created a copy of it - same development machine, just copied
to a different virtual directory. This manually created copy of the
application works fine except that the Stack trace is missing the [line of
code that choked] information.
Sample of what I get:
at MyApp.MyPage.Page_Load(Object sender, EventArgs e)

FWIW: the computer is Win2KPro; the original application (directory
structure, virtual directory, etc) was created with VS.NET 2003; the copy
was created manually - all same properties via the IIS admin tool except
that I didn't include the Front Page server extensions.

What can I do to get the [full path to the line of code that choked] data in
the manually created copy of the application?

Thanks!
 
Nevermind - I got it... I simply didn't copy over the updated .PDB file when
I recompiled the project and copied the new dll over.

-RC
 
Back
Top