Solved

Error registering dll during Pervasive SQL Backup Agent for PSQL 10

Posted on 2008-09-29
6
471 Views
Last Modified: 2012-05-05
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
Comment
Question by:bradl3y
  • 3
  • 2
6 Comments
 
LVL 18

Expert Comment

by:mirtheil
ID: 22597924
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
 
LVL 6

Author Comment

by:bradl3y
ID: 22597961
Yes i have tried local admin as well (just did). installing on PSQL 10.12 32 bit.
0
 
LVL 18

Accepted Solution

by:
mirtheil earned 500 total points
ID: 22598294
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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 28

Expert Comment

by:Bill Bach
ID: 22598307
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
 
LVL 6

Author Comment

by:bradl3y
ID: 22598311
Yes same code, i will try the process monitor.
0
 
LVL 6

Author Comment

by:bradl3y
ID: 22598469
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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

SQL Command Tool comes with APEX under SQL Workshop. It helps us to make changes on the database directly using a graphical user interface. This helps us writing any SQL/ PLSQL queries and execute it on the database and we can create any database ob…
These days, all we hear about hacktivists took down so and so websites and retrieved thousands of user’s data. One of the techniques to get unauthorized access to database is by performing SQL injection. This article is quite lengthy which gives bas…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question