473,387 Members | 1,891 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,387 software developers and data experts.

Problem while single stepping through code

RD
In the development environment I occasionaly get a message "There is no code
associated with this location" as I single step through the code using the
F8 key. Typically it occurs when I try to open a connection to my Sql server
database. The code works most of the time and it's always the same
connection string, sometimes it works and sometimes I get this message. Any
one have an idea what might be happening here.

Thanks for any help,
Bob
Nov 20 '05 #1
2 1023
Sounds like an exception is being thrown within the assembly, I used to get
that.

try wrapping a try catch around your statment and see if it drops down to
the catch clause. That should take care of it.

try
mysqlconn.open()
catch ex as exception
messagebox.show(ex.message)
end try
"RD" <no****@nospam.net> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
In the development environment I occasionaly get a message "There is no code associated with this location" as I single step through the code using the
F8 key. Typically it occurs when I try to open a connection to my Sql server database. The code works most of the time and it's always the same
connection string, sometimes it works and sometimes I get this message. Any one have an idea what might be happening here.

Thanks for any help,
Bob

Nov 20 '05 #2
I got errors like that before, it said something about debugging symbols
weren't installed. Can't remember how I fixed it either. Not much help but
it may provide you with another string to search Google with?

"CJ Taylor" <no****@blowgoats.com> wrote in message
news:vu***********@corp.supernews.com...
Sounds like an exception is being thrown within the assembly, I used to get that.

try wrapping a try catch around your statment and see if it drops down to
the catch clause. That should take care of it.

try
mysqlconn.open()
catch ex as exception
messagebox.show(ex.message)
end try
"RD" <no****@nospam.net> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
In the development environment I occasionaly get a message "There is no

code
associated with this location" as I single step through the code using the F8 key. Typically it occurs when I try to open a connection to my Sql

server
database. The code works most of the time and it's always the same
connection string, sometimes it works and sometimes I get this message.

Any
one have an idea what might be happening here.

Thanks for any help,
Bob


Nov 20 '05 #3

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

Similar topics

9
by: jblazi | last post by:
In the book "Algortims and Data Structures" by Wirth there is a program in Pascal to compute all 92 solutions of the above mentioned problem. I tried to translate his program into C++, the only...
7
by: mef526 | last post by:
I have had this problem for months now and it has been nagging me. I have a large project that has several C++ DLL's, one of them uses malloc / calloc / free for the other DLL's. I process very...
3
by: R Millman | last post by:
under ASP.NET, single stepping in debug mode appears not to stop within event procedures. i.e. 1) Create web page with submit button and event procedure for the click event in the code behind...
11
by: sunil | last post by:
Dear All, I have created a .Net service in 2.0 and running it on a machine that has a Quad Processor. It is failing with the following error. "Error 1053: The service did not respond to the start...
10
by: uartem | last post by:
Hello, this is my problem: I have a map: typedef map<string, bfdb_recordBFDB; where: typedef struct {
1
by: eblackmo | last post by:
I have a test network consisting of four servers running windows 2003 server R2 SP2. I have set up a domain which functioned correctly for about a day and a half until the other servers decided they...
5
by: Lyn | last post by:
From time to time I strike a problem where Access will suddenly shut down while running some code (Dr Watson message), wiping out any forensics (diagnostic traces such as debug.prints, etc). This...
18
by: Eric | last post by:
Ok...this seems to be treading into some really esoteric areas of c++. I will do my best to explain this issue, but I don't fully understand what is happening myself. I am hoping that the problem...
0
by: shriyer | last post by:
Hey.. , when i try single stepping through the code, after a long time, it abruptly gives the error message .." permission denied ".. ??? what is it for? If i run it without singlestep, it gives...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.