Posted on 2006-10-31
Last Modified: 2012-05-05
When we tryto connect to SQL server via ASP we get this error!
[DBNETLIB][ConnectionOpen (PreLoginHandshake()).]General network error. Check your network documentation.
What can cause this? I wonder.

Question by:MSAIT
  • 2

Accepted Solution

btutt earned 250 total points
ID: 17842841
This is a sockets error indicating that the SQL Server was not found on the network. I would ensure that you can connect from that machine via another utility (ODBC, OSQL) or even query analyzer for that matter if you have a SQL client installed on that machine.


Author Comment

ID: 17847916
OK thanks but how do you check the cause of the problem? When I checked the SQL Server was running.

Expert Comment

ID: 17849404
Like I just said, check initially to see if you can connect to it from any tool. Make sure you can ping the machine at least to see if there is a network layer existent.

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

I guess that all of us know that caching the data usually increase the performance, but I worried if all of us are aware about the risk that caching the data provides and how to minimize this.  That’s the reason why I decided to write this short art…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

948 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

22 Experts available now in Live!

Get 1:1 Help Now