The 'secman64.outlooksecuritymanager64' com object is not registered

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

The 'secman64.outlooksecuritymanager64' com object is not registered
 
Glenn r


Guest


I use the following dll's to suppress outlook security warnings when trying to get outlook address lists. Its been working great for some time.

The machine in question is server 2008 r2 64 bit with outlook 2010 64 bit. I get the following error when I try to run my app 'The 'secman64.outlooksecuritymanager64' com object is not registered'.

I've read and registerd the secman64.dll as per your instructions at http://www.add-in-express.com/creating-addins-blog/2010/06/16/outlook-security-manager2010-deployment/.

The secman.dll and secman64.dll were placed into the c:\program files(x86)\common files\outlook security manager\ folder

I tried registering wiht both version of the regsvr32.exe
%systemroot%\System32\regsvr32.exe secman64.dll
%systemroot%\SysWoW64\regsvr32.exe secman64.dll

Still displays the same exception.

I need to manually register whatever I need to get this going. Am I doing this right? Any ideas?
Posted 04 Apr, 2012 16:17:02 Top
Andrei Smolin


Add-in Express team


Posts: 18817
Joined: 2006-05-11
Hello Glenn,

Please check if the following registry branches exist on that PC:

HKEY_CLASSES_ROOT\secman.OutlookSecurityManager
HKEY_CLASSES_ROOT\secman64.OutlookSecurityManager64

Also, make sure that you register it with administrative privileges.


Andrei Smolin
Add-in Express Team Leader
Posted 05 Apr, 2012 02:25:23 Top
Glenn r


Guest


Andrei,

1. I checked the registry branches and they exist.

2. 'c:\program files (x86)\common files\outlook security Manager\' has both secman.dll and secman64.dll files

Still says "the 'secman64.outlooksecuritymanager64' COM object is not registered

Whats the next step?
Posted 09 Apr, 2012 15:54:46 Top
Eugene Astafiev


Guest


Hi Glenn,

Do you develop a standalone application or COM add-in? What is the target platform of your application?

BTW I have found the following similar forum threads:

http://www.add-in-express.com/forum/read.php?FID=11&TID=8056
http://www.add-in-express.com/forum/read.php?FID=11&TID=8311
http://www.add-in-express.com/forum/read.php?FID=11&TID=10516
Posted 09 Apr, 2012 16:15:06 Top
Glenn r


Guest


standalone application in vb.net 2005. As noted in the original post the app gets the global address list from the running outlook client and I use the secman to suppress the security warning. Its worked for years now but I have this one customer with server 2008 r2 64 bit running outlook 2010 64 bit and it displays that error.
Posted 09 Apr, 2012 16:18:18 Top
Eugene Astafiev


Guest


Hi Glenn,

Could you please organize a remote session?

Please remember that our office is open from 9:00AM to 5:00PM (GMT).
Posted 09 Apr, 2012 16:24:53 Top
Glenn r


Guest


I read the .net deployment article and have a question regarding the following:

"You need to register one of secman dlls as a COM object depending on the Outlook version installed on the target PC. You register secman64.dll for Outlook 2010 64-bit only, for other versions it?Â?Ð?és secman.dll. Be aware that administrative permissions are required to register secman.dll or secman64.dll. To register them, you can use the regsvr32 utility or special options of your installer."

I placed the secman64.dll in the following folder c:\program files(x86)\common files\outlook security manager\. Is this the correct place or should it be in the c:\program files\common files\outlook security manager\ folder?

Also the article says to register using the regsvr32.exe. I found 2 version of that exe which one do I use?
%systemroot%\System32\regsvr32.exe secman64.dll
%systemroot%\SysWoW64\regsvr32.exe secman64.dll
Posted 09 Apr, 2012 16:29:07 Top
Andrei Smolin


Add-in Express team


Posts: 18817
Joined: 2006-05-11
Hello Glenn,

Glenn r writes:
I placed the secman64.dll in the following folder c:\program files(x86)\common files\outlook security manager\. Is this the correct place or should it be in the c:\program files\common files\outlook security manager\ folder?


It is a correct folder.

Glenn r writes:
Also the article says to register using the regsvr32.exe. I found 2 version of that exe which one do I use?
%systemroot%\System32\regsvr32.exe secman64.dll
%systemroot%\SysWoW64\regsvr32.exe secman64.dll


On a 64-bit system, in the general case, to register the secman of a given bitness you need to use the regsvr32 of that bitness; that is, to register secman64.dll, you use %systemroot%\System32\regsvr32.exe, to register secman.dll, you use %systemroot%\SysWoW64\regsvr32.exe secman64.dll. ('WoW64' = 'Windows 32-bit on Windows 64 bit', see http://en.wikipedia.org/wiki/WoW64).


Andrei Smolin
Add-in Express Team Leader
Posted 10 Apr, 2012 05:59:50 Top
Glenn r


Guest


One more thing, which folder is the secman64.dll to be in?
1) c:\program files(x86)\common files\outlook security manager\
2) c:\program files\common files\outlook security manager\
Posted 10 Apr, 2012 08:38:35 Top
Andrei Smolin


Add-in Express team


Posts: 18817
Joined: 2006-05-11
c:\program files(x86)\common files\outlook security manager\


Andrei Smolin
Add-in Express Team Leader
Posted 10 Apr, 2012 09:12:54 Top