Quantcast
Channel: Citrixology
Viewing all 118 articles
Browse latest View live

Citrix Single Sign-On / Password Manager 5.0 troubleshooting

$
0
0

There aren’t many resources from Citrix how to successfully configure this product; may be Citrix decided to completely ignore this one due to the fact that this product has NOT been a money churner over the past years.

We had to setup and configure Single Sign On 5.0 ( new name of Citrix Password Manager) for one of our customers and the below are a few useful tools that helped me in fault-finding the configuration and getting it up and running.

Troubleshooting Documentation

Troubleshooting Citrix Password Manager Service

Tools from Citrix



How to Change the Default Settings on the Citrix Generic Universal Printer

$
0
0

Summary

This article describes how to change the default settings for the Citrix Generic Universal Printer by overriding the hard-coded default settings of the Citrix Generic Universal Printer with registry keys of the manual setting.

Background

The Citrix Universal Printer in XenApp was originally created with static default printer settings. For examples, paper size, paper width, number of copies, and so on.

Requirements

  • XenApp 5.0 for Windows 2008
  • XenApp 6.x for Windows 2008 R2 include the fix

Procedure

Caution! This procedure requires you to edit the registry. Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Citrix cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk. Back up the registry before you edit it.

Use the following registry values to override the default settings:

HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\Print\UPDDevmode
Name: see the following table
Type: REG_DWORD
Data: see the following table

The following table provides information about the Registry Chart:

 

Name

Data

dmOrientation

1 = portrait
2 = landscape

dmPaperSize

1 = letter
9 = A4
through

118 = last paper defined in paper table

dmPaperLength

1 – 65535

dmPaperWidth

1 – 65535

dmScale

1 – 1000

dmCopies

1 – 9999

dmDefaultSource

1 – 15

dmPrintQuality

1 = draft
4 = high

dmColor

1 = monochrome
2 = color

dmDuplex

1 = simplex
2 = horizontal
3 = vertical

dmYResolution

32 – 65535

dmTTOption

1 = bitmap
2 = download
3 = substitute
4 = outline

dmColate

0 = false
1 = true

dmLogPixels

0 – 65535

dmBitsPerPel

0 – 65535

dmPelsWidth

0 – 65535

dmPelsHeight

0 – 65535

dmFormName

Form name, such as letter, A4, tabloid, or other available form options

Note: The Citrix Generic Universal Printer uses the preceding defined registry settings to override the default settings. Any changes to these settings using the printer preferences of the Citrix Universal Printer might be retained.

More Information

CTX089874 – Troubleshooting and Explaining the Citrix Universal Print Driver

CTX106812 – How to Auto-Create the Generic Citrix Universal Printer in User Sessions

CTX119690 – The Printing Jobs Take More Time When Using the Citrix Universal Printer


Qfarm/load does not Return any Server Load Information

$
0
0

Symptoms

When the command Qfarm/load is carried out, the server load information is not returned.

Cause

This issue is leaked because of the invalid zones that are associated with the servers in the farm. The issue is usually caused by zones being created and deleted, servers moving in and out of zones and not immediately being rebooted which can leave the servers with the old information.

Resolution

To resolve the issue, complete the following steps:

  • Run the following command from the command prompt of the Zone data Collector. This gathers the dynamic store information of Zone Data Collector:

Queryds /table:LMS_ServerLoadTable > c:\loadtable.txt
(The c:\ can be replaced by any local drive on the XenApp server)

  • Run a CDF trace for 30 seconds on all modules from the Zone Data Collector and simultaneously run the command Qfarm /load from the command prompt of the zone data collector.
  • Upload both the queryds output log and the cdftrace .etl file to the automatic support site for analysis.

To find the servers that have issues, open the queryds log in Notepad and look for any servers that are listed in a zone that does not exist.

In the cdf trace, look for the following errors:

  • “IMA_BUF_BinBuffer::ReadStringObject size<=0 00B895E4 0 00B88CBC 00B895E4 20
    and
  • Read fetch Errored Uid: 1796-000c-00006692 (the Uid will be different as it a unique identifier for the XenApp server)”

There must be a matching host ID in the queryds output log that shows the server that has the issue.

name : 1796-000c-00006692

host : XenAppServerName

zone : Zone 5

Once the server or servers have been identified, remove them from the server farm and run the command dscheck /full servers to ensure that the servers are no longer part of the farm.

Once that has been verified, the command qfarm /load must now run without issues, and then add the problem servers back to the farm, and the command qfarm /load must continue to work.

The issue can also occur if the server was removed from the farm but XenApp was not removed from the server. The XenApp might still contact the ZDC causing the issue. If yes, just turn off the machine to resolve the issue. The command queryds in the preceding section will not show the server.

