Microsoft OLE DB Provider for ODBC Drivers error '80004005'

[Microsoft][ODBC SQL Server Driver][SQL Server]Cannot open database "IVStock" requested by the login. The login failed.

/scripts/ivstock/pic.asp, line 280