.NET Error

Hi - thanks for looking.

I'm getting an error when I run my .net app and I am unsure why.

Here's the error:

Hoping that someone can help.
Who is Participating?
Daniel Van Der WerkenIndependent ConsultantCommented:
Seems simply that you can't access the database from the system you're debugging from. Is that an accurate assessment?

Have you tested your connection? Of course, using SSMS to connect is a good idea. If you have SSMS on this machine, make sure the database connection is working. Otherwise, you can test it easily with a UDL file test.

On your desktop, create a new file and name it test.udl. Double-click this file and enter in the server and database as I've shown for my own test in the image I'm attaching. Click test connection. If it works, then your database connection is good. If it fails, then you need to figure out what the issue is with the connection.
UDL Test
I can't necessarily t-shoot your database connection from here. You might need to modify your connection string or possibly figure out what's going on with the network.
Pawan KumarDatabase ExpertCommented:
Try running the application again.

Do you have any hardware update ? , You may need to rebuild the server.
SmashAndGrabAuthor Commented:
I have run it several times.
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

SmashAndGrabAuthor Commented:
Do you mean - have there been any hardware updates?    

Which server?  the ASP.NET files are on a different server to the SQL?
Pawan KumarDatabase ExpertCommented:
Yes it looks the hardware issue or the updates on the server ?

read this - https://support.microsoft.com/en-in/kb/325487 

I also got an old thread on the same <<Not sure how much relevant is this>>

Éric MoreauSenior .Net ConsultantCommented:
that sometimes happen when you have a failure in the network.
Pawan KumarDatabase ExpertCommented:
Hi SmashAndGrab,

Any feedback on this?
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.