2014-11-05 1 views
0

필자는 의심의 여지가있는 해결책을 찾고 있었지만 필자의 경우에는 문제가되지 않는 설치 문제보다 관련성이 높은 것을 찾지 못했습니다.오프라인 큐브 (.cub) 파일에 연결하는 중 오류가 발생했습니다.

내가 로컬 큐브를 생성 (this 유사) C# 프로젝트를 실행하기 위해 노력하고는 (.cub) 분석 서비스 2012

프로젝트의 기존 처리 큐브에서 가져온 파일 및 프로세스 데이터가 올바르게 때 실행 Analysis Services의 다른 데이터베이스를 가리키는 출력 큐브에 연결 문자열을 사용합니다. 그러나 생성 될 로컬 큐브 파일을 가리키는 다음 연결 문자열을 사용하여 프로젝트를 실행하면 참조 된 ADOMD 라이브러리의 버전에 따라 오류가 발생합니다.

conn.ConnectionString = 
string.Format("Provider=MSOLAP;Data Source={0}", "c:\\output\\mycube.cub"); 

ADOMD (11) 라이브러리에 참조 할 때, 나는 다음과 같은 오류를 얻을 :

  1. OLE DB error: OLE DB or ODBC error: A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online.; 08001; Client unable to establish connection; 08001; Encryption not supported on the client.; 08001.

  2. Errors in the high-level relational engine. A connection could not be made to the data source with the DataSourceID of 'DB_NAME', Name of 'DB_NAME'.

ADOMD (12) 라이브러리에 참조 할 때, 나는 다음과 같은 오류 얻을 : 비록

A connection cannot be made. Ensure that the server is running.

를 I services.msc를 체크인하면 SQL Server Analysis Services가 실행 중임을 알 수 있습니다.

답변

1

알아 냈어. 어셈블리에 대한 참조가 누락되었습니다. Microsoft.AnalysisServices.dll

관련 문제