2014-09-21 1 views
1

Spotfire 정보 디자이너에서 정보 링크를 만들고이 오류가 계속 발생하려고합니다. 데이터베이스뿐만 아니라 유효성이 검사 된 열에 액세스 할 수 있습니다. 어떤 도움이라도 대단히 감사합니다.Spotfire에서 정보 링크를 만들 수 없습니다.

` Error message: Could not open information link. 

    TargetInvocationException at Spotfire.Dxp.Framework: 
    Exception has been thrown by the target of an invocation. (HRESULT: 80131604) 

Stack Trace: 
    at Spotfire.Dxp.Framework.ApplicationModel.ProgressService.ExecuteWithProgress(String title, String description, ProgressOperation operation) 
    at Spotfire.Dxp.Forms.Data.InformationDesigner.DesignerFormController.ExecuteInformationLink(CachedInformationLinkElement informationLink) 


ImportException at Spotfire.Dxp.Data: 
Failed to execute data source query. (HRESULT: 80131500) 

Stack Trace: 
    at Spotfire.Dxp.Data.DataSourceConnection.ExecuteQuery2() 
    at Spotfire.Dxp.Data.DataFlow.Execute() 
    at Spotfire.Dxp.Data.DataFlow.DataFlowConnection.ExecuteQueryCore2() 
    at Spotfire.Dxp.Data.DataSourceConnection.ExecuteQuery2() 
    at Spotfire.Dxp.Data.Producers.SourceColumnProducer.<>c__DisplayClass11.<GetColumnsAndProperties>b__e() 
    at Spotfire.Dxp.Framework.ApplicationModel.Progress.ExecuteSubtask(String title, ProgressOperation operation) 
    at Spotfire.Dxp.Data.Producers.SourceColumnProducer.GetColumnsAndProperties(DataSourceConnection connection) 
    at Spotfire.Dxp.Data.Persistence.DataItem.PerformUpdate(SourceColumnProducer producer, DataSourceConnection connection) 
    at Spotfire.Dxp.Data.Persistence.DataItem.Update(SourceColumnProducer producer, DataSourceConnection connection) 
    at Spotfire.Dxp.Data.Persistence.DataPool.<LoadData>d__1.MoveNext() 
    at Spotfire.Dxp.Data.Producers.SourceColumnProducer.ConfigureAndLoadData() 
    at Spotfire.Dxp.Framework.DocumentModel.Node.ConfigureSubTree() 
    at Spotfire.Dxp.Framework.DocumentModel.Node.<ConfigureSubTree>b__10(Node node) 
    at Spotfire.Dxp.Framework.DocumentModel.Node.ConfigureSubTree() 
    at Spotfire.Dxp.Framework.DocumentModel.Node.<ConfigureSubTree>b__10(Node node) 
    at Spotfire.Dxp.Framework.DocumentModel.Node.ConfigureSubTree() 
    at Spotfire.Dxp.Framework.DocumentModel.Node.<ConfigureSubTree>b__10(Node node) 
    at Spotfire.Dxp.Framework.DocumentModel.State.NodeState.ForEachChild(IDocumentNodeChild[] children, Action`1 action) 
    at Spotfire.Dxp.Framework.DocumentModel.Node.ConfigureSubTree() 
    at Spotfire.Dxp.Framework.ApplicationModel.Progress.ExecuteSubtask(String title, IndeterminateProgressFormatter progressFormatter, ProgressSpeedFormatter speedFormatter, ProgressOperation operation) 
    at Spotfire.Dxp.Framework.DocumentModel.DocumentNode.ConfigureAndAttachFromNew() 
    at Spotfire.Dxp.Framework.DocumentModel.DocumentNode.AttachSubTreeWhileExecuting(UndoableNode newOwner) 
    at Spotfire.Dxp.Framework.DocumentModel.DocumentNode.AttachToUndoableNode(UndoableNode newOwner) 
    at Spotfire.Dxp.Framework.DocumentModel.UndoableKeyedCollection`2.<>c__DisplayClass6.<Insert>b__5() 
    at Spotfire.Dxp.Framework.DocumentModel.Node.Spotfire.Dxp.Framework.DocumentModel.INode.InternalTransaction(Executor executor) 
    at Spotfire.Dxp.Framework.DocumentModel.UndoableKeyedCollection`2.Insert(Int32 index, TNode item) 
    at Spotfire.Dxp.Data.DataTableCollection.<>c__DisplayClass11.<Add>b__10() 
    at Spotfire.Dxp.Framework.DocumentModel.Node.Spotfire.Dxp.Framework.DocumentModel.INode.InternalTransaction(Executor executor) 
    at Spotfire.Dxp.Data.DataTableCollection.Add(String dataTableName, DataSource dataSource, Boolean autoCreateFilters) 
    at Spotfire.Dxp.Application.PartiallyOpenedDataSource.<LoadData>d__0.MoveNext() 
    at Spotfire.Dxp.Application.AnalysisApplication.<OpenPartiallyOpenedDocument>d__34.MoveNext() 
    at Spotfire.Dxp.Application.AnalysisApplication.<OpenDataSource>d__1b.MoveNext() 
    at Spotfire.Dxp.Application.AnalysisApplication.ConsumePromptRequests(IEnumerable`1 prompts) 
    at Spotfire.Dxp.Application.AnalysisApplication.Open(DataSource source, DocumentOpenSettings settings) 
    at Spotfire.Dxp.Forms.Data.Import.DataSourceFactoryService.OpenDataSourceWithoutPrompting(DataSource dataSource, DocumentOpenSettings documentOpenSettings, IServiceProvider serviceProvider) 
    at Spotfire.Dxp.Forms.Data.Import.DataSourceFactoryService.OpenDataSource(InformationLinkDataSource dataSource, DocumentOpenSettings documentOpenSettings, IServiceProvider serviceProvider) 
    at Spotfire.Dxp.Forms.Data.InformationDesigner.DesignerFormController.<>c__DisplayClass2.<ExecuteInformationLink>b__0() 
    at Spotfire.Dxp.Forms.Application.FormsProgressService.ProgressThread.DoOperationLoop() 


InformationModelException at Spotfire.Dxp.Data: 
An Internal Error has occurred. com.spotfire.ws.dat.OperatorException: unexpected exception (HRESULT: 80131500) 

Stack Trace: 
    at Spotfire.Dxp.Data.InformationModel.InternalInformationModelManager.DataStream.GetNextBlock() 
    at Spotfire.Dxp.Data.InformationModel.InternalInformationModelManager.DataStream.Read(Byte[] buffer, Int32 offset, Int32 count) 
    at Spotfire.Dxp.Internal.Utilities.SeekableStream.Read(Byte[] buffer, Int32 offset, Int32 count) 
    at System.IO.BinaryReader.FillBuffer(Int32 numBytes) 
    at System.IO.BinaryReader.ReadUInt16() 
    at Spotfire.Dxp.Data.Formats.Sbdf.SbdfSectionHeader.ReadSectionType(BinaryReader reader, SbdfSectionTypeId expectedType) 
    at Spotfire.Dxp.Data.Import.SbdfDataRowReader.DelayedInit() 
    at Spotfire.Dxp.Data.Import.InformationLinkDataSourceConnection.ExecuteQueryCore2() 
    at Spotfire.Dxp.Data.DataSourceConnection.ExecuteQuery2() 


InformationModelServiceException at Spotfire.Dxp.Services: 
An Internal Error has occurred. com.spotfire.ws.dat.OperatorException: unexpected exception (HRESULT: 80131509) 

Stack Trace: 
    at Spotfire.Dxp.Services.WebServiceBase`1.InvokeService[T](ServiceMethod`1 serviceMethod, ExceptionFactoryMethod exceptionFactoryMethod) 
    at Spotfire.Dxp.Data.InformationModel.InternalInformationModelManager.DataStream.GetNextBlock()` 

답변

1

여기에 도움이 될 수있는 데이터베이스 로그에 대한 액세스 권한이 있습니까? 사용 권한 수정을 기반으로하는 해결 방법이있는 비슷한 게시물이 있습니다. Spotfire는 db에 대한 권한이없는 사용자를 통해 db에 액세스했으며 Spotfire에서 사용하는 .NET 사용자에 대해 제공하고 확인한 db 사용자에 대해서는 언급하지 않았습니다.

+0

예, 동일한 스키마의 다른 테이블에서 같은 방식으로 데이터를 만들고 가져올 수 있지만이 오류는 하나의 스키마에서 나타납니다. –

+0

그래서 테이블 구조와 데이터를 조사해야 할 것 같습니다. 사용 권한이 다른 테이블에서 작동하는 경우 문제가되는 것처럼 보일 수 있습니다.하지만 같은 결의안을 가진 사람은 probaby입니다. 더 많은 데이터 형식 문제이거나 데이터 변환입니다. . –

+0

문제는 내가 어떤 문제없이 오라클에서 SQL 쿼리를 실행할 수 있었는지 .. 왜 내가 같은 쿼리를 사용할 수 없는지 모르겠다 ... –

1

어떤 Spotfire 버전을 실행하고 있습니까?

Spotfire 로그에 액세스 할 수있는 경우 server.log 및 sql.log가 있어야합니다.

Spotfire가 sql.log에서 실행중인 정확한 쿼리를 식별 할 수 있어야합니다. 실패 했으므로 사용자 ID, 정보 링크 이름과 함께 나타나야하며 취소 된 것으로 기록해야합니다.

정확한 데이터베이스 오류는 sql.log 취소 된 시간 소인에 해당하는 시간 소인으로 server.log에 있어야합니다.

1

정보 편집 각 열의 데이터 형식을 연결하고 유효성을 검사하십시오. 가장 일반적인 시나리오는 Spotfire에서 LongInteger로 설정되는 DATE 열입니다.

관련 문제