C#,SqlConnection出错Unable to find an entry point
public void run()
{
string conn_str = "server=MSSQLSERVER01;uid=sunny;pwd=sunnyhoney";
sqlconn = new SqlConnection(conn_str);
sqlconn.Open();
}
sqlconn是SqlConnection类,报了个System.EntryPointNotFoundException:“Unable to find an entry point named 'PAL_LocalAlloc' in DLL 'dbnetlib.dll'.”的错在sqlconn.Open()
SqlClient类是添加引用放进去的,原本没有,是不是有什么东西没装完整