Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Running Pervasive from Citrix 1

Status
Not open for further replies.

TomKane

Programmer
Jul 24, 2001
1,018
AU
Hi,

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.

Thanks,
Tom
 
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.

info@mirtheil.com
Custom VB and Btrieve development.
Certified Pervasive Developer
Certified Pervasive Technician
 
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,
Tom
 
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.


info@mirtheil.com
Custom VB and Btrieve development.
Certified Pervasive Developer
Certified Pervasive Technician
 
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top