开发者

ora 24960 error came when connecting to oracle 10g in c++ using occi

Hi i tried to connect oracle 10g in c++ using occi, the environment was created successfully, but when trying to create a connection

ora 24960 came and it said that the attribute OCI_ATTR_USERNAME is greater than the maximum allowable length of 255

I am very new to c开发者_开发技巧++ and occi so please help me in that issue

Thanks in advance


"Are you using Instant Client by chance? I believe there are some issues when using Instant Client due to the oraocci10d.lib not being shipped as part of the Instant Client package. I just checked my 11g Instant Client directory and the oraocci11d.lib file is not included so I think it is missing from 10g as well."

Quoted from here: Oracle forum

If above doesn't help, could you please post some code that reproduces this error on your system? What are your connections setting (tnsnames.ora)?

Kind regards

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