www.clickndecide.com

Click&DECiDE NSI & BAI | KBA
Knowledge Base Article: Article 212
How to solve a problem for Click&DECiDE Cubes?
Date: October 19th, 2010
Problem:
I want to create or run a Cube with Click&DECIDE Buider or run a Cube through the Web Portal and I get some errors.
Explanation:
The reasons could be:
1. The Microsoft Web Component 2003 has not been installed or not successfully.
2. The OWC11.DLL has not been registered.
3. The Microsoft OLE DB Provider for Analysis Services is not the one expected, depending on your MS SQL Server
version (2000 or 2005). If you have MS SQL Server 2005, you also need the MSXML 6.0 component.
4. You have a problem with the Microsoft Text ODBC driver against CSV files. See page 4 How to Debug a Cube.
Solution:
1. Uninstall and reinstall the Microsoft Web Component 2003 from the Click&DECiDE Setup directory:
C:\Program Files\Click and DECiDE\SetupFiles\setup\ISSetupPrerequisites\Microsoft Office 2003 Web Components
or from the Microsoft Web Site if you get this message when running a cube through the Web Portal:
Click the link to get the file download page:
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=7287252c-402e-4f72-97a5e0fd290d4b76&DisplayLang=en
And select the required language, and then install the owc11.exe program.
2. The Microsoft Web Component 2003 has been installed but you still get errors when trying to run or create a cube.
Try to register the OWC11.DLL component as follow:
- Open a Command Prompt window (Run as Adminisrator)
- Go to the C:\Program Files\Common Files\microsoft shared\Web Components\11 directory
- Enter the command: regsvr32 "C:\Program Files\Common Files\microsoft shared\Web
Components\11\owc11.dll" and press <Enter>
- You should get the message:
3. The Microsoft OLE DB Provider for Analysis Services is not the one expected, depending on your MS SQL Server
version (2000 or 2005). The requirements are the following:
- Against MS SQL Server 2000, the client machine needs to have Microsoft OLE DB Provider for
Analysis Services 8.0
- Against MS SQL Server 2005, the client machine needs to have Microsoft OLE DB Provider for
Analysis Services 9.0 and MSXML 6.0.
Contact us: E-mail: sales@clickndecide.com Tel: +33 (0)6 71 99 86 60
Sales Office: 98, route de la Reine - 92100 Boulogne-Bt, France.
To contact your neares Click&DECiDE partner, click here.
www.clickndecide.com
Click&DECiDE NSI & BAI | KBA
If you have a client PC that want to create a cube from Analysis Services against a server having MS SQL
Server 2005, and if the client PC doesn’t have the MSXML 6.0 and Microsoft OLE DB Provider for Analysis
Services 9.0, you will get an error message when connecting to the database: Test connection failed because
of an error in initializing provider. Object not found.
Even if you are not running a cube against an Analysis Services database, follow the next steps to display an
additional Tab in the Click&DECiDE Buidler command File> New> Cube allowing to know what is the
installed version:
How to display this additional Tab?

Open REGEDIT

Go to the following key:

HKEY_CURRENT_USER\Software\DataSet\DataSelect Vision\Settings

On the right window, add a DWORD (32-bit) key named Master

Change the value to 1 and validate

Then, from Click&DECiDE Builder, the Provider Tab will be displayed when starting to connect to an
Analysis Services, even if you do not have such database.

Click the command File> New> Cube

