FIX: Using an IP Address for OLAP Data Source Connection Property Causes Error

This article was previously published under Q243093
This article has been archived. It is offered "as is" and will no longer be updated.
When making a connection to an OLAP data source and specifying an IP address for the Data Source property in an ADO or ADO*MD connection string, the following error occurs:
Microsoft(r) OLE DB Provider for OLAP Services error '80004005' Cannot connect to cube file, 'IP address' , file may be in use.
The OLAP provider is not properly resolving the IP address; instead, it expects the server name to be specified. OLAP handles the Data Source name with a dot in it as a file name, rather than an IP address.
If possible, use the computer name instead of the IP address.

One workaround for this problem is to edit the %Systemroot%\System32\Drivers\Etc\Hosts file and manually add an entry for the specified IP address and the corresponding host name.
Microsoft has confirmed this to be a problem in SQL Server 7.0. This problem has been corrected in U.S. Service Pack 2 for Microsoft SQL Server 7.0. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
254561 INF: How to Obtain Service Pack 2 for Microsoft SQL Server 7.0 and Microsoft Data Engine (MSDE) 1.0
For more information, contact your primary support provider.
To reproduce the error, run the following code and use a valid IP address for the Data Source:
set cn = Server.CreateObject ("ADOdb.Connection")cn.Open "Data Source=<ipaddress goes here>;Initial Catalog=FoodMart;Provider=msolap;"				
This functionality is documented in the OLAP Books Online topic, as follows:
Name of the server computer or local cube file.
This property's name, which is used in the connection string, is Data Source.The property's value depends on the intended operation mode: To work with an OLAP server, specify the name of the server computer, or LOCALHOST, or LOCAL, or an IP address.

Article ID: 243093 - Last Review: 02/28/2014 00:28:46 - Revision: 5.1

Microsoft SQL Server 7.0 Standard Edition, Microsoft SQL Server OLAP Services

  • kbnosurvey kbarchive kbbug kbfix KB243093
ERROR: at System.Diagnostics.Process.Kill() at Microsoft.Support.SEOInfrastructureService.PhantomJS.PhantomJSRunner.WaitForExit(Process process, Int32 waitTime, StringBuilder dataBuilder, Boolean isTotalProcessTimeout)