Loading

파일 기반 게시된 데이터 원본에 연결하면 "java.util.concurrent.ExecutionException" 또는 "Unable to connect to the file"(파일에 연결할 수 없음) 오류 발생

게시 일자: Apr 4, 2024
상세 설명
Tableau Server에서 파일 기반 데이터 원본에 연결을 시도할 때 연결에 실패하고 서버에 권한이 없을 수 있다는 오류가 표시됩니다.  추출 새로 고침을 시도하거나 기초 데이터가 있는 통합 문서를 보려고 하면 다음 오류 중 하나가 표시될 수 있습니다.
  • java.util.concurrent.ExecutionException: com.tableausoftware.nativeapi.dll.DataSourceException: Invalid database name value(java.util.concurrent.ExecutionException: com.tableausoftware.nativeapi.dll.DataSourceException: 잘못된 데이터베이스 이름 값)
  • Unable to connect to the file "C:\ProgramData\Tableau\Tableau Server\data\tabsvc\temp\TableauTemp\...".("C:\ProgramData\Tableau\Tableau Server\data\tabsvc\temp\TableauTemp\..." 파일에 연결할 수 없습니다.)  Check that the file exists and that you have sufficient access privileges for it.(excp-msg : "\\shared folder\tableau\XXXXX\fileName.xlsx" 파일에 연결할 수 없습니다. 파일이 있고 해당 파일에 액세스할 권한이 있는지 확인합니다.)

Cause

native_api.allowed_paths가 "*"가 아닌 다른 값으로 설정된 경우 Tableau Server는 특정 위치의 파일 기반 데이터 원본만 허용합니다.
솔루션
native_api.allowed_paths에 대한 구성을 확인합니다.
Tableau Server를 실행하는 컴퓨터에서 관리자로 명령 프롬프트를 열고 Tableau Server bin 폴더로 이동합니다. 이 폴더는 기본적으로 C:\Program Files\Tableau\Tableau Server\<version>\bin에 위치합니다. 
다음 명령을 입력합니다. 
tabadmin get native_api.allowed_paths
 
반환된 값이 기본값("*")이 아닌 다른 값인 경우 Tableau Server는 특정 위치의 파일 기반 데이터 원본만 허용합니다. 기본값으로 다시 설정하거나 세미콜론(;)으로 구분된 특정 위치를 추가하여 새 위치를 사용할 수 있도록 합니다.

설정을 기본값으로 되돌리려면 다음과 같이 합니다. 
Tableau Server를 실행하는 컴퓨터에서 관리자로 명령 프롬프트를 열고 Tableau Server bin 폴더로 이동합니다. 이 폴더는 기본적으로 C:\Program Files\Tableau\Tableau Server\<version>\bin에 위치합니다. 
다음 명령을 입력합니다.

tabadmin stop
tabadmin set native_api.allowed_paths -d
tabadmin configure
tabadmin start





 
Knowledge 기사 번호

001472938

 
로드 중
Salesforce Help | Article