Click here to Skip to main content
13,502,187 members
   

ASP.NET

 
Questionobject reference not set to an instance of object [modified] Pin
HMagesh13-Nov-07 1:10
memberHMagesh13-Nov-07 1:10 
AnswerRe: object reference not set to an instance of object Pin
Michael Sync13-Nov-07 1:49
memberMichael Sync13-Nov-07 1:49 
GeneralRe: object reference not set to an instance of object Pin
HMagesh13-Nov-07 2:00
memberHMagesh13-Nov-07 2:00 
GeneralRe: object reference not set to an instance of object Pin
Michael Sync13-Nov-07 4:00
memberMichael Sync13-Nov-07 4:00 
QuestionIn XP works fine, W2000: Bad variable type! Pin
alexvw10-Nov-07 2:05
memberalexvw10-Nov-07 2:05 
AnswerRe: In XP works fine, W2000: Bad variable type! Pin
Michael Sync10-Nov-07 5:02
memberMichael Sync10-Nov-07 5:02 
GeneralRe: In XP works fine, W2000: Bad variable type! Pin
alexvw10-Nov-07 15:00
memberalexvw10-Nov-07 15:00 
GeneralRe: In XP works fine, W2000: Bad variable type! Pin
Michael Sync10-Nov-07 19:52
memberMichael Sync10-Nov-07 19:52 
alexvw wrote:
Cmd.Parameters.Append(Cmd.CreateParameter("TransId", ADODB.DataTypeEnum.adBigInt, 1, , iTransId)) '<-the error happens here


Here are some possibilites that I suggest you to try..

1. What about trying to convert the variable "iTransId" to double explicitly??

eg:

Cmd.Parameters.Append(Cmd.CreateParameter("TransId", ADODB.DataTypeEnum.adBigInt, 1, , CDbl(iTransId)))

or

Cmd.Parameters.Append(Cmd.CreateParameter("TransId", ADODB.DataTypeEnum.adBigInt, 1, , CLng(iTransId)))

2. Why don't you set nothing for size parameter?? What about if you set something??

e.g.

Cmd.Parameters.Append(Cmd.CreateParameter("TransId", ADODB.DataTypeEnum.adBigInt, 1, 20 , iTransId))

3. If The two possibilities above can't solve your problem, you should probably try to convert those ADODB code to ADO.NET...

hope it helps.. Smile | :) let me know the result after trying those possibilities...

Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)

GeneralRe: In XP works fine, W2000: Bad variable type! Pin
alexvw10-Nov-07 23:25
memberalexvw10-Nov-07 23:25 
GeneralRe: In XP works fine, W2000: Bad variable type! Pin
Michael Sync11-Nov-07 0:08
memberMichael Sync11-Nov-07 0:08 
Questionnamespace not found --Microsoft.Office.Interop.Excel.ApplicationClass Pin
G.K.M.8-Nov-07 15:18
memberG.K.M.8-Nov-07 15:18 
AnswerRe: namespace not found --Microsoft.Office.Interop.Excel.ApplicationClass Pin
Sri_34648-Nov-07 19:06
memberSri_34648-Nov-07 19:06 
QuestionHow to overlap the controls in ASP.NET2.0 Pin
ASP.NET 2.05-Nov-07 19:16
memberASP.NET 2.05-Nov-07 19:16 
AnswerRe: How to overlap the controls in ASP.NET2.0 Pin
N a v a n e e t h5-Nov-07 19:21
memberN a v a n e e t h5-Nov-07 19:21 
GeneralRe: How to overlap the controls in ASP.NET2.0 Pin
ASP.NET 2.05-Nov-07 19:22
memberASP.NET 2.05-Nov-07 19:22 
GeneralRe: How to overlap the controls in ASP.NET2.0 Pin
ASP.NET 2.05-Nov-07 19:47
memberASP.NET 2.05-Nov-07 19:47 
GeneralRe: Please help Pin
ASP.NET 2.05-Nov-07 20:25
memberASP.NET 2.05-Nov-07 20:25 
AnswerRe: How to overlap the controls in ASP.NET2.0 Pin
Sonia Gupta5-Nov-07 19:40
memberSonia Gupta5-Nov-07 19:40 
QuestionImage Into Oracle!!!! Pin
push19884-Nov-07 0:05
memberpush19884-Nov-07 0:05 
AnswerRe: Image Into Oracle!!!! Pin
enjoycrack4-Nov-07 3:38
memberenjoycrack4-Nov-07 3:38 
GeneralRe: Image Into Oracle!!!! Pin
push19884-Nov-07 18:13
memberpush19884-Nov-07 18:13 
QuestionAJAX xmlhttp.status==500 Pin
Puneet Narang31-Oct-07 19:26
memberPuneet Narang31-Oct-07 19:26 
AnswerRe: AJAX xmlhttp.status==500 Pin
Vasudevan Deepak Kumar31-Oct-07 20:15
memberVasudevan Deepak Kumar31-Oct-07 20:15 
GeneralRe: AJAX xmlhttp.status==500 Pin
Puneet Narang31-Oct-07 20:45
memberPuneet Narang31-Oct-07 20:45 
QuestionServer did not recognize the value of HTTP Header SOAPAction: http:// Pin
Pavan_pareta31-Oct-07 2:37
memberPavan_pareta31-Oct-07 2:37 

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.


Advertise | Privacy |
Web02 | 2.8.180417.1 | Last Updated 19 Apr 2018
Copyright © CodeProject, 1999-2018
All Rights Reserved. Terms of Service
Layout: fixed | fluid