Link to home
Start Free TrialLog in
Avatar of apmali
apmali

asked on

Failed to Start. The citrix Server is unabe to process your request to start this published application

I have a published application in Citrix that is giving me this error constantly. The location is correct (I have copied and pasted it into the run box on the server and it runs locally)

I have verified the following reg setting:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Winlogon
AppSetup:Type = REG_SZ:
Data = USRLOGON.CMD,CMSTART.EXE

The file is not locked.

Has anyone any other suggestions?

Only interesting thing is that the application has a strange file extension (.ws) so I don't know if this is confusing Citrix...?

Your help yould be appreciated
Avatar of LKaushal
LKaushal
Flag of Ireland image

1. What sort of application is it?
2. Is it compatible with Terminal Service?
3. Try accessing the application directly through RDP client, --? Option --> Programs --> Start the following program on connection.

Let us know the result.
Avatar of KrAzY
KrAzY

Try this:

wscript.exe "Path to .ws file"

Ex:

wscript.exe "C:\Program Files\Program\script.ws"
or
cscript.exe "C:\Program Files\Program\script.ws"

You would do the same for a *.vbs file as well.
Avatar of apmali

ASKER

Cheers very much for your comments.

It is an IBM mainframe application. It used to work on Citrix, but then yesterday one of our Citrix servers died and a handful of published application disappeared, including this one (another problem!).

When I tried to re-add this particular app, I got this error. It also runs on TS though I'm sure that's no surprise.

Regarding the script idea, are you suggesting that I publish "wscript... etc..." instead of the direct path to the application? If so I have just tried this and they both failed. wscript returned the error "there is no script engine for the file extension "ws"" and cscript did nothing.
Avatar of Steve Tempest
have you tried installing the application in a isolated container ... do you only have an issue when more than one user is using the application?
Avatar of apmali

ASKER

thanks for your response

I haven't tried that, how would I do it? I am the only user with the application published at the moment, and it is only published on one server to simplify things (I have tried other servers and they all do the same thing)
Avatar of apmali

ASKER

Thanks for the response LKaushal but I have tried both suggestions to no avail.
Hi apmali

Can you please provide some more information. The name and version of the application?

A screenshot of the error message would help.

Also please describe what the circumstances are that cause the issue.

Can you RDP to the server and test to see if it will run the application. If it will can you rdp to the server as two different users at the same time and open the application once in each session?

Please let us know the results.

Also the idea to use an isolated containers as mine.... or are you refering to LKaushil's first post on this thread when you say that you have tried both?

If you have not tried the Isolated container then this may still be an option for you.

steve

Avatar of apmali

ASKER

Hi Steve, thanks for your response. I hope this is enough info.

We have 3 Citrix servers in our farm. The application, called Solus, is bespoke. We install an IBM Personal Communications v5.8 client to connect to the mainframe application.

One of our Citrix servers failed last week, and in my absence one of my colleagues removed it from the farm. I managed to salvage the server and re-added it to the farm, but Solus was no longer published, even though it was available on all three servers before the problem.

I published Solus again, and when I tried to run it I got the error in the attached file

I have connected as 2 users via RDP and can successfully run the application

I have not tried the isolated container because I wasn't sure how to do (not greatly experienced with Citrix i'm afraid)

Hope this is enough info.

Thanks



solus-error.JPG
looks more like the application is not published correctly rather than the application not working... I'll have a dig around for you
what version presentations servers do you have.. do you have any rollup/hotfixes installed on them?

Sounds like a problem with the server and not the application. As you said the program runs in RDP just fine so it is most definitely not an application problem.

there are various hotfixes and rollup patches that address this issue if you let me know what you have I'll try and assist if needed.
Avatar of apmali

ASKER

We are using PS4. I patched one of the servers 2 weeks ago with rollup patch 5, but did not patch the server that went down because I wanted to see if there were any issues.

I thought there must be something wrong with the server but I have published it to each server individually and none of the three work.

Thanks
can you copy and paste the full path to the executable that you have in the published application settings

eg

c:\program files\someprogram.exe

and verify that it is indeed in that location
Avatar of apmali

ASKER

Yes I have done this and it run fine locally on the server and over TS. I am completely confused!
sorry mate

go to the published application in the citrix management console and take a screenshot just like the one I have posted as an example
screenshot.jpg
Avatar of apmali

ASKER

No worries! here you go
solus-error2.JPG
replace the command line
C:\Program Files\IBM\Personal Communications\solus.ws

with this (double quotes around the path to the script not single)

wscript.exe "C:\Program Files\IBM\Personal Communications\solus.ws"
Avatar of apmali

ASKER

I received this error when I did this
solus-error3.JPG
that's good... we got an application to launch.. that's a start

so

instead of that put this

script.exe "C:\Program Files\IBM\Personal Communications\solus.ws"

or just put below (with the quotes)

"C:\Program Files\IBM\Personal Communications\solus.ws"
sorry (had a typo)

cscript.exe "C:\Program Files\IBM\Personal Communications\solus.ws"
also

when you install solus does it put an icon shorcut into your start menu or on the desktop

if it does

right click on the shortcut and choose properties

take a screenshot of that for me
Avatar of apmali

ASKER

No icon for solus is added to start menu or desktop. There are a bunch of shortcuts in the start menu folder but none of them point to this application.

Changed to cscript but it didn't do anything. I mean, it gets as far as running login scripts before a grey box appears and disappears before I can see what is on it.
ASKER CERTIFIED SOLUTION
Avatar of Steve Tempest
Steve Tempest
Flag of Australia 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
Avatar of apmali

ASKER

yes it does! Very strange.How should the batch script read do you think?


Avatar of apmali

ASKER

All sorted now, thank you so much for your help. I still don't knowwhat the original problem was but I can now publish the application

Cheers, have a good one

Alex
Avatar of apmali

ASKER

Cheers mate!