Unresponsive Outlook security dialogs

J

Jon

This is not exactly a VBA question, but it concerns the Outlook
security dialogs "a program is trying to access e-mail addresses you
have stored in Outlook..." etc, so I thought somebody here might know.

My team is developing an application using cdo.dll 1.21s to access
Exchange via Outlook profiles. The problem is that on one computer
(mine), the Outlook dialogs that pop up takes forever to appear and to
interact with. It takes many (up to 20) seconds for the dialog to draw
itself on the screen and to react on mouse clicks and keyboard
presses, making the application practically impossible to test and
debug. The problem is not the dialogs popping up as such, but that
they are so slow and unresponsive.

The other developers on my team are running with more or less the same
setup of Windows, Office, Exchange, and our application, but are not
experiencing the problems. Interestingly, everything worked well for
weeks, then all of a sudden, it started going slow. Not sure if I did
anything special to my computer at that time.

Has anybody experienced this problem and possibly found a solution?

Jon
 
K

Ken Slovak - [MVP - Outlook]

I've never seen that, have you verified that you are using the same CDO.dll
version and that your MAPI*.DLL's are all the same versions as on the other
machines?

See if creating a brand new Outlook profile helps, don't copy from an
existing one just create a brand new one.

One other thing to look at is if you have been creating dynamic logons using
CDO, check in the registry to see how many profiles you have there and
delete any you don't need. I had over a hundred once after testing some code
that did dynamic CDO logons. The place to look is at
HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging
Subsystem\Profiles.
 
J

Jon

I've never seen that, have you verified that you are using the same CDO.dll
version and that your MAPI*.DLL's are all the same versions as on the other
machines?

See if creating a brand new Outlook profile helps, don't copy from an
existing one just create a brand new one.

One other thing to look at is if you have been creating dynamic logons using
CDO, check in the registry to see how many profiles you have there and
delete any you don't need. I had over a hundred once after testing some code
that did dynamic CDO logons. The place to look is at
HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging
Subsystem\Profiles.

CDO.dll is the same. Haven't checked all the others, but we're all
running the same version of Office/Outlook. I've deleted and created
brand new profiles, without any luck. Also checked registry, but only
the 4 profiles I use were there. Are there other places in registry
where CDO/MAPI stuff is stored?

Jon
 
K

Ken Slovak - [MVP - Outlook]

Stuff is stored all over the place. I'd do a detect and repair, rename all
MAPI*.* files as .OLD files and then repair and reinstall CDO. See if that
helps.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top