Note: The local host cache must be recreated on all servers or on the zone data collector of the farm if the dscheck command shows the servers in the database after removal, and run the command dscheck with the clean switch to remove them.

More Information

Queryds utility is located on the XenApp install media under the support > debug folder.

CTX134966 – Citrix Diagnostics Toolkit – 32bit Edition

CTX135075 – Citrix Diagnostics Toolkit – 64bit Edition

CTX111961 – CDFControl

CTX130147 – Citrix Scout

CTX124406 – DSCHECK – XenApp Data Store Checker Tool Commands

CTX133983 – IMA Helper Tool


Citrix XenApp 6.5 – Register a MIME type extension

$
0
0

This document is intended to explain how a new file type could be registered on Windows Server 2008 R2 and delivered via XenApp 6.5.

There are a few ways you can associate a file in Windows Server 2008 R2.  You can choose manually select the program to open and select always open this type of file with this program, or you can associate the file type under default programs in the Control Panel.  Since we are using roaming profiles, these user settings are immediately lost upon log off.  Attempting to associate the file under the administrator account will not apply to all users either.

Furthermore, under the Citrix console you can associate files for published applications within the Content Redirection properties in the published application.  This useful feature applies specific file types to always open with the published application.  The only downside to this is Citrix searches the registry of your XenApp servers to determine what file extensions can be associated.  The resolution is to manually associate the file type using the assoc and ftype commands on the XenApp server.

File type Registration process

 

Logon to the Windows Server 2008 R2 machine and open a cmd prompt in Administrator mode.

The assoc command allows you to associate the file type with a description:  

assoc .dwg=Drawing Files

ftype Drawing Files=”Program file path\program.exe” “%1″

SYNTAX

Assoc <extension>=<description of the file>

Ftype < description of the file>=”<Install path or network Location of the file>” “%1”

 Image

 

Once these commands are entered, update your farm with the new file types.  Right click on the XenApp server > Other tasks > Update file types from the registry.   The file type will then show up under Content Redirection for the published application and you can apply it to all servers publishing this application.


Unable to use Netscaler 10.1 GUI – Java issues

$
0
0

Hi Folks,

The below is another little trick to get the Netscaler GUI work with Java. Java is known for its quirky software, sometime it is opens a big hole in the network luring all the hackers to have a crack at it and sometime to get it working the way it should, it takes some magic configurations. I am going to talk about here about one such magic tweak to get the Netscaler GUI working.

I have a Netscaler VPX 10.1 setup( latest of the Netscalers out there) at the time of writing this and Java 7 update 25 installed. The administration GUI loads fine in IE9, IE8, Mozilla FF 22 and i am able to successfully login but when i access any of the Java based wizards it times out with the below message. It doesn’t really matter what browser you use, i have been getting this from IE 9 and it may differ in some others.

Capture

 

Things to check first

  1. Ensure that the ports 3010 and 3008 for HTTP and HTTPS respectively are open for Java console connectivity.
  2. Proxy Server – Verify your browser and java proxy settings. Don’t overlook the java proxy settings and assume it matches/defers to your browser. This was ultimately my customer’s problem. Easiest way to test for errors is connecting to the java port from within your browser, e.g. http://<NSIP&gt;:3010 or https://<NSIP&gt;:3008. We had to change the java proxy settings to “Use Direct Connection” to resolve the launch issue.
  3. Ping and SSH Checks – Ensure that the Netscaler responds to ICMP and SSH requests
  4. Java Temporary cache files – delete the temp cache files for Java by accessing the Java Control Panel as belowCapture1
  5. Java Advanced Settings – Disable Mixed Code Security verification and certificate Revocation Checks - This is what my issue was and as soon as i did this, i was able to load the GUI from any browser regardless of the browser versions. I have however only tested this from java 7 update 25 but i don’t see any reason why it shouldn’t run for previous versions of Java

Capture3

 

I am sure there are a lot many people with these weird issues out there with the Netscaler GUI out there when there are too many changes happening to Java(due to the recent security issues) and Netscaler builds. i would really be glad if this helps someone out there.

 

Cheers

 

 


Slow loading Citrix Storefront Page and Storefront Console

$
0
0

I always loved the good old Citrix Web Interface; but being one of the products from Citrix, pretty much every single product will eventually be put to rest to open the door for newer technologies and advancements in Citrix delivery framework.

