Saturday 15 December 2007

Incorrect ica32web.msi size when trying to download client
File size was smaller than actual size when trying to download ICA32WEB.msi. Fix as follows:

  1. Stop IIS.

  2. Open c:\windows\system32\inetsrv\metabase.xml in notepad.

  3. Search for aspbuffer or aspbuffering and up the limit to whatever size your .msi file is.

  4. Restart IIS.
Web Client Install
  1. copy ica32web.msi (from the Citrix website) into C:\program files\citrix\Web Interface\4.6.0\Clients\ica32

  2. Open the Access Suite Console, highlight your web site and on the right select the deploy clients option.

  3. Under deploy clients under client detection check "perform client detection" and under Display client detection bullet "whenever a client is needed".
Fix client detection and java fallback in WI4.6 when using it with AAC


1. Open the \inetpub\wwwroot\Citrix\AccessPlatform\conf\WebInterface.conf file in Notepad.
2. Add the following setting to the file:

EnableClientDetectionForAG=On

If using Access Gateway 4.5 Advanced Edition, complete the following procedure in addition to the above:
1. Open the \inetpub\wwwroot\Citrix\AccessPlatform\auth\login.aspx file in Notepad.
2. Add the text below in bold to line 50 (line number may differ if other customizations were made to this file):

if ( isWizardModeSupported(Mode.SILENT) &&
clientsAvailableForDetection() &&
Request.QueryString[QSTR_MSG_KEY] == null) {
if (runWizardSilently() && Session[SV_WIZARD_SILENT_FINISHED_KEY] != VAL_TRUE){
Session[SV_WIZARD_SILENT_FINISHED_KEY] = VAL_TRUE;

callWizardSilently();
} else if (!sWizardInfo.isInitialized()){
initializeWizardStateFromCookies();
}
}
3. Press CTRL+S to save the file.
4. Open the \inetpub\wwwroot\Citrix\AccessPlatform\auth\clientDetectionVariablesForPost.aspx file in Notepad.
5. Add the text below in bold to line 67 (line number may differ if other customizations were made to this file):

<input type="hidden" name="<%=WizardConstants.PARAMETER_ALLOW_LOGOUT%>" value="<%= logout %>" />
<% if (sWizardInfo.getMode() != Mode.SILENT){ %>
<input type="hidden" name="<%=WizardConstants.PARAMETER_MASTER_PAGE%>" value="~/app_data/auth/include/WIWizardLayout.master" />
<% }
if (showWelcomeScreen){ %>

6. Press CTRL+S to save the file.

Sunday 9 December 2007

Licensing Issues with Edgesight caused me a real hassle lately.

Violatoins kept appearing in the console and the agent log was reporting that it could not find valid licenses. The customer was using Edgesight for Presentation Server along with the Platinum licenses.

The docs for Edgesight are a little threadbare to say the least so troubleshooting problems can be difficult.

After speaking with Citrix for a few days the fix was to apply SP2 on the server and the agent. At the time SP2 was in BETA!

Anyway it worked.


The one problem I have with Edgsight is that you can only force some things to run immediately.
I think it essential that they build this functionality into the product, especially where licensing is concerned.

It would have taken me a 1/4 of the time to figure out what this problem was if i could run a remote worker that attempted to get a new license, but as it stands you make a change and then wait however long the next recursion is on the agent for it to try get a license.

Thursday 6 December 2007


Had an issue recently where a certain application was causing issues alongside other apps on a Citrix Server.
The only option was to isolate the app on its own server but I wanted to make this as seamless as possible.
The customer was using a published locked down desktop, i looked at PNAgent but i was probably going to hit problems with the locked down desktop so avoided it.
I instead wanted to have .ica files on the desktop that used pass-thru to launch the dodgy app on the isolated ctx server and also would accept command parameters so in effect creating my own content redirection.
Heres what i had to do... a little messy but you will get the idea.

Webica.ini add the following to prevent prompt for client security:
[Access]
GlobalSecurityAccess=405



Add the following to get rid of full screen mode prompt:
[HKEY_CURRENT_USER\Software\Citrix\ICA Client\Keyboard Mapping\Tips] "In full screen mode"=dword:01324326

Heres the template for the ICA FILE
[WFClient]
Version=2

[ApplicationServers]
Client Desktop=

[Client Desktop]
Address=nameofctxserver
InitialProgram=#publishedappnamegoeshere
ClientAudio=Off
Compress=On
DesiredColor=2
TransportDriver=TCP/IP
WinStationDriver=ICA 3.0
TWIMode=On
DesiredWinType=8
DesiredHRES=800
DesiredVRES=600




For single sign on:
1. In the Appsrv.ini file of the users profile, add the following lines at the bottom of the [wfclient] section:
···SSOnUserSetting=On
···EnableSSOnThruICAFile=On


2. In the .ica file you want to use, add the following line in the [Application] section (this is the section where all the settings like resolution or encryption are stored):
···UseLocalUserAndPassword=On

3. Delete %appdata%\ica client folder if required and md new one.
4. Create new appsrv.ini that contains the following and copy to %appdata%\ica client:
[WFClient]
LogFileWin32=C:\Documents and Settings\agreen\Application Data\ICAClient\wfcwin32.log
PersistentCachePath=C:\Documents and Settings\agreen\Application Data\ICAClient\Cache
DesiredColor=2
ScreenPercent=0
DesiredHRES=640
DesiredVRES=480
PNCacheVersion=1
EnableSSOnThruICAFile=On
SSOnUserSetting=On
SSOnCredentialType=Any