CXX0030: Error: expression cannot be evaluated when connecting to SQL server
- From: "Tarscher" <tarscher@xxxxxxxxx>
- Date: 19 Jul 2006 06:57:50 -0700
I try to connect to a SQL database and get a 'CXX0030: Error:
expression cannot be evaluated' due to the connection->Open function.
The connection string was verified and therefore should work. I have no
real idea where the problem is situated...
I hope someone can help me out. Thanks in advance.
m_hr = connection.CreateInstance(__uuidof(ADODB::Connection));
connection->CursorLocation = ADODB::adUseClient;
Security=SSPI;Initial Catalog=testing;Data Source=.",L"", L"",
catch (_com_error &e)