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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

help publishing apps not in the farm

Status
Not open for further replies.

WinNSun

MIS
Jun 13, 2003
57
US
We are running MetaFrame XP FR2 on W2K SP2
I have an application that runs on a Btrieve engine located on an NT server within the domain as our Citrix farm, but not in the farm. we have mapped a drive to the location and put it in the usrlogin.cmd file when I try to access the app I get three popup window security errors
1)
SECURITY32
OPEN has failed, status = 8020
File=\\<PATH to file>
2)
SECURITY32
Can not open file \\<PATH to file>
3)
WMenu32
Invalid security

Then it closes the session
The issue is the same when accessing it throught the PNAgent or NFuse.

Any ideas?
 
Can you type in the commands from a dos prompt and run the app that way ?

If not can you run the app on the NT box from the dos prompt.

i.e

net use drive etc
cd app path
app.exe

You may have to create a .bat file to mimic the above and then you should be able to run it. I have done this a few times and it should work, you may have to persevere a wee bit but it should work.

Cheers
Scott
 
Hi,

You'd be better using a .cmd extension rather than .bat.

A .bat extension creates a 16 bit virtual command prompt window.

A .cmd extension creates a 32 bit prompt window.

Far better and uses less resources!

Prove that it works in a batch file and then you could always use that to publish your app, if you add to the start of each line:-

Start /W net use D: \\server\share
Start /b C:\Program Files\My Program\App.Exe

The network drive will map but the script will wait until the mapping has worked. Then App.exe will start but the cmd prompt will close behind it, leaving your app on it's own!

Cheers,
Carl.
 
Thank for the suggestions. Not completely trusting what I was told by the other local admins here, I decided to contact the vendor. The app and pervasive clients must both be local on the machine running the application, something I was assured was not necessary. Oh well back to the grind.

Thanks again
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top