Hi!
My C++ programm that use ADO to access SQL Server 2005 Express do not work in Windows Vista. Programm code works in Windows XP, but fails in Vista.
_bstr_t strCnn = L"Provider = 'SQLNCLI'; Data Source='\SERVERSQL';Uid=sa;Pwd=devel; ";
ADODB::_CommandPtr _command;
TESTHR(_command.CreateInstance(__uuidof(ADODB::Command)));
_command->PutActiveConnection(strCnn);
Error:
Unhandled exception in test.exe (secur32.dll) 0xC0000005. Access Violation.
Help Me please.
cmd-connection
C:\>OSQL.exe /S USER123-VISTA\\SERVERSQL /U sa /P devel /i c:\\test\1.sql
error
[SQL Native Client]Client unable to establish connection due to prelogin
failure
ok , thanks
in command line run
|||
Help
not work in Vista!
My C++ programm that use ADO to access SQL Server 2005 Express do not work in Windows Vista. Programm code works in Windows XP, but fails in Vista.
_bstr_t strCnn = L"Provider = 'SQLNCLI'; Data Source='\SERVERSQL';Uid=sa;Pwd=devel; ";
ADODB::_CommandPtr _command;
TESTHR(_command.CreateInstance(__uuidof(ADODB::Command)));
_command->PutActiveConnection(strCnn);
Error:
Unhandled exception in test.exe (secur32.dll) 0xC0000005. Access Violation.
Help Me please.
The similar problem
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1517814&SiteID=1
I has not understood the decision
No comments:
Post a Comment