Lately I have been working on a big deal on the Storefront side of things and one thing i have noticed is the slow loading times for the Citrix login page and the Storefront console. The below are 3 neat little things that you can do to make the storefront run faster.

  1. Disable NetBIOS over TCP/IP in the network adapter properties
  2. Add the .NET code to the ASPNET.CONFIG file. I have made the changes to the files in the following 2 folders Microsoft.NET\Framework and Microsoft.NET\Framework64 directories. This changes are even endorsed by Citrix by their KB here. The below is the code that you need to add towards the end of the line.

<?xml version=”1.0″ encoding=”utf-8″?>
<configuration>
<runtime>
<generatePublisherEvidence enabled=”false”/>
</runtime>
</configuration>

 

3. Also uncheck the below 2 settings in the advanced tab under Security

Capture4

 

Your SF page will load much faster after this!

 

 

 


Citrix StoreFront 2.0 – Implementation Guide from Citrix

$
0
0
    Download the document here

XenDesktop 7 Blueprint


Citrix Store front planning guide

Http/1.1 Internal Server Error 29 – Netscaler

$
0
0
I have been getting the error message “Http/1.1 Internal Server Error 29″ on a NetScaler page soon after authentication. The customer environment has NetScaler 10.1 Build 118.7 nc VPX and StoreFront 2.0. In my case, it turned out to be the DNS resolution from the NetScaler to the StoreFront server. The issue will go away […]

Enable Citrix StoreFront tracing

$
0
0
I recently had to install Citrix StoreFront 2.0 for a customer and it kept failing for some unknown reasons. That’s when you need the StoreFront tracing to pinpoint the issue. Open PowerShell in Admin mode And type the below commands Add-PSSnapin Citrix.DeliveryServices.Framework.Commands Set-DSTraceLevel -All -TraceLevel Verbose That’s it. you are all set. the trace files […]

Access Gateway Enterprise Edition 10.x config « What Would Dan Do?

$
0
0
Access Gateway Enterprise Edition 10.x config « What Would Dan Do?.

Access Gateway Enterprise Edition 10.x config

$
0
0
Reblogged from What Would Dan Do?: A colleague of mine, Matthew Allen who is fucking amazing on the Netscaler and I created this config after some trial and error and a call to Citrix support. This config should support all of the new Citrix Receiver clients with CloudGateway Express, CloudGateway Enterprise (AppController) as well as […]

How to Configure ICA Proxy for XenApp & XenDesktop for Citrix Receiver for iPhone, iPod, iPad – Deployment Guide

$
0
0
I came across this super informative document from Citrix detailing the setup of Citrix access on iPads and other iOS devices. The document has been written for the older version of Netscaler and XenDesktop versions but i would think there isnt much changes in terms of configuration so is worth a look. Solution Requirements Windows […]

How to – Generate Self-Signed Certificates for NetScaler AGEE – Step by step Deployment Guide

$
0
0
I have had to do this in numerous occasions and always had an issue in remembering the steps required to successfully create a self-signed certificate via Netscaler. So here you go , we have this well documented step-by-step stuff from Citrix themselves. The document is available for download here

Citrix/Windows troubleshooting using Microsoft Exchange Server Error Code Look-up tool

$
0
0
This tool is immensely helpful to determine error values from decimal and hexadecimal error codes in Microsoft Windows operating systems. Though Microsoft says that the tool is developed for MS Exchange, this works pretty well for any other deployments which runs Windows operating systems. The link to download the tool is  here below http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=985# This […]

XenDesktop 7.0 – Users Unable to launch apps and desktops – Desktop Viewer flashes and dissapears

$
0
0
Hello There, I thought I will document this as this is one of the simple and harmless setting that could ruin a lot of time and effort when you are running on tight deadlines to finish the project. In one of the recent deployments in XenDesktop 7, I came across an issue with the users […]

Migrating from Web Interface to StoreFront | Citrix Blogs

$
0
0
Migrating from Web Interface to StoreFront | Citrix Blogs.

Unable to provision VMs via Citrix MCS – Invalid Configuration for device “10″

$
0
0
Folks, Here is another issue with XenDesktop 7 when provisioning VMs using Citrix Studio via Machine Creation Services (MCS). My environment is XenDesktop 7 Machine Creation Services VMware vSphere 5.1 Server 2012 Hosted Shared Catalogs   Citrix Studio reported the error that I could pick up later from Event Viewer on the Desktop Delivery Controller […]

Unable to install .NET 3.5 on Windows Server 2012 / Unable to install VMware vSphere client on Server 2012

$
0
0
I have had to install VMware vSphere Client 5.1 on a Windows Server 2012 machine which I thought initially quite easy to do. Guess what, the installation failed giving me the below error message. I approached Google for an answer and found out that .NET 3.5 need to be present for the installation to complete […]
Viewing all 118 articles
Browse latest View live




Latest Images