Click here to Skip to main content
15,893,622 members
Home / Discussions / Database
   

Database

 
GeneralRe: Rename a table Pin
RichardGrimmer26-Apr-04 3:58
RichardGrimmer26-Apr-04 3:58 
GeneralOracle Dbase By c# Pin
unitecsoft21-Apr-04 22:43
unitecsoft21-Apr-04 22:43 
GeneralRe: Oracle Dbase By c# Pin
Chris Meech22-Apr-04 4:42
Chris Meech22-Apr-04 4:42 
GeneralRe: Oracle Dbase By c# Pin
unitecsoft23-Apr-04 21:29
unitecsoft23-Apr-04 21:29 
GeneralRe: Oracle Dbase By c# Pin
Chris Meech26-Apr-04 2:13
Chris Meech26-Apr-04 2:13 
GeneralRe: Oracle Dbase By c# Pin
unitecsoft28-Apr-04 8:08
unitecsoft28-Apr-04 8:08 
GeneralRe: Oracle Dbase By c# Pin
Chris Meech28-Apr-04 8:27
Chris Meech28-Apr-04 8:27 
Generaldbgdel.cpp _BLOCK_TYPE_IS_VALID Pin
dotbomb21-Apr-04 11:23
dotbomb21-Apr-04 11:23 
This is a wierd one, 'cuz it was working just fine yesterday, and I think it has to do with _bstr_t conversions, but ....

The text in subject is that which is shown in a debug assertion error message box displayed when the m_pConn->Open(...) method shown below is called. When this line of code is executed, I am converting a CString (connectionString) to a _bstr_t. The full text of the error message is "Debug Assertion Failed! dbgdel.cpp Line: 52 _BLOCK_TYPE_IS_VALID". Can anyone shed some light on this error?

_bstr_t tablesNames;
_ConnectionPtr m_pConn;
m_pConn.CreateInstance (__uuidof(Connection));
CString connectionString;
if (usingAccess_1)
connectionString = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source = " + accessDBPath2;
else
connectionString = "Provider=SQLOLEDB;Data Source=" + mvwin32SQLsrvName + ",1433;Network Library=DBMSSOCN;Initial Catalog=" + mvwin32SQLsrvDB + ";" + "Trusted_Connection=Yes;";

m_pConn->Open( _bstr_t( connectionString ), _bstr_t( "" ), _bstr_t( "" ), adConnectUnspecified );

-dotBomb
QuestionCREATE FUNCTION in SQL Server Version 7? Pin
-Dr_X-21-Apr-04 7:26
-Dr_X-21-Apr-04 7:26 
AnswerRe: CREATE FUNCTION in SQL Server Version 7? Pin
Jeff Varszegi21-Apr-04 7:33
professionalJeff Varszegi21-Apr-04 7:33 
GeneralRe: CREATE FUNCTION in SQL Server Version 7? Pin
-Dr_X-21-Apr-04 7:51
-Dr_X-21-Apr-04 7:51 
GeneralRe: CREATE FUNCTION in SQL Server Version 7? Pin
Jeff Varszegi21-Apr-04 7:57
professionalJeff Varszegi21-Apr-04 7:57 
GeneralRe: CREATE FUNCTION in SQL Server Version 7? Pin
-Dr_X-21-Apr-04 18:40
-Dr_X-21-Apr-04 18:40 
GeneralRe: CREATE FUNCTION in SQL Server Version 7? Pin
Jeff Varszegi22-Apr-04 10:51
professionalJeff Varszegi22-Apr-04 10:51 
GeneralRe: CREATE FUNCTION in SQL Server Version 7? Pin
Sylvain-Marc Girard27-Apr-04 7:51
sussSylvain-Marc Girard27-Apr-04 7:51 
General1002 (AFX_SQL_ERROR_RECORDSET_FORWARD_ONLY)) Error When opening Recordset Pin
petecg21-Apr-04 6:01
petecg21-Apr-04 6:01 
GeneralSql server CE newbie Pin
Lvca21-Apr-04 2:37
Lvca21-Apr-04 2:37 
Generalproblem use ado with stored procedure Pin
Satervalley20-Apr-04 23:10
Satervalley20-Apr-04 23:10 
GeneralGet value of newid() function of SQLsrv2k from ASP Pin
_skidrow_vn_20-Apr-04 22:16
_skidrow_vn_20-Apr-04 22:16 
GeneralRe: Get value of newid() function of SQLsrv2k from ASP Pin
-Dr_X-21-Apr-04 19:53
-Dr_X-21-Apr-04 19:53 
GeneralJoin Pin
Robert197420-Apr-04 8:10
Robert197420-Apr-04 8:10 
GeneralRe: Join Pin
-Dr_X-20-Apr-04 9:47
-Dr_X-20-Apr-04 9:47 
GeneralRe: Join Pin
Robert197420-Apr-04 10:19
Robert197420-Apr-04 10:19 
GeneralCorrection Pin
Jeff Varszegi21-Apr-04 7:38
professionalJeff Varszegi21-Apr-04 7:38 
GeneralSQL statement execution plan (SQL Server 2000) Pin
Xiangyang Liu 刘向阳20-Apr-04 4:35
Xiangyang Liu 刘向阳20-Apr-04 4:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.