首页 新闻 搜索 专区 学院

关于mono在linux连接unixodbc的问题

0
悬赏园豆:200 [待解决问题]

连接odbc能打开,执行获取数据的时候会发生错误

 

System.EntryPointNotFoundException: LocalAlloc
  at (wrapper managed-to-native) System.Data.Common.SafeNativeMethods:LocalAlloc (int,intptr)
  at System.Data.ProviderBase.DbBuffer..ctor (Int32 initialSize, Boolean zeroBuffer) <0x403950e0 + 0x000af> in <filename unknown>:0
  at System.Data.ProviderBase.DbBuffer..ctor (Int32 initialSize) <0x403950b0 + 0x00017> in <filename unknown>:0
  at System.Data.Odbc.CNativeBuffer..ctor (Int32 initialSize) <0x40395080 + 0x00013> in <filename unknown>:0
  at System.Data.Odbc.OdbcCommand.GetStatementHandle () <0x403947f0 + 0x00107> in <filename unknown>:0
  at System.Data.Odbc.OdbcCommand.ExecuteReaderObject (CommandBehavior behavior, System.String method, Boolean needReader, System.Object[] methodArguments, SQL_API odbcApiMethod) <0x40393000 + 0x00093> in <filename unknown>:0
  at System.Data.Odbc.OdbcCommand.ExecuteReaderObject (CommandBehavior behavior, System.String method, Boolean needReader) <0x4036ee70 + 0x00067> in <filename unknown>:0
  at System.Data.Odbc.OdbcCommand.ExecuteNonQuery () <0x40392f10 + 0x00047> in <filename unknown>:0
  at TestProgram.TestProgram.Main (System.String[] args) <0x4035fd60 + 0x000d1> in <filename unknown>:0

 

 

hufengchao的主页 hufengchao | 初学一级 | 园豆:2
提问于:2016-04-27 10:59
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册