• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 495
  • Last Modified:

Error registering dll during Pervasive SQL Backup Agent for PSQL 10

Installation of the Backup Agent for PSQL 10 returned an error regarding registering of c:\PVSW\PBA\bin\baeh.dll failed. I attempted to register this dll myself, logged on locally as the administrator and it fails with the error message:  DllRegisterServer in c:\PVSW\PBA\bin\baeh.dll failed. Return Code Was: 0x80070005

I have verified the file exists, I also tried copying the dll from a 2nd source, and have the same problem.

This is on Windows Server 2003.

Error code 80070005 seems to be pretty common on a google search, with many results pointing to vista and UAC, or not being logged in as administrator. But I am on server 2003 logged in as domain administrator.
0
bradl3y
Asked:
bradl3y
  • 3
  • 2
1 Solution
 
mirtheilCommented:
Have you tried logging in as a Local Adminstrator?  
Also, are you installing BA on a PSQL 10.10 32 bit or 64 bit edition?  
0
 
bradl3yAuthor Commented:
Yes i have tried local admin as well (just did). installing on PSQL 10.12 32 bit.
0
 
mirtheilCommented:
Did it fail the same way when logged in as Local Admin?  
Are you physically at the machine or is this a TS session?  If it's a TS Session, try physically at the machine.  

You might also run Process Monitor from SysInternals, then run the REGSVR32 command.  The output should give an idea of why the DLL fails to register.
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
Bill BachPresidentCommented:
Strange.  I wonder if there's some problem in there that is lurking below the surface due to an old upgrade or failed install in the past.

The 32-bit engine for PSQLv10.10 should install itself into the C:\Program Files\Pervasive Software\PSQL\BIN directory.  When Backup Agent v2.0 installs, it should then install itself onto the C:\Program Files\Pervasive Software\PSQL\PBA\BIN.  Neither should still reside in the C:\PVSW directory path.

The problem could be an old registry entry from an old Pervasive version, or something else "bad" that is confusing the installer.  It might be worth a complete reinstall.  Try logging in as Admin to the server console -- do NOT use Remote Desktop.  Then, follow these steps:
1) Uninstall BA.
2) Uninstall PSQLv10.10.
3) Run the Pervasive System Analyzer to remove any remaining components.
4) Remove the PSA.
5) Reboot.
6) Run RegEdit and delete anything remaining in HKLM\Software\Pervasive Software, as well as HKCU\Software\Pervasive Software.
7) Remove anything remaining in the C:\PVSW folder or C:\Program Files\Pervasive Software directories.
8) Reinstall PSQLv10.10 and BA 2.0 clean.

Again, do NOT use Remote Desktop for best results.  VNC/RAdmin/PCAnywhere should be OK, if you must do it remotely.
0
 
bradl3yAuthor Commented:
Yes same code, i will try the process monitor.
0
 
bradl3yAuthor Commented:
Using process monitor i found access was denied to the registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Pervasive Software\MicroKernel Server Engine\Version 10\Settings\Hook Modules

Checked permissions, and although administrators was listed there, it did not have anything checked. I gave administrators full control of the key, and registration worked.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now