weird error - "There is no source code available for the current location"

  • Thread starter Thread starter Joe Helmick
  • Start date Start date
J

Joe Helmick

This weird error started showing up as I was developing an email-enabled
program. Once it occurs, I cannot set breakpoints in my code. Quitting Visual
Studio does not help, nor does restarting my machine.

In desperation, I reinstalled the .NET framework 1.1 this morning, and the error
didn't occur on the first few test runs of my program; I was getting happier.
But then it started happening again!

I cannot figure out how to make it go away, and am desperate for a solution.

When I trace into this code, the error occurs when executing the line of code
that declares and initializes tcp1:

Private Class clsPOP3Mail
Private netStream As System.Net.Sockets.NetworkStream
Private tcp1 As New System.Net.Sockets.TcpClient()
....

All I'm doing with that line of code is declaring and instantiating an object; I
don't understand what the error message has to do with anything. The Microsoft
help topic on this message is, of course, completely useless in eliminating this
behavior.

Can anyone help?

Joe
 
You can't step/break into the .Net framework (with source because there is
no sorce code available for it) If its blowing up in a .net framework
function I'd expect that'd be the message you'd get.


Fergus Simpson said:
You sure you're not in release mode?

**********************************************************************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP &
ASP.NET resources...
 
Back
Top