The integrated login ID guest can only be mapped to the guest database user ID

Item Value
SQLCODE -247
Constant SQLE_INTEGRATED_LOGON_GUESTMAP
SQLSTATE 28W06
Sybase error code 13695
ODBC 2 State 28000
ODBC 3 State 28000

Probable cause 

You attempted to map the guest login ID to something other than guest