Skip to main content

MSProject Reporter Blog

Go Search
MSProject Reporter Blog Home
About Me
Contact Me
  

MSProject Reporter Blog > Posts > How to Create a Project Server 2007 VPC Image: Part 15
How to Create a Project Server 2007 VPC Image: Part 15

Welcome to part 15 in a series of posts which describe how to create a Microsoft Office Project Server 2007 Virtual PC image for demos and development work. Last time, we looked at how to create an instance of Project Server, including the Project Web Access site. This time, we’ll look at how to configure the Project Server OLAP cube building service inside the virtual machine.

 

Part 15: Configuring the Cube Building Service

 

Download the Microsoft SQL Server Native Client:

Filename: sqlncli.msi

URL: http://download.microsoft.com/download/f/7/4/f74cbdb1-87e2-4794-9186-e3ad6bd54b41/sqlncli.msi

 

Copy the sqlncli.msi file into the VPC image and execute the file; when the Welcome to the Microsoft SQL Server Native Client Setup dialog box appears, click the Next button:

 

 

In the Program Maintenance dialog box, select the Modify option, then click the Next button:

 

 

In the Feature Selection dialog box, verify that both features (Client Components and SQL Server Native Client SDK) are selected, then click the Next button:

 

 

In the Ready to Modify the Program dialog box, click the Install button:

 

 

After the installation has completed, click the Finish button:

 

 

Download the Microsoft SQL Server 2005 Management Objects Collection:

Filename: SQLServer2005_XMO.msi

URL: http://download.microsoft.com/download/f/7/4/f74cbdb1-87e2-4794-9186-e3ad6bd54b41/SQLServer2005_XMO.msi

 

Copy the SQLServer2005_XMO.msi file into the VPC image and execute the file; when the Welcome to the Install Wizard for Microsoft SQL Server Management Objects Collection dialog box appears, click the Next button:

 

 

Read the license agreement very carefully, select the I accept option, then click the Next button:

 

 

In the Registration Information dialog box, enter your Name and Company, then click the Next button:

 

 

In the Ready to Install the Program dialog box, click the Install button:

 

 

After the software installation has completed, click the Finish button:

 

 

Download the Microsoft SQL Server 2005 Backward Compatibility Components:

Filename: SQLServer2005_BC.msi

URL: http://download.microsoft.com/download/f/7/4/f74cbdb1-87e2-4794-9186-e3ad6bd54b41/SQLServer2005_BC.msi

 

Copy the SQLServer2005_BC.msi file into the VPC image and execute the file; when the Welcome to the Microsoft SQL Server 2005 Backward compatibility Setup dialog box appears, click the Next button:

 

 

In the Program Maintenance dialog box, select the Modify option, then click the Next button:

 

 

In the Feature Selection dialog box, verify that all of the features are selected, then click the Next button:

 

 

In the Ready to Modify the Program dialog box, click the Install button:

 

 

After the software installation has completed, click the Finish button:

 

 

Open Windows Explorer, navigate to the C:\Program Files\Microsoft SQL Server\MSSQL.2\OLAP folder, select File > New > Folder, and create a folder named DSO9:

 

 

Select the new DSO9 folder that was created inside the C:\Program Files\Microsoft SQL Server\MSSQL.2\OLAP folder, then select File > Sharing and Security:

 

 

Under the Sharing tab of the DSO9 Properties dialog box, select the Share this folder option, then change the Share name to MSOLAPREPOSITORY$:

 

 

Under the Security tab of the DSO9 Properties dialog box, in the Group or user names list, select SQLServer2005MSOLAPUser$SERVERNAME$MSSQLSERVER (SQLServer2005MSOLAPUser$VPC02$MSSQLSERVER, in this case), select the Allow checkbox next to the Full Control item in the Permissions list, then click the OK button:

 

 

Download a blank SQL Server Analysis Services repository file:

Filename: msmdrep.mdb

URL: http://www.pptspaces.com/msprojectreporterblog/Shared%20Files/msmdrep.zip

 

Copy the msmdrep.zip file into the VPC image, extract the msmdrep.mdb file contained within, and place it into the new DSO9 folder:

 

 

