企业绩效管理网

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 1759|回复: 8

At Wits' End: "File not found: tm1xl.ocx"

[复制链接]

82

主题

368

帖子

553

积分

高级会员

Rank: 4

积分
553
QQ
发表于 2014-3-16 12:03:53 | 显示全部楼层 |阅读模式
After finally conceding (based on researching prior posts) that the only reliable way to install TM1 Perspectives was to do so with Administrator rights, I had our package people build and install Perspectives with administrator privileges.

Apparently, it芒???? a known issue that TM1 must register some .dll and .ocx files during installation and these will fail without admin privileges. Before trying Perspectives after it was administratively installed, I was encouraged to see that indeed the following objects were successfully registered:

C:Program FilesCognosTM1bintm1prc.dll
C:Program FilesCognosTM1bintm1xl.ocx
C:Program FilesCognosTM1binTM1RuleEditor.dll
C:Program FilesCognosTM1binExcelServiceCom.dll

Unfortunately, the result was the same with a 芒???Run-time error: 53: File not found: tm1xl.ocx芒??? Excel error when launching Perspectives.

See the attached .xls file for more specifics on the registration properties of these files.

The package installed MR1_X32 first and then FP002_X32. I'm running Excel 2007. I've got a week to figure this out before we're supposed to deploy to numerous end users.

Thoughts? Incantations???

Thanks. -- John
回复

使用道具 举报

87

主题

397

帖子

595

积分

高级会员

Rank: 4

积分
595
QQ
发表于 2014-3-16 13:09:48 | 显示全部楼层
John

If you are still having problems, come back to me, but from memory I think that the file that you are missing is

tm1dasrv.dll

You need three files registered for the tm1xl.ocx to work (This is the In-Spreadsheet Browser by the way)

tm1dasrv.dll
tm1prc.dll
tm1xl.ocx

To register them, drag when on to regsvr32.exe in C:WindowsSystem32.

You need local admin rights on the machine for this.

I am assuming that your machines are locked down so that only your IT Dept have local admin rights. The other alternative would be to ask them to login, uninstall TM1 and re-install it. As you have probably learnt by now, just about any bit of software will need local admin rights before it can be installed, so it is probably best to wait for the IT Dept to package the application properly, and make sure you test it before you sign off the package.

Regards


Paul Simon
回复 支持 反对

使用道具 举报

66

主题

363

帖子

518

积分

高级会员

Rank: 4

积分
518
QQ
发表于 2014-3-16 13:22:20 | 显示全部楼层
Paul --

My install was in fact missing the tm1dasrv.dll binary altogether...  I copied over the file from the server which has a functioning perspectives and registered it but got the same error message.  Unfortunately, this was all the time I had today to work on this issue.  It's still a front-burner problem though and it sounds like you may be on to something.  Hopefully tomorrow the package guys will get around to trying an administrative install on a "virgin" laptop that hasn't already been subjected to multiple attempted perspective installations like mine has.

Anyhow, thanks again for your insights.

-- John
回复 支持 反对

使用道具 举报

96

主题

400

帖子

617

积分

高级会员

Rank: 4

积分
617
QQ
发表于 2014-3-16 14:30:22 | 显示全部楼层
Thought I'd share the conclusion to three weeks of investigation...

The tm1xl.ocx error turns out to have been caused by a failure to load ssleay32.dll in the tm1p.xla VB code.  There are several dll's that tm1p.xla tries to load before tm1xl.ocx.  However, tm1p doesn't complain if any of these precursor dll's fail even though tm1xl.ocx is dependent upon them.

Ssleay32.dll is part of the open source OpenSSH package which Cognos is utilizing.  Although this dll was properly installed, it appears to have been in conflict with some highly-privileged (system "owned" backed by a specialized group policy), custom (googling the .exe names returns nada), big brother monitoring package mandated by our IT group.  This package also loads it's own ssleay32.dll.  The fix was to replace TM1's bin/ssleay32.dll and bin/libeay32.dll with the dll's utilized by the monitoring package.

-- John
回复 支持 反对

使用道具 举报

73

主题

409

帖子

584

积分

高级会员

Rank: 4

积分
584
QQ
发表于 2014-3-16 14:36:32 | 显示全部楼层
Hi not able find any solution for this issue If tried to manually register tm1xl.ocx gettingb attached message


EM We know we are on a Win7 box if we find the following
if exist "C:Program Files (x86)" goto :CHECKW7

REM Recreate the std XP directory if not found
if exist "C:Program FilesCognos At IBM" goto INSTALL
mkdir "C:Program FilesCognos At IBM"
if errorlevel=1 goto ERROR3
goto INSTALL

:INSTALL
REM copy HF6 and mapped worksheet - supress overwrite prompt, create all subdirs, copy sys/hidden as well
echo Installing TM1 version 9.5.2 HF6, please stand by...
xcopy /Y /E /I /H %TEMP%952_HF6_x86_client"*.*" "C:Program FilesCognos At IBMTM1" > NUL
if errorlevel=1 goto ERROR5
del "C:Program FilesCognos At IBMTM1install*.bat"

