Microsoft SQL Server Native Client 11.0 error '80004005'
Unable to access availability database 'resi' because the database replica is not in the PRIMARY or SECONDARY role. Connections to an availability database is permitted only when the database replica is in the PRIMARY or SECONDARY role. Try the operation again later.
/RESIinc/Include.asp, line 273