471,325 Members | 1,452 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,325 software developers and data experts.

ERROR: There is no source code available for the current location.

I'm developing in VB.NET 2002 on Windows 2000 SP4.

When I'm running my application in the design environment, it generates an error at one point that says: "There is no source code available for the current location."

If I click OK, it still runs the code, but it will not allow me to run it in break mode after that point, even if I put a Stop statement in the code. It ignores the Stop statement.

It was originally running into this error at a line which executes a 3rd party COM method. Mut the the problem migrated to an earlier line, where it's working only with intrinic VB.NET objects.

Could it be multi-threading perhaps, even though my program is not set up nor intended for multi-threading? Is there a solution for this problem? Thanks.

Jul 21 '05 #1
1 3589
We can say: there is the .Net error handle bug. But, the bug comes from your
incorrect code.
How to fix:
case 1: Checking TextWriter, TextRead, FileStream, ... has been closed
before you want to re-open the same file.
case 2: Verifying Data connection
case ...

"Phil Galey" wrote:
I'm developing in VB.NET 2002 on Windows 2000 SP4.

When I'm running my application in the design environment, it generates an error at one point that says: "There is no source code available for the current location."

If I click OK, it still runs the code, but it will not allow me to run it in break mode after that point, even if I put a Stop statement in the code. It ignores the Stop statement.

It was originally running into this error at a line which executes a 3rd party COM method. Mut the the problem migrated to an earlier line, where it's working only with intrinic VB.NET objects.

Could it be multi-threading perhaps, even though my program is not set up nor intended for multi-threading? Is there a solution for this problem? Thanks

Jul 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

67 posts views Thread by Steven T. Hatton | last post: by
reply views Thread by Adam Getchell | last post: by
8 posts views Thread by Doug Bell | last post: by
2 posts views Thread by sunnyko | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.