• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 146
  • Last Modified:

VB.net problem connecting to local machine

Hi
I am having a problem connecting to my local SQL from VB.net.
The problem is intermittent and often goes away when I restart my machine.
If I look at my processes in the image below, what can I stop to connect to SQL again.
I am not familiar with these process names and have only been using SQL management studio
for about a year.
Is there anything else that I can do?
Thanks

1
0
Murray Brown
Asked:
Murray Brown
2 Solutions
 
Vitor MontalvãoMSSQL Senior EngineerCommented:
What's the error message?
0
 
Jacques Bourgeois (James Burger)PresidentCommented:
The problem probably comes from your code, so that is where I would look first. You might be starting transactions without committing them. You might be opening connections without closing them. I you could explain what you mean by "having a problem connecting ", we would be in a better place to help you.

Stopping an restarting services is not a good thing to do with SQL Server. There are more than the ones you show here. You are better to restart the computer, so that SQL Server can do the proper cleanup before closing, and restart in the proper sequence afterward.
0
 
Kamal KhaleefaInformation Security SpecialistCommented:
ALSO MAKE SURE THE SERVICES FOR SQL ARE RUNNING FROM SERVICES
0
 
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAuthor Commented:
Thanks
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now