jump to navigation

How to Run Web Interface 5.0 in 64-bit Mode 13 June, 2008

Posted by Melvin Porter in Citrix, Project Delaware, Web Interface, XenApp/Presentation Server.
Tags: , , ,
add a comment

I wish I found this article a week ago … I have been fighting with ASP.NET in 32-bit mode on a 64-bit server!!! This article describes how to run Web Interface 5.0 in a 64-bit Internet Information Services (IIS) process.

Background

This article applies to Citrix Web Interface 5.0 running on Microsoft Internet Information Services (IIS) 6.0 or 7.0 with an appropriate version of Visual J#.NET 2.0 Second Edition on a 64-bit computer.

Web Interface 5.0 is a .NET application that is compiled so that it can be used on both 32-bit and 64-bit versions of ASP.NET. Web Interface makes use of Visual J# and 64-bit support is added by Visual J#.NET 2.0 Second Edition. This allows the Web Interface to run inside a 64-bit IIS process.

The ability to run inside a 64-bit process can prove particularly useful on IIS 6.0, where the entire IIS Web site is either a 32-bit process or a 64-bit process. This makes it easier for the Web Interface to coexist with 64-bit Web applications on the same IIS site.

Procedure to allow the Web Interface to run as a 64-bit process on IIS 7.0

1. Open the Microsoft Management Console (MMC) IIS Manager snap-in on the server running the Web Interface.

2. In the left pane, click Application Pools and, in the Features View, select the application pool that your Web Interface site uses (usually called CitrixWebInterface5.0.xAppPool).

3. In the Actions pane, click Advanced Settings.

4. In the General section, change the Enable 32-Bit Applications setting to False.

To allow the Web Interface to run as a 64-bit process on IIS 6.0

1. When you install the Web Interface, allow the installer to switch IIS to 32-bit mode.

2. To switch IIS back to 64-bit mode and register the 64-bit version of ASP.NET, click Start, click Run, type cmd, and then click OK.

3. From the command prompt, type the following command to disable 32-bit mode:

cscript <systemdrive>\inetpub\adminscripts\adsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 0

4. Type the following command to install the version of ASP.NET 2.0 and to install the script maps at the IIS root and under:

<systemroot>\Microsoft.NET\Framework64\version\aspnet_regiis.exe -i

where version is the build version number of ASP.NET.

5. Open the MMC IIS Manager snap-in on the server running the Web Interface.

6. Click Web Service Extensions under the server running the Web Interface and ensure that the status of the appropriate ASP.NET version is set to Allowed in the details pane.

Citrix Web Interface with Microsoft Silverlight and AJAX 13 June, 2008

Posted by Melvin Porter in Citrix, Project Delaware, Web Interface, XenApp/Presentation Server.
Tags: , ,
add a comment

How cool is this !!! Check out Jason Congers site www.jasonconger.com

How to speed-up Web Interface logins 13 June, 2008

Posted by Melvin Porter in Citrix, Web Interface, XenApp/Presentation Server.
Tags: ,
add a comment

Sometimes the Web Interface login page takes a while to open – this could be due to the fact that background worker processes go idle. Subsequent requests are fast due to the fact that the background worker processes have started. If they are idle for 20 minutes, then they get closed and new logins will once again take a while.

Prevent the background worker processes going into an idle state by doing the following on Windows Server 2003 with IIS 6.0.

Open the IIS Manager  –>  Application Pools  –>  CitrixWebInterface4.xAppPool  –>  Properties –> Untick the checkbox: Shutdown worker processes after being idle for (time in minutes) 

How to Back Up Citrix Web Interface 4.x Sites on IIS 6.0 13 June, 2008

Posted by Melvin Porter in Citrix, Web Interface, XenApp/Presentation Server.
Tags:
1 comment so far

Requirement

  • Web Interface 4.x
  • A locally stored webinterface.conf configuration file
  • IIS 6.0

Procedure for backing up Web Interface 4.x sites:

1. Back up the Citrix\AccessPlatform folder that is in the <root directory>\inetpub\wwwroot location.

2. Export the CitrixWebInterfaceAppPool to a file, as per the screenshot below:

a. In the Web Interface Console, expand Application Pools, then right-click CitrixWebInterface4.xAppPool.

b. Select All Tasks.

c. Click Save Configuration to a File…

d. Select a location to save the configuration backup file and click OK.

3. This step creates an XML file containing all the application pool configuration of the sites.

Procedure for restoring Web Interface 4.x sites:

1. Import the previously saved XML file to the IIS application pools section.

a. In the Web Interface Console, right-click Application Pool.

b. Select New.

c. Click Application Pool (from file)…

d. The Import Configuration dialog box containing a list of application pools stored in the XML file. Select the application pool configuration to restore and click OK

2. Restore the previously saved Citrix\AccessPlatform folder to the <root directory>\inetpub\wwwroot location.

3. Restart IIS by issuing the iisreset command.

How to Make the Message Center in Web Interface 4.x Display the Link to Download the .msi File 13 June, 2008

Posted by Melvin Porter in Citrix, Web Interface, XenApp/Presentation Server.
Tags: ,
1 comment so far

