OLE Automation will not work: unable to open type library SPSSWIN.TLB

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

OLE Automation will not work: unable to open type library SPSSWIN.TLB

peter link

Hello – I am running into this error when I open SPSS v12.0.2.  Evidently this is a well known issue.  I found the following:

 

Problem Description:  I am running SPSS for Windows on a Windows 2000 or Windows XP machine. [I am using Windows 7] When I launch the application while logged-in as a user account, I receive the following alert:

error: OLE Automation will not work: unable to open type library SPSSWIN.TLB.

I can click on OK and start using SPSS. However, when I log in as a local Administrator, the error does not occur. How can I prevent this error from displaying every time I launch the software under a user account?

Resolution Subject: Please see the following resolution

Resolution Description
SPSS is designed to ensure that it is registered on every launch. If it is not registered properly, the application will attempt to write to various areas of the Windows Registry. If the user's permissions are insufficient, the above error will occur. Although this error is innocuous, you can prevent it from appearing each time you start SPSS by following the instructions below.

1. Log on as an Administrator. This is critical as system updates are made during the process and you must have complete authority to modify system registry entries.

2. Acquire regini.exe and copy it into the SPSS installation directory

For Windows XP, this file should already reside in the \Windows\System32 directory.

For Windows 2000, you can obtain this file from a Windows XP machine or download the file as part of the Windows 2000 or 2003 Resource Kit from Microsoft's website, etc..

3. Download 63635.zip from the following location and extract the three files into the SPSS installation directory.

ftp://ftp.spss.com/pub/spss/windows/63635.zip

4. Run ole.bat.

We apologize for any inconvenience.

Product(s) Affected:

Product

Version

SPSS

15.0

SPSS

14.0

SPSS

13.0

SPSS

12.0

 

My issue is that the link given in #3 does not work any longer.  If anyone has this 63635.zip (or its contents), please send my way (off-list).  Or if there is another solution, I would be much appreciative.

 

Thanks.

 

Peter

Reply | Threaded
Open this post in threaded view
|

Re: OLE Automation will not work: unable to open type library SPSSWIN.TLB

Andy W
Recently had the exact same problem with Windows XP and SPSS V15. What happened was I was prepping the transfer to a new analysts account, and IT did not assign him the same folder permissions as I had haggled my way into over the years. It only occurred though when I ran a production job though, not just using an interactive session.

I forget what type of access I needed, I think (but am not 100% sure) I needed both read and write access to where SPSS is installed. I think I also needed access to other locations (maybe even to the registry) - sorry can't remember all of the details. But it was definitely a problem with user access to certain locations on the machine.
Andy W
apwheele@gmail.com
http://andrewpwheeler.wordpress.com/
Reply | Threaded
Open this post in threaded view
|

Re: OLE Automation will not work: unable to open type library SPSSWIN.TLB

peter link
Thanks Andy.  Yes, it is an access issue.

So, for completeness, this seemed to work on Windows 7, SPSS v12.0.2:

Computer--> Right click OS --> Properties --> Security --> Advanced -->
Change Permissions --> Users --> Edit --> Full Control

Friendly Disclaimer: If you are at a workplace, make sure you have
permission to do this.  I'm not sure if this affects security of your
computer (in the process of finding this out).  If it does, your company/IT
probably won't like this solution very much.

Peter

-----Original Message-----
From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of
Andy W
Sent: Monday, February 10, 2014 9:27 AM
To: [hidden email]
Subject: Re: [SPSSX-L] OLE Automation will not work: unable to open type
library SPSSWIN.TLB

Recently had the exact same problem with Windows XP and SPSS V15. What
happened was I was prepping the transfer to a new analysts account, and IT
did not assign him the same folder permissions as I had haggled my way into
over the years. It only occurred though when I ran a production job though,
not just using an interactive session.

I forget what type of access I needed, I think (but am not 100% sure) I
needed both read and write access to where SPSS is installed. I think I also
needed access to other locations (maybe even to the registry) - sorry can't
remember all of the details. But it was definitely a problem with user
access to certain locations on the machine.



-----
Andy W
[hidden email]
http://andrewpwheeler.wordpress.com/
--
View this message in context:
http://spssx-discussion.1045642.n5.nabble.com/OLE-Automation-will-not-work-u
nable-to-open-type-library-SPSSWIN-TLB-tp5724426p5724428.html
Sent from the SPSSX Discussion mailing list archive at Nabble.com.

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD