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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
LanSweeper custom report generation 3 315
database design books 12 80
SQL Update Query 23 81
Trouble connecting to SqlServer database 4 34
Introduction: I have seen many questions on EE and elsewhere, asking about how to find either gaps in lists of numbers (id field, usually) ranges of values or dates overlapping date ranges combined date ranges I thought it would be a good …
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…
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…

743 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

15 Experts available now in Live!

Get 1:1 Help Now