Citrix error when trying to publish htm content

I need to publish some content for an upcoming audit and it involves publishing a .htm document. The document has some html code that will automatically log the user into the secured website. here is the code in the file:

<html> <body onload="f1.submit();"> <form id=f1 action="https://www.samplewebsite/default.aspx" method=post><input id=uid name=uid type=text value=sampleuserid style="visibility: hidden"><input id=pwd name=pwd type=text value=samplepassword style="visibility: hidden"><input type=submit  style="visibility: hidden"></form> </body> </html>

Basically it opens the site and throws a username and password in and logs in.  I tried to publish this as content and when I doubleclick on the icon I get the following error message:

"A Citrix Error occurred when the application was run, and the local Citrix application provided no further information (Code 255)"

At first I figured that IE was blocking content so I logged onto the server as the user and it was blocking so I allowed the content in IE under that user, logged out and tried to login to the thin client and get to it again and received the same error.

i'm not sure what the problem is or which way to go from here. I am assuming that the best way to present this is via published content vs. published app. one thing that I don't want to do is give them access to anything else other than this site so just generically publishing IE won't work for me.

Anyone have any ideas? I sure would appreciate it.
eagle3344Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Barry MolenwijkTechnical Support Specialist IICommented:
I've once had issues with the correct displaying of a webpage within Citrix, even though it worked when logged on locally.

This was solved by creating a GPO which runs "runonce.exe /AlternateShellStartup" once (per server) when the user logs on.
You could see if this works for a test user.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
David Johnson, CD, MVPOwnerCommented:
have you tried it as an .hta instead? you will have to enable scripting on local intranet internet optios
0
eagle3344Author Commented:
I think I've settled on publishing the site in kiosk mode and trying to autocomplete the username/password. so far I've saved the username/password, but you have to type the first letter of the username in order to get it to come up. any ideas on that?
0
eagle3344Author Commented:
Thanks for the suggestions.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Citrix

From novice to tech pro — start learning today.