rem Only register if this is a non-msi install
if exist "C:WINDOWSInstaller{AD063608-666F-4B6F-B66E-204661EE9CB2}" goto SUCCESS
echo.
echo Registering Client Files...
echo.
REM Register Tm1prc.dll
Regsvr32 /s "C:Program FilesCognos At IBMTM1binTm1prc.dll"
if errorlevel=1 goto ERROR4
REM Register Tm1xl.ocx
Regsvr32 /s "C:Program FilesCognos At IBMTM1binTm1xl.ocx"
if errorlevel=1 goto ERROR4
goto SUCCESS

:CHECKW7
REM Recreate the product directory if not found
if not exist "C:Program Files (x86)Cognos At IBM" goto INSTALLW7
mkdir "C:Program Files (x86)Cognos At IBM"
if errorlevel=1 goto ERROR3

:INSTALLW7
REM copy HF6 and mapped worksheet - supress overwrite prompt, create all subdirs, copy sys/hidden as well
echo Installing TM1 version 9.5.2 HF6, please stand by...
xcopy /Y /E /I %TEMP%952_HF6_x86_client"*.*" "C:Program Files (x86)Cognos At IBMTM1" > NUL
if errorlevel=1 goto ERROR5
del "C:Program FilesCognos At IBM (x86)TM1install*.bat"

rem Only register if this is a non-msi install
if exist "C:WINDOWSInstaller{AD063608-666F-4B6F-B66E-204661EE9CB2}" goto SUCCESS
echo.
echo Registering Client Files.
echo.
REM Register Tm1prc.dll
Regsvr32 /s "C:Program Files (x86)Cognos At IBMTM1binTm1prc.dll"
if errorlevel=1 goto ERROR4
REM Register Tm1xl.ocx
Regsvr32 /s "C:Program Files (x86)Cognos At IBMTM1binTm1xl.ocx"
if errorlevel=1 goto ERROR4
goto SUCCESS


:SUCCESS
echo.
echo Installation completed successfully.
echo.
pause
echo.
goto END

:ERROR1
echo.
echo * FAILED TO UNINSTALL PREVIOUS VERSION *
echo.
pause
echo.
goto END

:ERROR2
echo.
echo * FAILED TO REMOVE OLD COGNOS TM1 DIRECTORY *
echo.
pause
echo.
goto END

:ERROR3
echo.
echo * FAILED TO CREATE NEW COGNOS TM1 DIRECTORY *
echo.
pause
echo.
goto END

:ERROR4
echo.
echo * FAILED TO REGISTER CLIENT FILES *
echo.
pause
echo.
goto END

:ERROR5
echo.
echo * FAILED TO INSTALL COGNOS TM1 *
echo.
pause
echo.
goto END

:END
回复 支持 反对

使用道具 举报

78

主题

397

帖子

582

积分

高级会员

Rank: 4

积分
582
QQ
发表于 2014-3-16 14:45:45 | 显示全部楼层
Please find error getting while trying to install   952_hf6_x86_client and error got tried to manually register tm1xl.ocx
回复 支持 反对

使用道具 举报

87

主题

428

帖子

615

积分

高级会员

Rank: 4

积分
615
QQ
发表于 2014-3-16 15:40:03 | 显示全部楼层
jyo wrote:Please find error getting while trying to install   952_hf6_x86_client and error got tried to manually register tm1xl.ocx
Are you aware that you don't actually "install" hot fixes?  Hot fixes are loose file upgrades.  You install the base version for the hot fix, in this case 9.5.2 x86.  To install the hot fix all you do is ensure all TM1 components are stopped, copy the extracted contents of the hot fix folder into the bin directory then restart any services that were stopped.
回复 支持 反对

使用道具 举报

78

主题

403

帖子

578

积分

高级会员

Rank: 4

积分
578
QQ
发表于 2014-3-16 16:34:34 | 显示全部楼层
Check that you don't have another Visual C++ Redistributable installed. If you have the 2008 version installed it can conflict with the 2005 version
回复 支持 反对

使用道具 举报

66

主题

395

帖子

544

积分

高级会员

Rank: 4

积分
544
QQ
发表于 2014-3-16 16:36:40 | 显示全部楼层
Just as a follow-up and in case anyone else runs into this problem, at our company, we found that this issue was the result of an interaction with Cisco's CUPC (Cisco Unified Personal Communicator) software.  From what I understand, when CUPC is installed, it puts hooks into some software packages to work with them.  The hook into Excel caused our "Run-time error '53' File not found: tm1xl.ocx" problem.  We instructed our I.T. department to uninstall CUPC and then reinstall it opting out of the hook into Excel.  This resolved our problem.  I can't say if this will work for everyone, but it worked for us.
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|小黑屋|企业绩效管理网 ( 京ICP备14007298号   

GMT+8, 2023-10-5 01:12 , Processed in 0.078986 second(s), 12 queries , Memcache On.

Powered by Discuz! X3.1 Licensed

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表