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...
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.
answered 04 Jan '12, 10:48
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....
answered 04 Jan '12, 11:40