troubleshooting Question

SQL Server Express - Can't connect to the database

Avatar of slightlyoff
slightlyoff asked on
DatabasesMicrosoft SQL ServerVisual Basic.NETSQL
4 Comments1 Solution172 ViewsLast Modified:
I'm using VB.Net to run a program that connects to a SQL Server Express database.
My connection string is this:
Public Const LocalDB As String = "User ID=sa;Password=*******;Initial Catalog=tempOrders;Data Source=v7p\SQLEXPRESS"

Here is the error message I'm getting.  orderr_trans_error.jpg
This program has been running all day and only stopped about an hour ago.  
Nothing was changed on our system as far as we can tell - and no code was changed in the VB.Net program.

Any suggestions on things we can try?  This problem happend a couple of days ago - and after a few hours it started working.  Very odd.

I can access the database using the credentials I have using Management Studio.

Any help or suggestions you have will be appreciated!

Thank you!

Tom Cieslik
IT Superintendent
Join our community to see this answer!
Unlock 1 Answer and 4 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros