The secman64.OutlookSecurityManager64 COM object is not registred

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

The secman64.OutlookSecurityManager64 COM object is not registred
 
Martin Praxmarer




Posts: 320
Joined: 2008-05-19
Hi Guys,

we have a winforms application - and we deploy SecurityManager.2005.dll along with secman.dll and secman64.dll with our application. We recently used version 9.7.3407 without any problems - and any manually com registrations - it just worked. last week we did an update to version 10.0.3450 - and now one of our customer reported the above exception - any info why this might happen now?
Posted 18 Jan, 2022 02:25:41 Top
Martin Praxmarer




Posts: 320
Joined: 2008-05-19
Posted 18 Jan, 2022 02:26:13 Top
Andrei Smolin


Add-in Express team


Posts: 19011
Joined: 2006-05-11
Hello Martin,

Below is section Deployment applying to .NET based applications. Find it in the manual - see see the PDF file in the folder {Add-in Express}\Docs on your development PC.

To deploy your software that uses Outlook Security Manager, include the secman.dll and secman64.dll files into your setup package and deploy them in one of these ways:

?Â?Ð?? Register both secman.dll and secman64.dll as COM servers; this requires administrative privileges. Note that you only have to register secman64.dll on a 64bit PC. This approach allows specifying a profile-independent location for the files. Pay attention, please, that you should place secman.dll and secman64.dll as shared DLLs into the shared folder of Windows, Common Files \ Outlook Security Manager. Do not unregister secman.dll and secman64.dll if they exist in that folder when you install your product.

?Â?Ð?? Put secman.dll and secman64.dll into the folder where all files of your application are located. This approach doesn't require registering the files.

Note that the deployment options above allow any combination of bitnesses of your application and Outlook. Still, with a 32bit Outlook on a 64bit PC this works only if Security Manager is able to find secman.dll and secman64.dll; this requires that you put both files in the same folder or register them. A particular advantage of using both secman.dll and secman64.dll files is your application will work even if the end user installs Outlook (Office) of a different bitness.


Regards from Poland (CET),

Andrei Smolin
Add-in Express Team Leader
Posted 18 Jan, 2022 03:23:25 Top
Martin Praxmarer




Posts: 320
Joined: 2008-05-19
Hi Andrei,

thx for the fast response - i know these options - and in fact we do exactly this here:

Put secman.dll and secman64.dll into the folder where all files of your application are located. This approach doesn't require registering the files.

that worked fine in previous version - but not after the update now for this customer?
Posted 18 Jan, 2022 03:25:26 Top
Andrei Smolin


Add-in Express team


Posts: 19011
Joined: 2006-05-11
Hello Martin,

Please check whether it works with the SendMail C# or VB.NET sample project; find 'Security Manager for Microsoft Outlook sample projects' at https://www.add-in-express.com/downloads/osm.php.

Regards from Poland (CET),

Andrei Smolin
Add-in Express Team Leader
Posted 18 Jan, 2022 09:47:56 Top
Martin Praxmarer




Posts: 320
Joined: 2008-05-19
Hi Andrei - after an machine restart it was working on the customers machine!
Posted 19 Jan, 2022 01:30:07 Top
Andrei Smolin


Add-in Express team


Posts: 19011
Joined: 2006-05-11
It's great!

Regards from Poland (CET),

Andrei Smolin
Add-in Express Team Leader
Posted 19 Jan, 2022 03:51:51 Top