Performance Problems with Outlook Security Manager 2010 and Outlook 2007 Sp2

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

Performance Problems with Outlook Security Manager 2010 and Outlook 2007 Sp2
 
Kellers




Posts: 6
Joined: 2011-10-20
Hi,

we use Outlook Security Manager 2010 with Outlook 2007 Sp2 and have several issues by using the ActiveX component.

Even the SendMail example fr om you doesn't work correctly. On Line "Call OutlookSecurityManager1.ConnectTo(IOutlook)" the programm needs 67 seconds to continue.

The Code ist original from Sendmail written in VB6 and using the osmax.ocx \ secman.dll


Dim IOutlook As Object
Dim IOutlookExpl As Object
Dim IMail As Object
...
Set IOutlook = CreateObject("Outlook.Application")
Set IOutlookExpl = IOutlook.GetNamespace("MAPI").GetDefaultFolder(6).GetExplorer 
...
Set IMail = IOutlook.CreateItem(olMailItem)
...
Call OutlookSecurityManager1.ConnectTo(IOutlook)
OutlookSecurityManager1.DisableOOMWarnings = True


The working Machine is a Windows Server 2007 x64 with SP2 and
installed Microsoft Office Enterprise 2007 SP2
registered osmax.ocx 6.1.0.1029 \ secman.dll 3.0.3.0

I dont have any idea wh ere the problem is or how i can fix it. Hope anyboody can help me out :)

regards...
Posted 20 Oct, 2011 07:37:57 Top
Renat Tlebaldziyeu


Add-in Express team


Posts: 132
Joined: 2010-02-15
Hello,

Looks like you have the issue that was reported to us several months ago.
I've sent you the new versions of secman.dll and secman64.dll (3.0.3.2). Please check your inbox.
Did the new versions fix the issue?
Posted 20 Oct, 2011 08:16:21 Top
Kellers




Posts: 6
Joined: 2011-10-20
Hello Renat,

thanks, but unfortunately its not working properly enough. We unregistered the old DLL, registered the new secman.dll, restarted the machine and now executing this line takes "only" 20-25 seconds.

On my local maschine this line took max 2 seconds.
(Windows 7 x64, Outlook 2007 [no SP (!)], same application, same Code)

Could it be the Service Pack 2 for Outlook 2007?

thank you in advance

regards
Posted 21 Oct, 2011 01:31:05 Top
Renat Tlebaldziyeu


Add-in Express team


Posts: 132
Joined: 2010-02-15
Hello,

Could you please try to repair your Office 2007 via Control Panel -> Programs and Features?
Did it help?
Posted 21 Oct, 2011 03:39:55 Top
Kellers




Posts: 6
Joined: 2011-10-20
HI,

i'm sorry for the delay, but simply repair Outlook on a Remote-Server wasn't so simple i thought ^^ However yesterday we repaired the Office Installation via Control Panel -> "Programms and Features" and restarted the machine. But there was no effect with reference to the performance.

Do you have any other idea?


regards
Posted 26 Oct, 2011 07:14:02 Top
Renat Tlebaldziyeu


Add-in Express team


Posts: 132
Joined: 2010-02-15
Hi,

Could you please create a log file for secman.dll from the problematic PC and send it to me to the support e-mail address? (you need to create the empty secman.dll.log file in the folder which secman.dll is placed and run your application)
Posted 26 Oct, 2011 08:08:15 Top
Renat Tlebaldziyeu


Add-in Express team


Posts: 132
Joined: 2010-02-15
Thank you for providing me with the log file.
It seems that you use an old version of secman.dll on the problematic PC.
Could you please generate the log file with the latest secman.dll version (3.0.3.2)?
Posted 26 Oct, 2011 09:00:23 Top
Kellers




Posts: 6
Joined: 2011-10-20
Hello,
good news :)

I think finally we found the cause of the loss of performance:
By deploying the application on the Server we just registered the ocx and the dll manually by command prompt and regsvr32.

Now we unregistered the osmax.ocx and secman.dll again and registered them with an Setup-Solution as described in the Development Guide.
After installing the setup on the server the application run with normal speed and everything looks great :)

Thank you for all your help :)

regards
Kellers
Posted 27 Oct, 2011 07:23:53 Top
Renat Tlebaldziyeu


Add-in Express team


Posts: 132
Joined: 2010-02-15
You are welcome, Matthias!
Thank you for letting me know.
Posted 27 Oct, 2011 07:28:18 Top