Article ID: 283860 - Last Review: November 30, 2007 - Revision: 4.2 FIX: "Cannot Open Database Requested" Error Connecting to Remote SQL ServerThis article was previously published under Q283860 On This PageSYMPTOMS
With the Microsoft OLE DB provider for SQL Server (SQLOLEDB), if you try to access a database on a remote SQL Server that doesn't exist on a local SQL Server, the following error may occur:
Cannot open database requested in login 'database name'. Login fails
RESOLUTION
This bug has been fixed in the MDAC version 2.6 Service Pack 1.
WORKAROUND
To work around this error, you can use the SQL Server Client Network utility (Cliconfg.exe) to set up an alias that uses TCP/IP instead of Named Pipes to connect to the server.
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Microsoft Data Access Components 2.6 Service Pack 1. MORE INFORMATIONSteps to Reproduce BehaviorNOTE: To reproduce the problem, you will need a local computer with Windows NT 4.0, MDAC 2.6, and SQL Server 7.0, and you will also need a remote SQL Server 7.0.
| Article Translations
|
Back to the top
