Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error registering AccpacGL1550.ocx

Status
Not open for further replies.

casmith

IS-IT--Management
Dec 24, 2001
7
CA
Hi,

I'm running Accpac Advantage Series 5.0A on a Citrix Metaframe XP SP2 (Windows 2000 Adv.) Server. My Accpac installation runs flawlessly, except for the following bug.

When using the drill down feature in G/L Transaction History the program returns the following (Detailed error):

----------------------------------------------------------
*** Code Download Log entry (08 Oct 2003 @ 17:25:07) ***
Code Download Error: (hr = 80004005) Unspecified error

Operation failed. Detailed Information:
CodeBase: h:\Program Files\ACCPAC\GL50A\AccpacGL1550.ocx
CLSID: {E23FF319-1BF3-11D6-AA0E-00C04F47EC66}
Extension:
Type:

LOG: File F:\WINNT\Downloaded Program Files\AccpacGL1550.ocx being registered.
--- Detailed Error Log Follows ---
LOG: Download OnStopBinding called (hrStatus = 0 / hrResponseHdr = 0).
LOG: URL Download Complete: hrStatus:0, hrOSB:0, hrResponseHdr:0, URL:(file://h:\Program Files\ACCPAC\GL50A\AccpacGL1550.ocx)
LOG: File F:\WINNT\Downloaded Program Files\AccpacGL1550.ocx being registered.
ERR: Setup Failed Error Code: (hr) = 80004005, installing: AccpacGL1550.ocx to (null) destination code(0)
LOG: Reporting Code Download Completion: (hr:80004005 (FAILED), CLASSID: e23ff319..., szCODE:(h:\Program Files\ACCPAC\GL50A\AccpacGL1550.ocx), MainType:(null), MainExt:(null))
----------------------------------------------------------

With the Application Installer failing, we can't use this feature. I have so far tried reinstalling the G/L 5.0A and SP3 with no effect. I have also tried running the process through in install mode... this has also failed to return any results.

Can anyone help?


 
What if you manually register the ocx by typing this in Start -> Run?
regsvr32 "h:\Program Files\ACCPAC\GL50A\AccpacGL1550.ocx"

If you receive an error, then chances are either the file location is invalid or the current user does not have permission to update HKEY_Classes_Root. Log on as local admin to run the screen once so that the registry can be updated.

If you don't get an error, check Internet Options -> Settings -> View Objects to see if you have a ACCPACGL1550 object. Delete it if you do.

If all fail, run ACCPAC Spy to spy in ACCPAC Installer when recreating the error and send me the log.

------------------------
rvspy@nospam.hotmai1.com
(remove nospam and change 1 to L)
 
Thanks for the reply.

I verified the .ocx was indeed found at that path, and ran all my installation attempts and dll registration attempts as the domain administrator (incidentally-- this is the account I used to install Accpac).

The following error was returned during my failed registration attempt--

DllRegisterServer in h:\Program Files\ACCPAC\GL50A\AccpacGL1550.ocx failed. Return Code was: 0x80004005

I then ran Accpac Spy, and repeated the procedure in the G/L Transaction History (it's long, but I'll post it):
-----------------------------------------------------------
ACCPAC Spy Log Version 5.0.5
[a4wInstaller] started at Thursday, October 09, 2003 1:04:09 PM

Time # Target Message
1:05:21 PM 1 0x10E3B88 Object created
1:05:21 PM 2 0x10E3B88 Install
1:05:21 PM 3 0x10E3B88 CLSID <{E23FFE28-1BF3-11D6-AA0E-00C04F47EC66}>
1:05:21 PM 4 0x10E3B88 Codebase <H:\Program Files\ACCPAC\GL50A\AccpacGL1500.OCX#Version=5,0,0,4>
1:05:21 PM 5 0x10E3B88 CheckClassInstalled()
1:05:21 PM 6 0x10E3B88 Registry key to look for file <CLSID\{E23FFE28-1BF3-11D6-AA0E-00C04F47EC66}\InprocServer32>
1:05:21 PM 7 0x10E3B88 File is <H:\PROGRAM FILES\ACCPAC\GL50A\ACCPACGL1500.OCX>
1:05:21 PM 8 0x10E3B88 Version required <5,0,0,4>
1:05:21 PM 9 0x10E3B88 Version installed <5,0,0,4>
1:05:21 PM 10 0x10E3B88 Newest version already installed? <1>
1:05:21 PM 11 0x10E3B88 (CheckClassInstalled()) End, HRESULT=0x0
1:05:21 PM 12 0x10E3B88 (Install) Class already installed., HRESULT=0x0
1:05:21 PM 13 0x10E3B88 Object destroyed
1:05:21 PM 14 0x10E3B88 Object created
1:05:21 PM 15 0x10E3B88 Install
1:05:21 PM 16 0x10E3B88 CLSID <{E23FE47B-1BF3-11D6-AA0E-00C04F47EC66}>
1:05:21 PM 17 0x10E3B88 Codebase <h:\Program Files\ACCPAC\GL50A\ENG\GL50AENGClient.dll>
1:05:21 PM 18 0x10E3B88 CheckClassInstalled()
1:05:21 PM 19 0x10E3B88 Registry key to look for file <CLSID\{E23FE47B-1BF3-11D6-AA0E-00C04F47EC66}\InprocServer32>
1:05:21 PM 20 0x10E3B88 File is <h:\Program Files\ACCPAC\GL50A\ENG\GL50AENGClient.dll>
1:05:21 PM 21 0x10E3B88 (CheckClassInstalled()) Class already registered, file is there, and codebase did not specify version requirement
1:05:21 PM 22 0x10E3B88 (Install) Class already installed., HRESULT=0x0
1:05:21 PM 23 0x10E3B88 Install
1:05:21 PM 24 0x10E3B88 CLSID <{E23FFE4B-1BF3-11D6-AA0E-00C04F47EC66}>
1:05:21 PM 25 0x10E3B88 Codebase <h:\Program Files\ACCPAC\GL50A\ENG\AccpacGL1500Eng.dll>
1:05:21 PM 26 0x10E3B88 CheckClassInstalled()
1:05:21 PM 27 0x10E3B88 Registry key to look for file <CLSID\{E23FFE4B-1BF3-11D6-AA0E-00C04F47EC66}\InprocServer32>
1:05:21 PM 28 0x10E3B88 File is <h:\Program Files\ACCPAC\GL50A\ENG\AccpacGL1500Eng.dll>
1:05:21 PM 29 0x10E3B88 (CheckClassInstalled()) Class already registered, file is there, and codebase did not specify version requirement
1:05:21 PM 30 0x10E3B88 (Install) Class already installed., HRESULT=0x0
1:05:21 PM 31 0x10E3B88 Install
1:05:21 PM 32 0x10E3B88 CLSID <{B7A53624-3332-4616-9264-BE966135CB74}>
1:05:21 PM 33 0x10E3B88 Codebase <h:\Program Files\ACCPAC\RUNTIME\AccpacTmplResENG.dll>
1:05:21 PM 34 0x10E3B88 CheckClassInstalled()
1:05:21 PM 35 0x10E3B88 Registry key to look for file <CLSID\{B7A53624-3332-4616-9264-BE966135CB74}\InprocServer32>
1:05:21 PM 36 0x10E3B88 File is <h:\PROGRA~1\ACCPAC\RUNTIME\ACCPAC~2.DLL>
1:05:21 PM 37 0x10E3B88 (CheckClassInstalled()) Class already registered, file is there, and codebase did not specify version requirement
1:05:21 PM 38 0x10E3B88 (Install) Class already installed., HRESULT=0x0
1:05:21 PM 39 0x10E3B88 Object destroyed
1:05:23 PM 40 0x10E3B88 Object created
1:05:23 PM 41 0x10E3B88 Install
1:05:23 PM 42 0x10E3B88 CLSID <{E23FE47B-1BF3-11D6-AA0E-00C04F47EC66}>
1:05:23 PM 43 0x10E3B88 Codebase <h:\Program Files\ACCPAC\GL50A\ENG\GL50AENGClient.dll>
1:05:23 PM 44 0x10E3B88 CheckClassInstalled()
1:05:23 PM 45 0x10E3B88 Registry key to look for file <CLSID\{E23FE47B-1BF3-11D6-AA0E-00C04F47EC66}\InprocServer32>
1:05:23 PM 46 0x10E3B88 File is <h:\Program Files\ACCPAC\GL50A\ENG\GL50AENGClient.dll>
1:05:23 PM 47 0x10E3B88 (CheckClassInstalled()) Class already registered, file is there, and codebase did not specify version requirement
1:05:23 PM 48 0x10E3B88 (Install) Class already installed., HRESULT=0x0
1:05:23 PM 49 0x10E3B88 Install
1:05:23 PM 50 0x10E3B88 CLSID <{E23FFE4B-1BF3-11D6-AA0E-00C04F47EC66}>
1:05:23 PM 51 0x10E3B88 Codebase <h:\Program Files\ACCPAC\GL50A\ENG\AccpacGL1500Eng.dll>
1:05:23 PM 52 0x10E3B88 CheckClassInstalled()
1:05:23 PM 53 0x10E3B88 Registry key to look for file <CLSID\{E23FFE4B-1BF3-11D6-AA0E-00C04F47EC66}\InprocServer32>
1:05:23 PM 54 0x10E3B88 File is <h:\Program Files\ACCPAC\GL50A\ENG\AccpacGL1500Eng.dll>
1:05:23 PM 55 0x10E3B88 (CheckClassInstalled()) Class already registered, file is there, and codebase did not specify version requirement
1:05:23 PM 56 0x10E3B88 (Install) Class already installed., HRESULT=0x0
1:05:23 PM 57 0x10E3B88 Install
1:05:23 PM 58 0x10E3B88 CLSID <{B7A53624-3332-4616-9264-BE966135CB74}>
1:05:23 PM 59 0x10E3B88 Codebase <h:\Program Files\ACCPAC\RUNTIME\AccpacTmplResENG.dll>
1:05:23 PM 60 0x10E3B88 CheckClassInstalled()
1:05:23 PM 61 0x10E3B88 Registry key to look for file <CLSID\{B7A53624-3332-4616-9264-BE966135CB74}\InprocServer32>
1:05:23 PM 62 0x10E3B88 File is <h:\PROGRA~1\ACCPAC\RUNTIME\ACCPAC~2.DLL>
1:05:23 PM 63 0x10E3B88 (CheckClassInstalled()) Class already registered, file is there, and codebase did not specify version requirement
1:05:23 PM 64 0x10E3B88 (Install) Class already installed., HRESULT=0x0
1:05:23 PM 65 0x10E3B88 Object destroyed
1:05:31 PM 66 0x10E3B88 Object created
1:05:31 PM 67 0x10E3B88 Install
1:05:31 PM 68 0x10E3B88 CLSID <{E23FF319-1BF3-11D6-AA0E-00C04F47EC66}>
1:05:31 PM 69 0x10E3B88 Codebase <h:\Program Files\ACCPAC\GL50A\AccpacGL1550.ocx#Version=5,0,0,0>
1:05:31 PM 70 0x10E3B88 CheckClassInstalled()
1:05:31 PM 71 0x10E3B88 Registry key to look for file <CLSID\{E23FF319-1BF3-11D6-AA0E-00C04F47EC66}\InprocServer32>
1:05:31 PM 72 0x10E3B88 Could not open registry key <CLSID\{E23FF319-1BF3-11D6-AA0E-00C04F47EC66}\LocalServer32>
1:05:31 PM 73 0x10E3B88 (CheckClassInstalled()) Class not originally installed. Proceed with installation
1:05:31 PM 74 0x10E3B88 Codebase is local file path, try local install
1:05:31 PM 75 0x10E3B88 LocalInstall <H:\PROGRAM FILES\ACCPAC\GL50A\ACCPACGL1550.OCX>
1:05:31 PM 76 0x10E3B88 Target's DllRegisterServer failed <-2147467259>
1:05:31 PM 77 0x10E3B88 (LocalInstall <H:\PROGRAM FILES\ACCPAC\GL50A\ACCPACGL1550.OCX>) End, HRESULT=0x80004005
1:05:31 PM 78 0x10E3B88 OnStartBinding
1:05:31 PM 79 0x10E3B88 (OnStartBinding) End, HRESULT=0x0
1:05:31 PM 80 0x10E3B88 OnProgress
1:05:31 PM 81 0x10E3B88 Percent <Installing... 0% complete>
1:05:31 PM 82 0x10E3B88 Status <>
1:05:31 PM 83 0x10E3B88 (OnProgress) End, HRESULT=0x0
1:05:31 PM 84 0x10E3B88 OnProgress
1:05:31 PM 85 0x10E3B88 Percent <Installing... 0% complete>
1:05:31 PM 86 0x10E3B88 Status <application/x-msdownload>
1:05:31 PM 87 0x10E3B88 (OnProgress) End, HRESULT=0x0
1:05:31 PM 88 0x10E3B88 OnProgress
1:05:31 PM 89 0x10E3B88 Percent <Installing... 100% complete>
1:05:31 PM 90 0x10E3B88 Status <file://h:\Program Files\ACCPAC\GL50A\AccpacGL1550.ocx>
1:05:31 PM 91 0x10E3B88 (OnProgress) End, HRESULT=0x0
1:05:31 PM 92 0x10E3B88 OnProgress
1:05:31 PM 93 0x10E3B88 Percent <Installing... 100% complete>
1:05:31 PM 94 0x10E3B88 Status <h:\Program Files\ACCPAC\GL50A\AccpacGL1550.ocx>
1:05:31 PM 95 0x10E3B88 (OnProgress) End, HRESULT=0x0
1:05:31 PM 96 0x10E3B88 OnProgress
1:05:31 PM 97 0x10E3B88 Percent <Installing... 100% complete>
1:05:31 PM 98 0x10E3B88 Status <h:\Program Files\ACCPAC\GL50A\AccpacGL1550.ocx>
1:05:31 PM 99 0x10E3B88 (OnProgress) End, HRESULT=0x0
1:05:31 PM 100 0x10E3B88 OnProgress
1:05:31 PM 101 0x10E3B88 Percent <Installing... 100% complete>
1:05:31 PM 102 0x10E3B88 Status <file://h:\Program Files\ACCPAC\GL50A\AccpacGL1550.ocx>
1:05:31 PM 103 0x10E3B88 (OnProgress) End, HRESULT=0x0
1:05:33 PM 104 0x10E3B88 OnProgress
1:05:33 PM 105 0x10E3B88 Percent <Installing... 50% complete>
1:05:33 PM 106 0x10E3B88 Status <F:\WINNT\Downloaded Program Files\AccpacGL1550.ocx>
1:05:33 PM 107 0x10E3B88 (OnProgress) End, HRESULT=0x0
1:05:33 PM 108 0x10E3B88 OnProgress
1:05:33 PM 109 0x10E3B88 Percent <Installing... 75% complete>
1:05:33 PM 110 0x10E3B88 Status <F:\WINNT\Downloaded Program Files\AccpacGL1550.ocx>
1:05:33 PM 111 0x10E3B88 (OnProgress) End, HRESULT=0x0
1:05:33 PM 112 0x10E3B88 OnStopBinding
1:05:34 PM 113 0x10E3B88 (OnStopBinding) End, HRESULT=0x0
1:05:34 PM 114 0x10E3B88 Error occurred during download <A code download error has occurred: Unspecified error
For more error details please see: ?CodeDownloadErrorLog!name={E23FF319-1BF3-11D6-AA0E-00C04F47EC66}>
1:05:34 PM 115 0x10E3B88 About to display error dialog
1:05:36 PM 116 0x10E3B88 (Install) End, HRESULT=0x80004005
1:05:36 PM 117 0x10E3B88 Object destroyed


 
Unable to register the ocx file is exactly the problem here. In your log, there is a block reads like this:

1:05:31 PM 67 0x10E3B88 Install
1:05:31 PM 68 0x10E3B88 CLSID <{E23FF319-1BF3-11D6-AA0E-00C04F47EC66}>
1:05:31 PM 69 0x10E3B88 Codebase <h:\Program Files\ACCPAC\GL50A\AccpacGL1550.ocx#Version=5,0,0,0>
1:05:31 PM 70 0x10E3B88 CheckClassInstalled()
1:05:31 PM 71 0x10E3B88 Registry key to look for file <CLSID\{E23FF319-1BF3-11D6-AA0E-00C04F47EC66}\InprocServer32>
1:05:31 PM 72 0x10E3B88 Could not open registry key <CLSID\{E23FF319-1BF3-11D6-AA0E-00C04F47EC66}\LocalServer32>
1:05:31 PM 73 0x10E3B88 (CheckClassInstalled()) Class not originally installed. Proceed with installation
1:05:31 PM 74 0x10E3B88 Codebase is local file path, try local install
1:05:31 PM 75 0x10E3B88 LocalInstall <H:\PROGRAM FILES\ACCPAC\GL50A\ACCPACGL1550.OCX>
1:05:31 PM 76 0x10E3B88 Target's DllRegisterServer failed <-2147467259>

What this tells us is ACCPAC attempted to find the key for GL1550.ocx in registry and could not find the key. ACCPAC then assumed this was the first time the ocx was being loaded. ACCPAC then based on its path resolution located the ocx file and attempted to regsvr32 it for the first time. The registration failed. The hex value of -2147467259 is 0x80004005, your regsvr32 error message.
Now we want to determine what's causing this failure.
1.Type regsvr32 &quot;H:\PROGRAM FILES\ACCPAC\runtime\a4wcom.dll&quot;
at Start -> Run. If it returns the same error then we are either looking at a update registry permission issue or your regsvr32 utility is corrupted. I think both are unlikely to be the case.
2. If step 1 is successful, you may need a fresh copy of AccpacGL1550.ocx file. Try find it in H:\Program Files\ACCPAC\WEB\Cabs\AccpacGL1550.cab or reinstall GL50 with the latest service pack. Or email me.


------------------------
rvspy@nospam.hotmai1.com
(remove nospam and change 1 to L)
 
Ok, I was finally able this morning to try the procedure you outlined.

The a4wcom.dll registered without successfully. When I originally started trouble shooting this issue, I had completely reinstalled the GL 5.0A module and SP3. But since step 1 was successful, I extracted the .ocx from accpacGL1550.cab and tried accessing the G/L Transaction history again. I got the following (same) error:
----------------------------------------------------------
*** Code Download Log entry (17 Oct 2003 @ 10:07:50) ***
Code Download Error: (hr = 80004005) Unspecified error

Operation failed. Detailed Information:
CodeBase: h:\Program Files\ACCPAC\GL50A\AccpacGL1550.ocx
CLSID: {E23FF319-1BF3-11D6-AA0E-00C04F47EC66}
Extension:
Type:

LOG: File F:\WINNT\Downloaded Program Files\AccpacGL1550.ocx being registered.
--- Detailed Error Log Follows ---
LOG: Download OnStopBinding called (hrStatus = 0 / hrResponseHdr = 0).
LOG: URL Download Complete: hrStatus:0, hrOSB:0, hrResponseHdr:0, URL:(file://h:\Program Files\ACCPAC\GL50A\AccpacGL1550.ocx)
LOG: File F:\WINNT\Downloaded Program Files\AccpacGL1550.ocx being registered.
ERR: Setup Failed Error Code: (hr) = 80004005, installing: AccpacGL1550.ocx to (null) destination code(0)
LOG: Reporting Code Download Completion: (hr:80004005 (FAILED), CLASSID: e23ff319..., szCODE:(h:\Program Files\ACCPAC\GL50A\AccpacGL1550.ocx), MainType:(null), MainExt:(null))
----------------------------------------------------------

I was wondering, if the problem is that a certain key registering that .ocx can not be written to the registry, could you give me the key information? I could try recreating it manually.
 
The manual way to register is to use DOS prompt and type regsvr32 &quot;H:\PROGRAM FILES\ACCPAC\GL50A\AccpacGL1550.ocx&quot;

If it fails, what's the error code?

------------------------
rvdbspy@nospam.hotmai1.com
(remove nospam and change 1 to L)
 
Sorry, I'll clarify as that's what you instructed in your original reply (which I have already done). I've posted that error code.

--

What I'm saying is that, so far trying to register the .ocx manually has failed. I'm currently at an impass because I have already restored accpacGL1550.ocx from its .cab file. Additionally I have even reinstalled the entire G/L module and SP3.

So what I was wondering, was if regsvr32 is trying to update the registry with information on accpacGL1550.ocx and failing perhaps I could manually create the keys, strings, dwords etc... within the registry. Would you know the exact key information for accpacGL1550.ocx?
 
regsvr32 updates multiple places in your registry. It's kind of hard to manually create everything. Never done this myself.
Sorry.

------------------------
rvdbspy@nospam.hotmai1.com
(remove nospam and change 1 to L)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top