quinta-feira, 28 de junho de 2012

Failed to connect to the Analysis Services server ms-nrcvm. Error: The connection string to repository needs to be specified in the 9.0 server properties (see ... section in msmdsrv.ini file from Analysis Services 9.0)

Sintoma: Ao tentar criar o cubo OLAP do Project Server, a seguinte mensagem aparecia
 Failed to connect to the Analysis Services server ms-nrcvm. Error: The connection string to repository needs to be specified in the 9.0 server properties (see <DSO>...</DSO> section in msmdsrv.ini file from Analysis Services 9.0)

Causa: Aparentemente, o Project Server estava apresentando dificuldades de se conectar diretamente com a instância do Analysis Services. Isto pode ocorrer quando nas propriedades avançadas do cubo, as propriedade de DSO não estão corretamente configuradas. 

Solução: Foi necessário criar um Database relacional na base do Sql Server e apontar as configurações de DSO para este banco de dados. Tive que setar as propriedades DSO\RepositoryConnectionString e DSO\RemoteRepositoryConnectionString para que o problema se resolvesse.


CREATE TABLE [dbo].[OlapObjects](
    [ID] [varchar](36) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
    [ParentID] [varchar](36) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
    [ObjectName] [nvarchar](150) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
    [ClassType] [int] NOT NULL,
    [ObjectDefinition] [ntext] COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
    [LastUpdated] [datetime] NULL,
    [Changed] [bit] NULL,
    [Version] [int] NULL,
CONSTRAINT [idx_ID] PRIMARY KEY NONCLUSTERED 
(
    [ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY],
CONSTRAINT [idx_ParentClassName] UNIQUE CLUSTERED 
(
    [ParentID] ASC,
    [ClassType] ASC,
    [ObjectName] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

CREATE TABLE [dbo].[Server](
    [ObjectDefinition] [ntext] COLLATE SQL_Latin1_General_CP1_CI_AS NULL
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

Nenhum comentário:

Postar um comentário

Leave your comment here!