Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

VB.net problem connecting to local machine

Posted on 2014-10-20
4
Medium Priority
?
143 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:Murray Brown
4 Comments
 
LVL 52

Expert Comment

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

Accepted Solution

by:
Jacques Bourgeois (James Burger) earned 1000 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 1000 total points
ID: 40394169
ALSO MAKE SURE THE SERVICES FOR SQL ARE RUNNING FROM SERVICES
0
 

Author Closing Comment

by:Murray Brown
ID: 40401153
Thanks
0

Featured Post

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
What if you have to shut down the entire Citrix infrastructure for hardware maintenance, software upgrades or "the unknown"? I developed this plan for "the unknown" and hope that it helps you as well. This article explains how to properly shut down …
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Via a live example, show how to shrink a transaction log file down to a reasonable size.

916 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