Click here to Skip to main content
15,888,351 members
Please Sign up or sign in to vote.
2.67/5 (3 votes)
See more:
I have a program that get/update data in sql server(as my database).
Whenever i run my looping in my program before it will done, the error message will pop out that says: "Connection Failure" that will stop my program from processing.

Can somebody share any suggestion regarding this type of bug in my application.
How can i solve or avoid the process to come to this kind of error.???

Any suggestion will be appreciated..

Thanks..
Posted
Comments
Sridhar Patnayak 3-Feb-12 6:46am    
Not clear, Which loop, and what it's doing? please provide little bit or code. Otherwise it is difficult to answer
uspatel 3-Feb-12 6:46am    
share code.....
ZurdoDev 3-Feb-12 8:11am    
Need to see code but you probably just need to add breakpoints and step through your code until you find what is happening.
Simon_Whale 3-Feb-12 12:04pm    
guessing I would say your code closes the connection while in the loop. To help more please post the code that is causing the error
[no name] 3-Feb-12 17:38pm    
this seems right..

1 solution

No-one who doesn't hate themself, still uses VB6. That is why you will struggle for help. It would help you to post code, otherwise, you have no real chance, IMO.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900