Procedure

  1. Copy the ica32web.msi or ica32pkg.msi file to the \Program Files\Citrix\Web Interface\4.x\ICAWEB\en\ica32 folder.
  1. Open the WebInterface.conf file with Notepad. The file’s default location is \inetpub\wwwroot\Citrix\MetaFrame\conf (for Web Interface 4.5, the default location is \inetpub\wwwroot\Citrix\AccessPlatform\conf).

For Web Interface 4.0 to 4.2:

  1. Locate the following line in the WebInterface.conf file:

    Win32Client=Default

  1. Replace the line described above with the following:

    Win32Client=Download the ICA Client for Windows&/Citrix/MetaFrame/ICAWEB_common/en/ica32/ica32web.msi

  1. Save the file.
  1. Restart the services.

For Web Interface 4.5:

  1. Locate the following line in the WebInterface.conf file:

    Win32Client=Default

  1. Replace the line described above with the following:

    Win32Client=Download the ICA Client for Windows&/Citrix/AccessPlatForm/Clients_common/ica32/ica32web.msi

How to Obtain an ICA File Through Citrix Web Interface 4.5 and 4.6 13 June, 2008

Posted by Melvin Porter in Citrix, Web Interface, XenApp/Presentation Server.
Tags: ,
2 comments

In Web Interface versions earlier than 4.5, you can obtain the ICA file contents using Internet Explorer by using the Save Target As… option when using a link in the applications page (or a similar operation in other Web browsers). When using Web Interface 4.5 or later, this operation no longer results in the ICA file being downloaded.

Procedure

For Web Interface 4.5:

Complete the following procedure:

When using an unsecured transport mechanism (HTTP):

  1. Change the file type association property. To do so:
  2. Open Windows Explorer.
  3. From the Tools menu, click Folder options…
  4. Select the File Types tab.
  5. Select the ICA / Citrix ICA Client extension.
  6. Click Advanced and select the Confirm open after download check box.
  7. Click OK and then click Close.

Once this is done, each time the application launch is attempted (by clicking the application launch link), a dialogue displays asking if you want to open or save the ICA file. Clicking Open launches the application. Clicking Save allows you to save the ICA file to the desired location.

When using a secure transport mechanism (HTTPS) with Internet Explorer:

When using a secure transport mechanism, the ActiveX control (ICO) is used to launch the application (this does not involve saving the ICA file), hence the file cannot be saved. However, changing some settings in Internet Explorer can revert this behavior so that the ICA file is downloaded. To do this, configure Internet Explorer so that it does not trust the ActiveX control and therefore reverts to downloading the ICA file. Use the following procedure:

  1. If the site is currently in the Trusted sites or Local intranet zone list, remove it (the site should be displayed in the Internet zone).
  2. If you are using an operating system that has the Enhanced Internet Explorer Security Configuration enabled, this feature must be disabled (go to the Control Panel > Add or Remove Programs > Add/Remove Windows Components section).
  3. Adjust the settings so that Internet Explorer can download files using the following procedure:

Go to Tools > Internet Options from the Internet Explorer menu.

Select the Security tab.

Click the Custom level… button to display the Security Settings dialog.

Ensure that File download is set to Enabled in the Downloads section.

Once these changes have been made, follow the same operations as described in the HTTP section above.

For Web Interface 4.6:

  1. Use a Firefox browser to enumerate the application icons.
  2. Remove the “RemoveICAFile=yes” line so that the ICA file is not deleted when the application is accessed. Edit the file in Notepad.
  3. If the server farm only contains Presentation Server 4.5 servers, use the Presentation Server Console from Presentation Server 4.0 (Note: Do not use this console to make other changes) and use the built-in feature to create the ICA file by right-clicking the published application. Else, use the Presentation Server Console as normal.
  4. Use Web Interface 4.5 or an earlier version to create the desired ICA file.

 

How to Disable Printing Through Web Interface/Secure Gateway 13 June, 2008

Posted by Melvin Porter in Printing, Web Interface, XenApp/Presentation Server.
Tags: ,
add a comment

Do you have users connecting in from home over a slow connection? Tired of having to fight with users who try to print from non-supported printers via web interface? Try this…

Add CPMAllowed=Off to the WFClient section of the Template.ica file on the external-facing Web Interface server(s).

The CPMAllowed=Off is used to disable LPT port redirection. Voilà!  No printing via Web Interface.

Web Interface 5.0 Preview 9 March, 2008

Posted by Melvin Porter in Citrix, Project Delaware, XenApp/Presentation Server.
Tags: , , , , ,
1 comment so far

Have a look at Thomas Koetzing’s preview of the all new funky looking Web Interface 5.0 (Project Delaware) (on Windows Server 2008)

 http://www.thomaskoetzing.de/index.php?option=com_content&task=view&id=249&Itemid=277

Web Interface 5
Web Interface 5 Login Page
Web Interface 5 - Application Set
 Web Interface 5.0 – Application Set Page

How to make the message centre in Web Interface 4.x display the link to the .msi file 9 March, 2008

Posted by Melvin Porter in Citrix, XenApp/Presentation Server.
Tags: , , , ,
add a comment

  Citrix Link…  http://support.citrix.com/kb/entry.jspa?entryID=12959

Follow

Get every new post delivered to your Inbox.