Link to home
Start Free TrialLog in
Avatar of Gerhardpet
GerhardpetFlag for Canada

asked on

Error installing Pervasive Backup Agent

I get the following error message when installing Pervasive Backup Agent 2.0 for Pervasive 10
User generated image
The closes to a solution I have found is this but it does not work for me so far. https://www.experts-exchange.com/questions/23771867/Error-registering-dll-during-Pervasive-SQL-Backup-Agent-for-PSQL-10.html

The registry key talked about there has full permission in my case.

I installed Process Monitor but not sure what to look for when installing fails. I'm trying to install on a Windows 2008 R2 server

Please help
Avatar of Bill Bach
Bill Bach
Flag of United States of America image

If baeh.dll is failing to register you probably don't have the correct permissions to the location of the files it depends on or to the PSQL keys in the system registry.  Check the following on the machine:

   1.      Verify that the PATH environment variable contains the fully qualified path to the PSQL \bin folder (by default, this location is set to "c:\program files\Pervasive Software\PSQL\bin\").
   2.      Verify you have read/write access to the PSQL bin folder.
   3.      Verify you have read/write access to the PSQL data folder (by default on Windows 2003 this would be "C:\Documents and Settings\all users\Application Data\Pervasive Software\psq\".  (If this folder does not exist, create it as well.)
   4.      Verify you have read/write access to the system registry key HKEY_LOCAL_MACHINE\SOFTWARE\Pervasive Software\ and all sub-keys.
I vaguely remember an issue with Backup Agent and BAEH.DLL not registering.
A couple more questions:  
What version of PSQL are you using?  
What's the version of the Backup Agent installer?
What other Pervasive products do you have installed on that server?
Avatar of Gerhardpet

ASKER

@Mi9rtheil,
Both the version questions are posted with my original question

Pervasive 10
Backup Agent 2.0
No other pervasive products installed

Will look in to permissions. Also I'm on Windows 2008 R2 not Windows 2003
Also what is the difference in installing the 64 Bit Backup Agent and Pervasive client server edition vs. the 32bit

The server is a 64bit but Pervasive 10 is 32bit as far as I know

This is what I have in the PATH environment variable for pervasive

C:\Program Files (x86)\Pervasive Software\PSQL\pba\bin;C:\Program Files (x86)\Pervasive Software\PSQL\bin\;C:\Program Files\Pervasive Software\PSQL\bin\;

Open in new window

What patch level of Pervasive 10 are you using (10.00, 10.10, 10.20, 10.30, etc)?  
What's in the HKEY_LOCAL_MACHINE\SOFTWARE\Pervasive Software\Products\Pervasive.SQL NT Server\InstallInfo key?  There should be  versions, build numbers, and some other information.  

Make sure that the Backup Agent and Pervasive engine are the same bitness (32 or 64).  THe OS bitness doesn't matter.  PSQL 32 bit works fine on 64 bit Windows.
I'm at engine version 10.31

Ok I see that I installed PSQL 64Bit and Backup Agent is 32Bit. I guess I will have to correct that first
I agree with Mirtheil -- because you have a 32-bit PSQL v10 Engine, you would install the 32-bit Backup Agent to go along with it.

If the above suggestions didn't help, you can go back to ProcMon for help, too.  Close all applications (including those on the system tray, if needed) except for ProcMon. This will reduce the junk you have to sort through.  Start capturing all registry and file traffic (turn off the boxes for network and process capture in the tool bar) and run your install.  As SOON as it errors out, stop the capture.  Now, find the installer process -- it might be MSIEXEC, or it could be something different -- and set a Filter where Process Name Is MSIEXEC.EXE (or whatever process name you see in the far left of the screen).  Now, start at the end and work your way backwards to find something that shows an error message.  (This process is NOT fun, but it is thorough, and it will show you what is wrong if you look hard enough.)  If the file is small enough, you could consider posting it, too, for another set of eyes.
ASKER CERTIFIED SOLUTION
Avatar of Mirtheil
Mirtheil
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Ok so I will correct the bitness first and then post back what results I get. I will have to do that after hours to ensure no one is using the database
Problem fixed. All I needed to do is install the 64 bit Backup Agent

Back to my question: Also what is the difference in installing the 64 Bit Backup Agent and Pervasive client server edition vs. the 32bit