Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.


Running Pervasive from Citrix

Running Pervasive from Citrix


I have an issue with Pervasive and citrix and would be grateful for any help that you might have.  The situation is that we have an application that accesses Pervasive Btrieve files (*.btr).  We intend to put this app into citrix metaframe.  The thing is a windows app and it uses the wbtrv32.dll method of data access.  When we try to run it through citrix we get an error 20 saying that the record manager is inactive.  

However if I use the dos requester via citrix I can do butil -save and butil -stat and things like that so I can get access to the data fom citrix but I'm a bit confused as to what is happening.  

I've tried changing the bti.ini local=no and things like that but it hasn't made any difference.  If anyone knows of any diagnostics I can run or any checks I can make I'd be very grateful.


RE: Running Pervasive from Citrix

ARe you using Btrieve v6.15 workstation for the windows app?  If so, that could be the problem. Each user session tries to load the workstation engine and the second user will fail with a status 20. If you are actually trying to run it at the Citrix box itself and getting the status 20, it could be the TargetEngine setting.  It should be set to 0 (zero). If it's set to 1, then the WBTRV32.DLL is going to try to access a Server Engine on the local machine.  If you're running the Server Engine, then it should be set to 1.
Custom VB and Btrieve development.
Certified Pervasive Developer
Certified Pervasive Technician

RE: Running Pervasive from Citrix

Hi Mirtheil,

Thanks for that.  We are using the server engine - the version we're using of that is version 7. I thin kthe workstation is the same version. Is the target engine thing in the setup program?  We don't tend to have that stuff installed on the user pc's.  Are there any other places I can get at that?

Thanks again,

RE: Running Pervasive from Citrix

The TargetEngine setting is available through the setup or through the registry.  It'll be in the "Pervasive SOftware" subkey but I don't remember where exactly.
Custom VB and Btrieve development.
Certified Pervasive Developer
Certified Pervasive Technician

RE: Running Pervasive from Citrix

We've still to get to the bottom of what is exactly wrong - but it would appear if it is user or permissions related.  When the administrator of the citrix box logs in they are able to work the application without any problems - wheras when I try it I'm getting the status 20.  We'll just have to see what it is that the administrator has that I don't.

RE: Running Pervasive from Citrix

Yeah it was permissions :)

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close