Discussion Locked

Odd Citrix Problem

0 helpful
11 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I will try and lay this out best I can, so a here it goes. We have a software suite that we develop. I am running into a problem at a clients site where 2 of the 3 applications in the suite runs fine via Citrix. The third one will only run locally on the Citrix box but not from a workstation. In a log file that we ran when trying to load the application it gave the following error of "Unavailable to connect :SQL Server is unavailable or does not exist. General network error. Check your documentation". We have checked there published applications settings and they are identical to the 2 other working applications. They are not running the xp firewall enabled on the server.

Any input would be glorious.

Thanks,

Alika

11 replies

by lowlands

Some questions:
- Do the other two components connect to a SQL database as well?
- Does the app wotk when connecting to a published desktop using both Citrix client and/or RDP?
Does the not working component use some kind of ini file it can not find.

Try to run regmon and filemon (www.systernals.com) from the console while someone connects to the app using citrix. See if it has trouble finding a file or registry entry.

by alexiowacr1

To answer your questions

Yes the other 2 components connect to a SQL database.

They use ini files but they are accessing them fine from what it looks like. Because it works fine from the Citrix box.

by nz_justice

IF the application was not installed so that ALLUSERS=1 can access the application then IT could only be run local by the user who installed it.

If you are using msiexec /i to install your applications when you add the parameter ALLUSERS=1, allusers has to be in caps or the command is just ignored.

by alexiowacr1

The install packet for our application is one full install, so all apps should not be working if it was not in install mode. But we have 2 of the 3 working.... I am just wondering if this could be any setup in citrix possibly.

by nz_justice

It doesn't sound like the problem is Citrix.

It could be that you have the wrong ODBC System DSN setup on the workstaion.

Try to Make sure you have an ODBC DSN setup for your database connection.

by markp24

Hello,

We also run some custonm applications at my job, and have run across similar issues, I do not know if this is the cause of the issue you presented but this may help (i hope).
When installing our applications (35 of them) according to the programmers who write the programs and the installers , there are no registry entries create, everything is self contained in "ini" files.
Well after troubleshooting it using (sysinternals file mon and Regmon) we discovered our software did contain some MS dll's that were set to automatically registar themselves in the registry during installation, so when we installed it from the Console, it worked fine as the Administrator, but not as a ICA client user since it registered under HKey current user, (so only the account that installed it saw the entry)
We did a quick fix by having the programmer change it to register under HK Local machine so all users would see it) I was wondering if there is anything in the application you are installing that may have similar properties.
We have also used the Citrix Packager to fix other programs that behaved similarly.

I hope this helps

This discussion is closed to new replies.