MaxDB错误pid为空 [英] MaxDB error pid is null

查看:163
本文介绍了MaxDB错误pid为空的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨!
我有一个问题:

如果我已连接到maxdb并尝试填充适配器,则会收到错误"Parameter pid为null"
此错误:
MaxDB.Data.MaxDBException:参数pid为null.
w MaxDB.Data.MaxDBProtocol.MaxDBRequestPacket.DropParseIdAddToParseIdPart(Byte [] parseId)
w MaxDB.Data.MaxDBProtocol.GarbageParseId.EmptyCan(MaxDBRequestPacket requestPacket)
w MaxDB.Data.MaxDBProtocol.MaxDBComm.Execute(ConnectArgs connArgs,MaxDBRequestPacket requestPacket,布尔ignoreErrors,布尔isParse,对象execObj,Int32 gcFlags)
w MaxDB.Data.MaxDBCommand.Execute(Int32 afterParseAgain,CommandBehavior行为)
w MaxDB.Data.MaxDBCommand.Execute(CommandBehavior行为)
w MaxDB.Data.MaxDBCommand.ExecuteReader(CommandBehavior行为)
w MaxDB.Data.MaxDBCommand.ExecuteDbDataReader(CommandBehavior行为)
w System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior行为)
w System.Data.Common.DbDataAdapter.FillInternal(DataSet数据集,DataTable []数据表,Int32 startRecord,Int32 maxRecords,字符串srcTable,IDbCommand命令,CommandBehavior行为)
w System.Data.Common.DbDataAdapter.Fill(DataSet dataSet,Int32 startRecord,Int32 maxRecords,String srcTable,IDbCommand命令,CommandBehavior行为)
w System.Data.Common.DbDataAdapter.Fill(DataSet dataSet,String srcTable)

您能告诉我为什么会出现此错误吗?

Hi!
I have a question:

If I have connection to maxdb and I try fill the adapter I get the error "Parameter pid is null"
This error:
MaxDB.Data.MaxDBException: Parameter pid is null.
w MaxDB.Data.MaxDBProtocol.MaxDBRequestPacket.DropParseIdAddToParseIdPart(Byte[] parseId)
w MaxDB.Data.MaxDBProtocol.GarbageParseId.EmptyCan(MaxDBRequestPacket requestPacket)
w MaxDB.Data.MaxDBProtocol.MaxDBComm.Execute(ConnectArgs connArgs, MaxDBRequestPacket requestPacket, Boolean ignoreErrors, Boolean isParse, Object execObj, Int32 gcFlags)
w MaxDB.Data.MaxDBCommand.Execute(Int32 afterParseAgain, CommandBehavior behavior)
w MaxDB.Data.MaxDBCommand.Execute(CommandBehavior behavior)
w MaxDB.Data.MaxDBCommand.ExecuteReader(CommandBehavior behavior)
w MaxDB.Data.MaxDBCommand.ExecuteDbDataReader(CommandBehavior behavior)
w System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
w System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
w System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
w System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable)

Could you tell me why I get this error?

推荐答案

好吧,因为有一个参数``pid''用于选择查询,该查询为NULL.

检查参数值,看看它是否为空,避免使用它.
Well, it looks like you get this error because there is a parameter ''pid'' used in your select query that is NULL.

Check the parameter value and see if it''s null, avoid it.


否我在选择查询之前没有在选择查询中使用pid参数.
但是谢谢您的回答
No I don''t use a pid parameter in select query I checked it before I asked this question.
But thank you for your answer


这篇关于MaxDB错误pid为空的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