I have a SYBASE ASE 15 server that I'm attempting to connect to remotely. The user I'm attempting to login as has a login trigger configured that sets a couple of the sso and sa roles. I can login locally with the user and everything works fine. I'm able to do everything I need to as the user.
Logging in remotely is another story. I get the same errors as above, but any query after logging in results in the following error:
Execution of login script '' failed with last error = 3606. See server errorlog for details.
If I look at the error log on the server, it does have that error, which is an arithmetic overflow. Does anyone have any ideas why a login would throw an arithmetic overflow? I'm fairly convinced it doesn't have anything to do with the login script at this point, but I'm still not entirely sure.