Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 499
  • 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
Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to Squarespace.com and use offer code ‘EXPERTS’ to get 10% off your first purchase.

 
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

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