on 2012 Jan 04 1:44 AM
SACommand cmd = new SACommand( "SET TEMPORARY OPTION connection_authentication='Company=XXX Inc;Application=XXXX;Signature=010fa55157edb8e14z813eb4fe3db41447846f1571g6470c2dce685f48eae9e472027825d02d41gc206';", connPC); cmd.ExecuteNonQuery();
above is how I have my .net app attempting to authenticate.... I always get a -218 error..
This is pretty much identical to the example in the Sybase documentation.....
Any ideas what is wrong...
Note: The Signiture above has been changed from my actual one.... I use copy and paste to get the proper one into my application thus I am sure I do not have a typo...
Request clarification before answering.
I think this was my bad:
After going through this over again 3 times : being much more careful on the copy / paste. It appears to work. At least 3 test cases without error.
Keeping myfingers crossed....
It is definitly extreamly sensitive to being exact format........
Thanks for the feedback....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The error -218 indicates that there is some problem with the authentication string. Try the following:
If you continue to have problems, you will likely need to work with support who can review the option values in more detail.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
52 | |
10 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.