Outlook Security Manager with JAVA

Add-in Express™ Support Service
That's what is more important than anything else

Outlook Security Manager with JAVA
 
Janfry Na




Posts: 1
Joined: 2010-12-21
Hello.

Environment:
- Windows Server 2008 64 bits
- Microsoft Outlook 2007
- Java (through Moyosoft Java Outlook Connector)

I registered secman.dll and is ok (no secman64.dll because Outlook 2007 is 32 bits).

But the java instruction:
OutlookSecurityManager securityManager = new OutlookSecurityManager(outlookApplication);

produces the error:

COM error has occured:
com.moyosoft.connector.com.ComponentObjectModelException: Unable to create an in
stance for the specified program ID (80040154)

On computers with 32 bits there is no problem (XP, Windows7).

Any ideas?

Thanks in advance.
Posted 21 Dec, 2010 04:22:51 Top
Eugene Astafiev


Add-in Express team


Posts: 8540
Joined: 2007-07-25
Hi Janfry,

I registered secman.dll and is ok (no secman64.dll because Outlook 2007 is 32 bits).


How did you register the secman.dll on the problematic PC? Please make sure that you used the x86 version of the regsvr32.exe utility.
.NET, Extended MAPI, Windows Phone & RT
Posted 21 Dec, 2010 07:28:38 Top
Eugene Astafiev


Add-in Express team


Posts: 8540
Joined: 2007-07-25
Janfry,

Please make sure that you compile your application for the x86 platform (the target platform is set to the x86 value).
.NET, Extended MAPI, Windows Phone & RT
Posted 21 Dec, 2010 07:40:28 Top