When I try to run the PowerPoint Presentation Wizard I get a Run-Time Error '6303'- The PROGID S-PLUS.GraphSheet cannot be converted to a valid CLSID.
book
Article ID: KB0080895
calendar_today
Updated On:
Products
Versions
Spotfire S+
All supported versions
Description
When running the PowerPoint Presentation Wizard I get a Run-Time Error '6303'- The PROGID S-PLUS.GraphSheet cannot be converted to a valid CLSID.
Issue/Introduction
When I try to run the PowerPoint Presentation Wizard I get a Run-Time Error '6303'- The PROGID S-PLUS.GraphSheet cannot be
converted to a valid CLSID.
Environment
Product: TIBCO Spotfire S+
Version: All supported versions
OS: Windows
--------------------
Resolution
Answer:
The message "<Some Object> cannot be converted to a valid CLSID" is an error message that has two likely causes:
1. You have never run S-PLUS on the system before trying to manipulate S-PLUS objects from within VBA. If this is the case, none of S-PLUS' automation objects have been registered so the link won't work. Solution: Start S-PLUS and exit once.
If this does not work, please try the following to fix the problem:
2. Run dcomcnfg from the Start/Run menu.
2a. For older versions of Windows, in the dialog that appears, switch to the Default Security tab and click on the 'Edit Default...' button in the 'Default Launch Permissions' group. The users who need to create S-PLUS.Application objects should be in the list that appears. Add your username to this list and you should then try your code again.
2b. For Windows XP and Vista, you will get a window called Component Services. Expand 'Component Services' and then 'Computer' to get to My Computer. Right click on My Computer and click on Properties. Click on the COM Security tab to get to the ‘Launch and Activation Permissions.’ Click on Edit Default so that you can check to confirm that your user’s name is listed.
You should also make sure you have write privileges to HKEY_CLASSES_ROOT in the registry.
Note for Windows Vista and Windows 7 users: If you are running Windows Vista or Windows 7, you need to do the following once to properly register items in the registry needed for this wizard:
a. Right-click on your S+ icon and select "Run As Administrator". b. Run the PowerPoint Presentation Wizard once to completion.
Doing these steps once should fix the problem so that you will not need to run S+ as Administrator every time.