-
November 3rd, 2007, 10:12 PM
#1
oracle 10g error 24960
If i compile with visual c++ 6.0 or 2005 i get the same problem.
/////////
string user = "system";
string passwd = "xxx";
string db = "Testx";
try{
env = Environment::createEnvironment(Environment: EFAULT);
conn = env->createConnection(user,passwd,db);
}catch(SQLException ea)
{
cerr << ea.getMessage() << endl;
}
//////////
the message is "ORA-24960: the attribute OCI_ATTR_USERNAME is greater than the maximum allowable length of 255"
I have tried downloading the library's on oracle.com for the 8.0 version but the error doesn't not change. I am pretty sure that I included all of the correct directories into the project.
I also added the directory to windows PATH but then I get msvcrt80.dll missing error.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|