Solved

VB.net problem connecting to local machine

Posted on 2014-10-20
4
123 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 49

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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
push and Pull replication 31 46
Many to one in one row 2 38
UPDATE JOIN multiple tables 5 19
Using datetime as triggers 2 18
JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Viewers will learn how the fundamental information of how to create a table.

756 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