SQLExpress - Xb2.NET     ot4xb  
sqlexpress
Parameter has a wrong data type: ErrorCode
Thread Starter: Robert Tin Started: 6/21/2008 11:27 AM UTC
Replies: 1
Parameter has a wrong data type: ErrorCode

Hi,

My program work fine on most of the case, but sometime the same code will create following error and crashed. The variable ErrorCode is seem from SQLExpress. Any idea to solve this problem ?

I am using SQLExpress ++ Release: 3.2.01 with xbase++ 1.9 and xb2.net.


= Xb2.NET ERROR ==========
Date: 20080621, Time: 18:35:30
App: D:\Client\Muji\NetTR June 08\WebServer-01.exe, Thread: 12
ERROR BASE/1025
Parameter has a wrong data type: ErrorCode
Called from MYSQLERRORHANDLER(66)
Called from (B)MYDEFAULTSQLCONNECTION(208)
Called from __DISPLAYERROR(129)
Called from SQLSTATEMENT:__DISPLAYERROR(28)
Called from SQLSTATEMENT:EXECUTE(455)
Called from RECEIVEINOUTTX(547)
Called from HTTPHANDLER(2469)
Called from (B)MAIN(1348)
Called from XBHTTPTHREAD:EXECUTE(4246)

Thanks,

Robert

 

Re: Parameter has a wrong data type: ErrorCode
"Robert Tin" <robert@ricom.com.hk> wrote in
news:269a1009$70b0cabd$c4b9@news.xbwin.com:  

My program work fine on most of the case, but sometime the same code
will create following error and crashed. The variable ErrorCode is
seem from SQLExpress. Any idea to solve this problem ?  

The error is raised in your function MYSQLERRORHANDLER(66). Suggest you have a look at your function to see how you are calling the :ErrorCode property.  

Best regards,
Boris Borzic

http://xb2.net
http://sqlexpress.net
industrial strength Xbase++ development tools