Citrix appsrv.ini file changing upon login

bosshognz
bosshognz used Ask the Experts™
on
I am trying to create a new Published App in Citrix for our staff to use - and am having trouble with the appsrv.ini file.  Its not retaining the new link from one Terminal session to the next.  If I log out of my Terminal Session and log back in the shortcut disappears.
Appsrv.ini retains the details of the new shortcut throughout a session, and after I log out and look at my appsrv.ini while logged in as someone else the details are still there. It seems to disappear when  I log into a Terminal session.
I've had a look through our login script thats listed in Active Directories and can't see anything related to Citrix at all.
Any ideas / help appreciated, thanks.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Commented:
Are you talking about the Icon in program neighborhood? How are you publishing this app? Are you manually editing the appserv.ini? Which version of citrix are you using? Have you ever published an application before?

At first glance it sounds like you may not be publishing the app to users correctly. You should not have to edit the appserv.ini manually. Applications through citrix are assigned via user name. You add user names to the published app. These users should have the application availible to them in program neighborhood.

If you go into your Presentation server console. Find the application you published, Right click on the app and go to properties, On the bottom is the users tab. Add your desired users or groups there.

Author

Commented:
Yes the icon in Program Neighborhood - I create it there and that of course updates appsrv.ini
I don't understand what you mean by 'How are you publishing this app'.  I logged onto the server as admin, created the published app in the Mgmt Console and have created a link to it in the Program Neighborhood, which updated my appsrv.ini and then I created a shortcut to it in my Start > Programs menu within my Terminal Profile session. It did work - provided I didn't log out of my Terminal Session, but as soon as I did and then logged back in, the appsrv.ini changed
We use Citrix Metaframe XP.  
I haven't published an app before no, but my colleague has done one (he can't remember what he had to do to get it to work - had the same problems), and there are several published apps existing from our predecessor which I copied settings from.
When setting up the Published App within the Mgmt Console - I selected the right security group to have access to it, and when I log on as one of those users (as I am one of them) this is still the result.

The error I get when trying to use the published app is:
The 'MoneyWorks 4' entry is missing from the C:\Documents and Settings\username\Application Data\ICA Client\appsrv.ini file'
The Connection is aborted.

When looking for answers on here 99.9% of answers to similar problems say to create the links in the PN and then populate user's profiles with the appsrv.ini.

Commented:
You should not have to add any icons. When you publish an application you add the users it should be availible to at the end. When a user opens the program neighborhood, they are asked to log in. Based on the user account is the applications that are made availible. The Icons should be placed there automatically without the need to add anything to the appserv.ini. Try opening the Program neighborhood and refreshing it. It should reconnect to the farm and your new published app should be availible.
Ensure you’re charging the right price for your IT

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Commented:
It is very possible you did not create the published app properly. If you want I could remote into your computer and check out what was done.

Author

Commented:
Am hesitant at allowing anyone other than authorised Support Staff have remote access to our Servers - we only have that arrangement with 2 companies.

Whats the significance of 'Allow automatic client updates' on PN?  This is unchecked

Commented:
No, this only updates the client

Commented:
I understand the hesitation to let anyone into your servers. I would only use citirx go to assist which would allow me to connect to your computer, and you will see everything that I was doing, But i totally understand not letting anyone into your servers, especially some strange guy on experts-exchange =)
Let me know if you have second thoughts.

I suggest getting the citrix admin guy and reading the "how to publish an application" part

Author

Commented:
I have been through the 'how to..' section of the Metaframe XP manual with no luck.  tried recreating the app and it is still not working.  Am going to try again on Tuesday (monday is public holiday here) with a clear head.  Will get back to you then if thats ok

Commented:
sure thing, Keep me posted.

Commented:
> If I log out of my Terminal Session and log back in the shortcut disappears.

Where is this shortcut located?  on the terminal server desktop, on the workstation desktop?

Author

Commented:
In PN within my Terminal Session

Author

Commented:
By the way - a new week and I am fairing no better

Commented:
Do you have remote connection software? I could let you remote into my computer and I could show you on mine.

Author

Commented:
My counterpart remembered how he did it last night.  It wasn't related to the setup of the Published App at all.
There was a configuation bat that ran at session login that copied appsrv.ini from the Batch folder into their terminal session profiles - which is why mine was there right up until I logged in.

I have fixed the Batch folder appsrv.ini and now it works for all.

Thanks for the effort though - appreciate it.

Commented:
Oh, That makes sence. Everytime you logged in, it copied it over. I didnt think about that at all. Glad you got it figured out.
Commented:
Closed, 500 points refunded.
Vee_Mod
Community Support Moderator

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial