473,320 Members | 2,098 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.

Debug Problem - There is no source code available for the current location

While debugging my VB.NET application, I get to a certain point and get an error message pop up saying:

There is no source code available for the current location

I have searched the MS Knowledge base and found the article 318367 (http://support.microsoft.com/default...b;en-us;318367) which refers to this problem and suggests making a change to the registry key HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio \7.0.

I have completed this change (even though I am using VS.Net 2003, which according to MS, this bug has been fixed).

However I am STILL getting this problem.

Has anyone else experienced this?
Any idea's as to what I can do to correct this?
Any help would be VERY gratefully appreciated

Nov 20 '05 #1
2 11434
Richard schrieb:
While debugging my VB.NET application, I get to a certain point and get an error message pop up saying:

There is no source code available for the current location
Post the complete exception text.
I have searched the MS Knowledge base and found the article 318367 (http://support.microsoft.com/default...b;en-us;318367) which refers to this problem and suggests making a change to the registry key HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio \7.0.

I have completed this change (even though I am using VS.Net 2003, which according to MS, this bug has been fixed).

However I am STILL getting this problem.

Has anyone else experienced this?


When using a library without having its source code (like
"System.Windows.Forms.dll") you cannot show the source code if the
exception occurs in one of its classes/methods.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #2
> Has anyone else experienced this?

Are you using a module or Sub Main to start your application? If so, there
may be an error in an event that occured during the next form that arrived.
IN my experience this is when this error occured.
Nov 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: aaj | last post by:
Hi all I have written a small app on my machine that I have passed on to a colleague for testing. The problem is, as soon as he steps through in debug mode and reaches try { conn.Open();...
4
by: VicVic | last post by:
Dear Great Experts, I have a problem and need your help! We have a Flat DLL built in C++ (CCC), and on top of it, we built another DLL built in C# (SSS), which has .Net Assembly. CCC was...
8
by: Lars-Erik Aabech | last post by:
Hi! I've got an asp.net page that works for all users except one and that one user only gets the error with a certain parameter set to a certain value. (Same value as the others, but for this...
4
by: MrDotNet | last post by:
Hi I need help to debug the code in Dll I have myCom.dll and myCom.pdb files but I canot debug myCom.dll. Thanks -- -MrDotNet MCAD, MCSD Sr. Software Engineer / Lead Architect
2
by: Michael | last post by:
Running DB2 v7 UDB ("DB2 v7.1.0.93", "n031208" and "WR21333") on Windows XP, I am unable to find out why the "Build for Debug" option within Stored Procedure Builder is not enabled on Java stored...
1
by: devmentee | last post by:
Hi, I have built a DLL in C++ (unamanged) and written a client app, also in C++, to test it. I set my DLL project as "start up" project and have specified the EXE etc...My client app (exe)...
7
by: Martin Horst | last post by:
Hi, in VS 2003 I had no problem to debug into a dll with an existing pdb file. In VS 2005 and also in VS 2008 I'm not able to debug into the source code of the dll. If I try so an explorer...
1
by: Rene | last post by:
Hi, Given the following code: static void Main(string args) { Debug.Assert(false, "Oopsy"); } If I run the code above using a computer running Visual Studio 2005, I get
5
by: Warren Tang | last post by:
Hi I am trying to debug the code generated for aspx files. The following assembly is generated for an aspx page: ...
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...
1
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: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
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: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.