Select Start > All Programs > Microsoft SQL Server 2005 > SQL Server Management Studio; in the Connect to Server dialog box, select Analysis Services from the Server type drop-down box, enter or select the server name in the Server name drop-down area (VPC02, in this case), then click the Connect button:

 

 

Right-click the Analysis Server name in the left pane (VPC02, in this case), then select Properties from the drop-down list:

 

 

Select the Show Advanced (All) Properties checkbox, located near the bottom of the Analysis Services Properties dialog box:

 

 

A larger, more complete properties list will be shown; widen the Name column in the list by dragging the column width handle in the header row, then scroll down to the section where the DSO properties are listed:

 

 

Locate the DSO\LocksDirectory property in the Name column, then enter C:\Program Files\Microsoft SQL Server\MSSQL.2\OLAP\DSO9 into the Value column on the same row:

 

 

Locate the DSO\ RemoteLocksDirectory property in the Name column, then enter C:\Program Files\Microsoft SQL Server\MSSQL.2\OLAP\DSO9 into the Value column on the same row:

 

 

Locate the DSO\ RemoteRepositoryConnectionString property in the Name column, then click the selection button in the Value column on the same row:

 

 

In the Connection Manager dialog box, select Microsoft Jet 4.0 OLE DB Provider from the Provider drop-down list, then click the OK button:

 

 

After returning to the Connection Manager dialog box, click the Browse button next to the Database file name text area:

 

 

In the Select Microsoft Access Database File dialog box, browse for the msmdrep.mdb file, which is located in the C:\Program Files\Microsoft SQL Server\MSSQL.2\OLAP\DSO9 folder, then click the Open button:

 

 

After returning to the Connection Manager dialog box, remove the User name (Admin, in this case), then click the Test Connection button:

 

 

The Test connection succeeded message should be displayed; click the OK button to acknowledge the message, then click the OK button to close the Connection Manager dialog box:

 

 

After returning to the Analysis Server Properties dialog box, locate the DSO\ RepositoryConnectionString property in the Name column, then click the selection button in the Value column on the same row:

 

 

In the Connection Manager dialog box, select Microsoft Jet 4.0 OLE DB Provider from the Provider drop-down list, then click the OK button:

 

 

After returning to the Connection Manager dialog box, click the Browse button next to the Database file name text area:

 

 

In the Select Microsoft Access Database File dialog box, browse for the msmdrep.mdb file, which is located in the C:\Program Files\Microsoft SQL Server\MSSQL.2\OLAP\DSO9 folder, then click the Open button:

 

 

After returning to the Connection Manager dialog box, remove the User name (Admin, in this case), then click the Test Connection button:

 

 

The Test connection succeeded message should be displayed; click the OK button to acknowledge the message, then click the OK button to close the Connection Manager dialog box:

 

 

After returning to the Analysis Server Properties dialog box, click the OK button:

 

 

Open Internet Explorer, navigate to the PWA home page located at http://SERVERNAME/pwa (http://vpc02/pwa, in this case), then click the Server Settings link in the left Quick Launch menu:

 

 

On the Server Settings page, click the Build Settings link, located below the Cube heading:

 

 

On the Cube Build Settings page, enter the following information, then click the Save and Build Now button, located at the bottom of the page:

 

Analysis Services Server: SERVERNAME (VPC02, in this case)

Analysis Services Database to be created: ProjectServer

 

 

 

In the Project OLAP cube settings have been saved message box, click the OK button:

 

 

Immediately after saving the new cube build settings, the Build Status should be Cube build request message has been added to the Project Server queue; you may scroll to the bottom of the page and click the Refresh Status button periodically, or simply wait for the page to refresh automatically when the OLAP cube build process has completed:

 

 

 

After the OLAP cube has been built successfully, the Build Status should be Cube build request completed successfully:

 

 

You should now have a fully-functional Project Server OLAP cube building service.

 

In Part 16, we’ll look at how to install and configure Project Professional 2007.

Comments

OLAP Cubes

This is very good and fixed my problem. If you are installing on multiple servers install the software on both the SQL server and the Project server, this should enable the Cube to build
at 2/5/2007 11:27 AM

configuration failed

Hi,
   I tried with above configuration but it failed i got the following error msg

===== Initiating cube build process =====
[2/8/2007 8:49 AM] Cube build request message has been added to the Project Server queue
===== Verifying and running pre-build server event handler =====
[2/8/2007 8:49 AM] Verifying and running pre-build server event handler
===== Determining database and cube structure =====
[2/8/2007 8:49 AM] Cube build initialization started
[2/8/2007 8:49 AM] OLAP database and cube structure was determined successfully
===== Building database and cubes =====
[2/8/2007 8:49 AM] Cube build session started
[2/8/2007 8:50 AM] Analysis Services session started
[2/8/2007 8:50 AM] Analysis Services session failed with the following error: Failed to connect to the Analysis Services server PROJSRV. 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).
===== Process Completed =====
[2/8/2007 8:50 AM] Failed to build the OLAP cubes. Error: Analysis Services session failed with the following error: Failed to connect to the Analysis Services server PROJSRV. 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).

please help me to resolve this.

thanks ,
arun
at 2/8/2007 12:48 AM

Re: How to Create a Project Server 2007 VPC Image: Part 15

Hi,

To ge the Data Analysis report in web access ,whether I need to Install the project server 2007 as server farm mode? Because I could not build the OLAP cube in server 2007 when I installed as a stand alone mode.

Thanks
Arun
at 2/8/2007 7:17 AM

Re: How to Create a Project Server 2007 VPC Image: Part 15

Hi,

To ge the Data Analysis report in web access ,whether I need to Install the project server 2007 as server farm mode? Because I could not build the OLAP cube in server 2007 when I installed as a stand alone mode.

Thanks
Arun
at 2/8/2007 9:28 AM

Excellent document but need more help

Hi Tony,

This is an excellent document and the all the posts together are an excellent resource. Thank you very much.

However my attempt seems to have taken me foward but not completely worked, perhaps you might be able to tell me why?

The new error message is included below:

===== Initiating cube build process =====
[3/16/2007 8:51 PM] Cube build request message has been added to the Project Server queue
===== Verifying and running pre-build server event handler =====
[3/16/2007 8:51 PM] Verifying and running pre-build server event handler
===== Determining database and cube structure =====
[3/16/2007 8:51 PM] Cube build initialization started
[3/16/2007 8:51 PM] OLAP database and cube structure was determined successfully
===== Building database and cubes =====
[3/16/2007 8:51 PM] Cube build session started
[3/16/2007 8:51 PM] Analysis Services session started
[3/16/2007 8:51 PM] Analysis Services session failed with the following error: Failed to connect to the Analysis Services server s-appius-spoint. Error: Path not found
===== Process Completed =====
[3/16/2007 8:51 PM] Failed to build the OLAP cubes. Error: Analysis Services session failed with the following error: Failed to connect to the Analysis Services server s-appius-spoint. Error: Path not found

Thanks in advance for any help.

Simon
at 3/16/2007 4:57 PM

Crating OLAP CUBE Error: ActiveX component can't create object

Hi folks,
   I tried with above configuration but it failed i got the following error msg:

===== Iniciando o processo de criação de cubo =====
[20/3/2007 12:21] A mensagem da solicitação de criação do cubo foi adicionada à fila do Project Server
===== Verificando e executando o manipulador de eventos pré-criação do servidor =====
[20/3/2007 12:21] Verificando e executando o manipulador de eventos do servidor de pré-criação
===== Determinando a estrutura do banco de dados e do cubo =====
[20/3/2007 12:21] A inicialização de criação do cubo foi iniciada
[20/3/2007 12:21] Estrutura de cubo e banco de dados OLAP determinada com êxito
===== Criando banco de dados e cubos =====
[20/3/2007 12:21] A sessão de criação de cubos foi iniciada
[20/3/2007 12:21] A sessão do Analysis Services foi iniciada
[20/3/2007 12:21] Falha da sessão do Analysis Services com o seguinte erro: Falha ao conectar-se ao servidor do Analysis Services IWBD-1. Erro: ActiveX component can't create object
===== Processo Concluído =====
[20/3/2007 12:22] Falha ao criar os cubos OLAP. Erro: Falha da sessão do Analysis Services com o seguinte erro: Falha ao conectar-se ao servidor do Analysis Services IWBD-1. Erro: ActiveX component can't create object

tanks,

Magno
at 3/20/2007 11:20 AM

ActiveX component can't create object

I have tried everything and still receive the following:

===== Process Completed =====
[4/2/2007 11:42 AM] Failed to build the OLAP cubes. Error: Analysis Services session failed with the following error: Failed to connect to the Analysis Services server DBZERO. Error: ActiveX component can't create object
at 4/2/2007 11:54 AM

Error Creating The CUBE for Analysis Services

I have got the following message.
I have created a server farm. Project server is located on one box and sql server is located on a different server. So far things are fine. In my case what an application server means. Is it the project server machine or the sql server machine.

[4/10/2007 9:43 AM] Analysis Services session failed with the following error: The Application Server needs to have Analysis Services DSO Component installed.
===== Process Completed =====
[4/10/2007 9:43 AM] Failed to build the OLAP cubes. Error: Analysis Services session failed with the following error: The Application Server needs to have Analysis Services DSO Component installed.
at 4/10/2007 10:51 AM

SQL Instance problem

I appreciate the excellent post. We used Option 2 (Create the repository by creating a SQL Server 2005 database). Are you aware of any issues with that procedure? We are getting an unable to connect error, but I think the problem may be in the configuration in PWA. In the server name field, it does not allow the '\' character, so there is no way to specify an instance on the SQL server. Is there a workaround?
Thanks,
Mike
at 5/1/2007 11:59 AM

Re: How to Create a Project Server 2007 VPC Image: Part 15

   Hi 
   For folks who encounter Activex issue. I assume that your Project server and Sql server are seperate. Make sure that following are installed on your PROJECT SERVER too (Not only in sql server).
http://download.microsoft.com/download/f/7/4/f74cbdb1-87e2-4794-9186-e3ad6bd54b41/sqlncli.msi
http://download.microsoft.com/download/f/7/4/f74cbdb1-87e2-4794-9186-e3ad6bd54b41/SQLServer2005_XMO.msi

          Article above is most probably is not for people who choose server farm, in which SQL is seperate. Because if SQL and Project server are different, you musn't type "C:\Program Files\Microsoft SQL Server\MSSQL.2\OLAP\DSO9"  in "RemoteRepositoryConnectionString" and "RepositoryConnectionString" . You should type the UNC path which is as following. \\yoursqlservername\MSOLAPREPOSITORY$\DSO9.

Regards

MrHusy
http://www.experts-exchange.com/M_3788926.html
at 5/10/2007 1:56 PM

RE: arun

Hi Arun.
I think you have to check Analysis Server Properties and the
__PRESS OK__ (don't forget)
I had the same mistake
at 6/17/2007 5:54 AM

RE: SQL Instance problem

Mike,

You asked, "In the server name field, it does not allow the '\' character, so there is no way to specify an instance on the SQL server. Is there a workaround?"

I had the same issue. Just type the instance name somewhere else and copy/paste.

-Faisal
at 6/25/2007 10:27 AM

In C:\Program Files\Microsoft SQL Server\MSSQL.2\OLAP\DSO9

In C:\Program Files\Microsoft SQL Server\MSSQL.2\OLAP\DSO9 use you path.


Jefferson Banks Miranda
MCP
www.jeffersonbanks.com.br
at 7/24/2007 3:57 PM

<DSO> Error

I am getting the following Error.

Failed to build the OLAP cubes. Error: Analysis Services session failed with the following error: Failed to connect to the Analysis Services server TESTSERVER62. 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).
at 8/29/2007 5:50 AM

Failed to build OLAP cubes

Tony,

This is a great resource.  I am having the same problem that Simon posted on back in March of this year.  What is the resoultion for this problem?

Thank you,

Mark
at 12/3/2007 11:46 AM

Add Comment

Items on this list require content approval. Your submission will not appear in public views until approved by someone with proper rights. More information on content approval.

Title


Body *


Attachments