Solved

VB.net problem connecting to local machine

Posted on 2014-10-20
4
117 Views
Last Modified: 2014-10-24
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
Comment
Question by:murbro
4 Comments
 
LVL 45

Expert Comment

by:Vitor Montalvão
ID: 40391463
What's the error message?
0
 
LVL 40

Accepted Solution

by:
Jacques Bourgeois (James Burger) earned 250 total points
ID: 40391468
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
 
LVL 16

Assisted Solution

by:Kamal Khaleefa
Kamal Khaleefa earned 250 total points
ID: 40394169
ALSO MAKE SURE THE SERVICES FOR SQL ARE RUNNING FROM SERVICES
0
 

Author Closing Comment

by:murbro
ID: 40401153
Thanks
0

Featured Post

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

When you hear the word proxy, you may become apprehensive. This article will help you to understand Proxy and when it is useful. Let's talk Proxy for SQL Server. (Not in terms of Internet access.) Typically, you'll run into this type of problem w…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now