Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Error message when you install Analysis Cubes for Excel in Microsoft Dynamics GP: "Specified cast is not valid"


Symptoms

When you install Analysis Cubes for Excel in Microsoft Dynamics GP, you receive the following error message:
Specified cast is not valid.
This problem occurs when the "Analysis Cubes for Dynamics GP Configuration Wizard" creates the Data Transformation System (DTS) packages.

↑ Back to the top


Cause

This problem occurs for one of the following reasons.

Cause 1

One or more .dll files are unregistered. See Resolution 1 in the "Resolution" section.

Cause 2

One or more .dll files are missing or corrupted. See Resolution 2 in the "Resolution" section.

↑ Back to the top


Resolution

Resolution 1

To resolve this problem, register the MSXML3.dll file and the MSXML6.dll file in the Windows\System32 folder. To do this, follow these steps:

  1. Right-click one of the .dll files, and then click Open With.
  2. In the Open With dialog box, click Open With.
  3. Select the Select the program from a list option, and then click OK.
  4. Click Browse, open the C:\Windows\System32\regsvr32.exe file, click Open, and then click OK.
  5. A dialog box appears that states that the .dll file succeeded.
  6. Repeat steps 1 through 5 in this section for the other .dll file.

Resolution 2

To resolve this problem, follow these steps:
  1. Download and then install Microsoft XML Parser (MSXML) 3.0 Service Pack 5 (SP5) or a later service pack. To do this, visit the following Microsoft Web site:Note The file that you download is named Msxml3.msi.
  2. Download and then install Microsoft Core XML Services (MSXML) 6.0. To do this, visit the following Microsoft Web site:Note The file that you download is named Msxml6.msi.

↑ Back to the top


Keywords: kbprb, kbexpertiseinter, kbtshoot, kbmbspartner, kbmbsmigrate, kb

↑ Back to the top

Article Info
Article ID : 932316
Revision : 1
Created on : 1/7/2017
Published on : 4/13/2016
Exists online : False
Views : 107