Error 429 just started appearing

D

dxd

I have a VB6 app that has been working for 18months. But now generates
a 429 error at the line

Set oCDO = CreateObject("MAPI.Session")

I use Outlook 2003, Windows XP, CDO 1.21

I suppose either Windows, or the Outlook server may have changed
without my knowledge.

I haven't touched the code which, as I say has been working happily.

There are some other users of my app which experience the same problem
at the same time, which I guess points to either a change in the
Outlook server config, or a Windows update that we received
concurrently. I've checked that my cdo.dll is still in place, and it
is .

Any suggestions?

Thanks


David
 
S

SvenC

Hi,
I have a VB6 app that has been working for 18months. But now generates
a 429 error at the line

Set oCDO = CreateObject("MAPI.Session")

I use Outlook 2003, Windows XP, CDO 1.21

I suppose either Windows, or the Outlook server may have changed
without my knowledge.

I haven't touched the code which, as I say has been working happily.

There are some other users of my app which experience the same problem
at the same time, which I guess points to either a change in the
Outlook server config, or a Windows update that we received
concurrently. I've checked that my cdo.dll is still in place, and it
is .

Did you ensure that CDO is selected in the Outlook setup options? It is not
selected by default.
Open regedit: do you have HKEY_CLASSES_ROOT\Mapi.Session? Do you see a CLSID
subkey?
Its default value should start with {3fa7d and so on.
Search that value in HKEY_CLASSES_ROOT\CLSID\
There should be an InprocServer32 subkey with a path to cdo.dll. Does that
file exist?
 
K

Ken Slovak - [MVP - Outlook]

The poster should also check to see if he's running a script stopper such as
Norton or McAfee, which might be preventing automation of CDO by preventing
CreateObject or New from creating new instances of CDO.
 
D

dxd

Hi,











Did you ensure that CDO is selected in the Outlook setup options? It is not
selected by default.
Open regedit: do you have HKEY_CLASSES_ROOT\Mapi.Session? Do you see a CLSID
subkey?
Its default value should start with {3fa7d and so on.
Search that value in HKEY_CLASSES_ROOT\CLSID\
There should be an InprocServer32 subkey with a path to cdo.dll. Does that
file exist?

Fixed now thanks, apparently I didn't have CDO enabled. Weird, I
definitely used to have that working, what I think must have happened
is our IT has the power to upgrade our desktop applications without
our knowledge, so they must have updated Outlook and somehow removed
CDO. Anyway, it's working now. Many thanks

David
 

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