473,320 Members | 2,048 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 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 3695
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

67
by: Steven T. Hatton | last post by:
Some people have suggested the desire for code completion and refined edit-time error detection are an indication of incompetence on the part of the programmer who wants such features. ...
2
by: Janna Deegan | last post by:
Hello all, First off, if there is a better place to post for an answer to this question, please feel free to point me there. I have some very strange behavior happening with my System.web.mail...
8
by: Razak | last post by:
Hi, I have a class which basically do Impersonation in my web application. From MS KB sample:- ++++++++++++++++++++code starts Dim impersonationContext As...
0
by: Adam Getchell | last post by:
I'm attempting to write a custom Authentication module using http://www.15seconds.com/Issue/020417.htm I looked at http://support.microsoft.com/default.aspx?scid=kb;EN-US;307996, but it doesn't...
8
by: Doug Bell | last post by:
Hi, I have been debugging a new VB.Net Application and today, I have been getting an error that I have not seen before This error is now appearing on a line with the following code: lnGUID =...
1
by: Phil Galey | last post by:
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...
2
by: sunnyko | last post by:
Dear all I am using asp.net in a Small Business Server to send email out ! The programe work fine in XP but show the following error in Small Business Server. I don't know why.... Sunny ...
0
by: shahiz | last post by:
This the error i get when i try to run my program Error: Unable to realize com.sun.media.amovie.AMController@18b81e3 Basically i have a mediapanel class that initialize and play the media as...
2
by: bhappy | last post by:
Hai All, Im developing project using 3-tire architecture,im adding references of library and business logic files to main application, If i change any code in library file or blogic file it is...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.