Cannot connect to mirror server. Use server name '%1' to find the primary server

Error constant SQLE_CONNECTED_TO_MIRROR_SERVER
ODBC 2 State 08001
ODBC 3 State 08001
Parameter 1 The server name for the mirroring system.
Severity 11
SQLCODE –1039
SQLSTATE 08W91
Sybase error code 13472
Probable cause

You have attempted to connect to the mirror server in a mirroring system. You should change your connection string or DSN to use the server name for the mirroring system.