Kbase P104825: Error 5894 with error code 0x8007007E when attempting to call Outlook from Progress 4GL
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  13/09/2006 |
|
Status: Unverified
FACT(s) (Environment):
Windows
SYMPTOM(s):
Attempting to use Outlook Automation from 4GL
Error 5894 is generated when executing the 4GL CREATE statement
Error occurred while creating/connecting to automation server for: <automation object name>.
<COM message>
Error code: <Program name> (5894)
Error occurred while creating/connecting to automation server for: outlook.application.
The specified module could not be found.
Error code: 0x8007007E (5894).
Using Microsoft Outlook 2000 or Microsoft Outlook 2003
Same error message is generated if the equivalent code is run from the Microsoft Office Visual Basic Editor
Run-time error '-2147024770 (8007007e)':
Automation error
The specified module could not be found.
Sysinternals Filemon utility shows that prowin32.exe is trying to access ScrBlock.dll before failing
ScrBlock.dll cannot be found by the prowin32.exe process
Re-registering OLE32.DLL did not help
Re-registering SCRRUN.DLL did not help
Installing Windows Script did not help
Reinstalling Microsoft Office does not help
CHANGE:
Uninstalled Norton Antivirus 2005
CAUSE:
The uninstall routine of Norton Antivirus 2005 does not clean up the registry properly
FIX:
Follow these steps to correct the problem:
- Open the Registry Editor (regedit.exe).
- Go to HKEY_CLASSES_ROOT\CLSID\Outlook.Application
- Note the Default value (e.g.: "{0006F03A-0000-0000-C000-000000000046}")
- Go to HKEY_CLASSES_ROOT\CLSID\{0006F03A-0000-0000-C000-000000000046}\InprocServer32
(make sure you use the Default value that you noted previously)
- Click on InprocServer32 (on the left side) and export this key through File -> Export menu.
- Click on the (Default) string (on the right side) and remove this string (press the DELETE key).