0

在一台 Win2k8R2 x64 机器中,我有一个 C# 控制台程序,它连接到远程 sql server 2008 R2 实例。我经常看到下面的异常消息

Unhandled Exception: System.Data.OleDb.OleDbException: [DBNETLIB][ConnectionWrite (send()).]General network error. Check your network documentation.
4

2 回答 2

0

It may be problem with the credentials you are supplying.

This may help you in troubleshooting the exception

http://msdn.microsoft.com/en-us/library/6y8t7kbw.aspx

于 2012-06-29T19:08:35.453 回答
0

尝试如下操作:

1)    Launch regedit.exe
2)    Add DWORD value named SynAttackProtect under registry key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\
3)    Set data value to 0

完整的解释在这里这里阅读

于 2013-01-16T09:39:02.830 回答