Select “Cube from Analysis Services” and you will get this dialog box with an additional Tab named
“Provider”, select this Provider Tab to check the version of the Microsoft OLE DB Provider for Analysis
Services 9.0 and/or Microsoft OLE DB Provider for OLAP Services 8.0:
Contact us: E-mail: sales@clickndecide.com Tel: +33 (0)6 71 99 86 60
Sales Offices: 98, route de la Reine - 92100 Boulogne-Bt, France.
To contact your nearest Click&DECiDE partner, click here.
2
www.clickndecide.com
Click&DECiDE NSI & BAI | KBA
If the Microsoft OLE DB Provider for Analysis Services 9.0 is missing, here is the way to install it:
Steps 1: First install the MSXML 6.0 using the link:
http://www.microsoft.com/downloads/details.aspx?FamilyId=d21c292c-368b-4ce1-9dab3e9827b70604&displaylang=en
Steps 2: Then install the Microsoft OLE DB Provider for Analysis Services 9.0: SQL Server 2005 Feature
Pack from February 2007
http://www.microsoft.com/downloads/details.aspx?familyid=50B97994-8453-4998-8226FA42EC403D17&displaylang=en
Click Download file below and select the SQLServer2005_ASOLEDB9.msi
Microsoft SQL Server 2005 Analysis Services 9.0 OLE DB Provider
The Analysis Services 9.0 OLE DB Provider is a COM component that software developers can use to create
client-side applications that browse metadata and query data stored in Microsoft SQL Server 2005 Analysis
Services. This provider implements both the OLE DB specification and the specification’s extensions for
online analytical processing (OLAP) and data mining.
Note: Microsoft SQL Server 2005 Analysis Services 9.0 OLE DB Provider requires Microsoft Core XML
Services (MSXML) 6.0, also available on this page.
Audience(s): Customer, Partner, Developer
X86 Package (SQLServer2005_ASOLEDB9.msi) - 12160 KB
X64 Package (SQLServer2005_ASOLEDB9_x64.msi) - 27981 KB
IA64 Package (SQLServer2005_ASOLEDB9_ia64.msi) - 34700 KB
Contact us: E-mail: sales@clickndecide.com Tel: +33 (0)6 71 99 86 60
Sales Offices: 98, route de la Reine - 92100 Boulogne-Bt, France.
To contact your nearest Click&DECiDE partner, click here.
3
www.clickndecide.com
Click&DECiDE NSI & BAI | KBA
Cube Debug:
Sometimes the Click&DECiDE Support could ask you to help to debug the problem and see why and when an error
occurs when running or creating a cube. In that case, please follow the next steps:
1. Activating the Show SQL Cube option: start Click&DECiDE Builder and run the command Tools> Options>
Cube.
2. Click OK
3. Create a new cube from an existing query:
4. If you are inside an existing Cube, click the Cube wizard icon:
Contact us: E-mail: sales@clickndecide.com Tel: +33 (0)6 71 99 86 60
Sales Offices: 98, route de la Reine - 92100 Boulogne-Bt, France.
To contact your nearest Click&DECiDE partner, click here.
4
www.clickndecide.com
Click&DECiDE NSI & BAI | KBA
The reason is that the Show SQL Cube Option is only available when starting from the Cube wizard.
5. Select the required Dimension and Measures:
6. Click Finish
7. Specify the parameter values if needed, then click OK
Contact us: E-mail: sales@clickndecide.com Tel: +33 (0)6 71 99 86 60
Sales Offices: 98, route de la Reine - 92100 Boulogne-Bt, France.
To contact your nearest Click&DECiDE partner, click here.
5
www.clickndecide.com
Click&DECiDE NSI & BAI | KBA
8. Make a copy of the SQL content of the above screen to be sent to the Click&DECiDE Team Support, then click
OK. If any error occurs before or after this step, make a copy of this error.
9. In the above screen make a copy of the SQL content to be sent to the Click&DECiDE Team Support and
uncheck the “Delete Temporary File” option. Then click OK. If any error occurs before or after this step, make a
copy of this error.
10. If no error occurs, you should get the cube correctly.
11. If an error occurs, make sure to copy and paste any text or screen that can help the Team Support.
12. If the Team Support asks you to get the Temporary Files, do the following:
-
Go to the C:\Program Files\Click and DECiDE\BAI\Tempcsv directory
Make a copy of the csv files and ini files and send them to Click&DECiDE Support.
13. If you have a license to run Click&DECiDE Buidler and want to check the Microsoft ODBC Text driver using a
CSV file, do the following:
- Open Administration Manager
- Create a new ODBD data source: New> Data Source>, then enter a Name and select ODBC:
Contact us: E-mail: sales@clickndecide.com Tel: +33 (0)6 71 99 86 60
Sales Offices: 98, route de la Reine - 92100 Boulogne-Bt, France.
To contact your nearest Click&DECiDE partner, click here.
6
www.clickndecide.com
Click&DECiDE NSI & BAI | KBA
-
Click OK
-
Click ODBC Setup
Contact us: E-mail: sales@clickndecide.com Tel: +33 (0)6 71 99 86 60
Sales Offices: 98, route de la Reine - 92100 Boulogne-Bt, France.
To contact your nearest Click&DECiDE partner, click here.
7
www.clickndecide.com
Click&DECiDE NSI & BAI | KBA
-
Select System DSN
Click Add and search for the Microsoft Text Driver (*.txt; *.csv)
-
Check the version and DLL name moving to the right
Contact us: E-mail: sales@clickndecide.com Tel: +33 (0)6 71 99 86 60
Sales Offices: 98, route de la Reine - 92100 Boulogne-Bt, France.
To contact your nearest Click&DECiDE partner, click here.
8
www.clickndecide.com
Click&DECiDE NSI & BAI | KBA
-
Click Finish
Enter a Data Source Name
-
Uncheck Use Current Directory and click Select Directory
Contact us: E-mail: sales@clickndecide.com Tel: +33 (0)6 71 99 86 60
Sales Offices: 98, route de la Reine - 92100 Boulogne-Bt, France.
To contact your nearest Click&DECiDE partner, click here.
9
www.clickndecide.com
Click&DECiDE NSI & BAI | KBA
-
Search for the path by default C:\Program Files\Click and DECiDE\BAI\Tempcsv
-
Click OK
This new Data Source Name should appear in the System DSN Tab:
Contact us: E-mail: sales@clickndecide.com Tel: +33 (0)6 71 99 86 60
Sales Offices: 98, route de la Reine - 92100 Boulogne-Bt, France.
To contact your nearest Click&DECiDE partner, click here.
10
www.clickndecide.com
Click&DECiDE NSI & BAI | KBA
-
Click OK and select the TestCSV system data source in the ODBC Data Source list:
The ODBC Data Source should display as follow:
Contact us: E-mail: sales@clickndecide.com Tel: +33 (0)6 71 99 86 60
Sales Offices: 98, route de la Reine - 92100 Boulogne-Bt, France.
To contact your nearest Click&DECiDE partner, click here.
11
www.clickndecide.com
Click&DECiDE NSI & BAI | KBA
-
Click OK
Right click and select Test Connection
-
Click OK
-
Start now Click&DECiDE Builder to run this Data Source against a temporary CSV file located in the
default C:\Program Files\Click and DECiDE\BAI\Tempcsv.
Make a new Query and select the Test_ODBC_CSV data source:
-
Contact us: E-mail: sales@clickndecide.com Tel: +33 (0)6 71 99 86 60
Sales Offices: 98, route de la Reine - 92100 Boulogne-Bt, France.
To contact your nearest Click&DECiDE partner, click here.
12
www.clickndecide.com
Click&DECiDE NSI & BAI | KBA
-
Enter no login and click OK
Select a temporary CSV file
-
Click the Run button (!)
If you get no error, the Microsoft ODBC Text Driver is working fine.
Contact us: E-mail: sales@clickndecide.com Tel: +33 (0)6 71 99 86 60
Sales Offices: 98, route de la Reine - 92100 Boulogne-Bt, France.
To contact your nearest Click&DECiDE partner, click here.
13
www.clickndecide.com
Click&DECiDE NSI & BAI | KBA
-
In case of error, please send a print screen of this error to the Support Team.
Contact us: E-mail: sales@clickndecide.com Tel: +33 (0)6 71 99 86 60
Sales Offices: 98, route de la Reine - 92100 Boulogne-Bt, France.
To contact your nearest Click&DECiDE partner, click here.
14
www.clickndecide.com