Skip to content

All of a sudden my Mac users started complaining that they are unable to connect to or add a new Store to Citrix Receiver for Mac. Right after entering the NetScaler's URL and hitting Add, they receive an error stating "Could not detect the specified account" and "The server might be invalid or may be unavailable at this time. Make sure the URL is correct and check your network connection."

mac_error_01

mac_version_01

Nothing has been changed. Receiver for Mac was the latest version v12.1. No network issues, Safari works just well, navigating to the NetScaler URL, entering credentials, and launching a Citrix session. No certificate issues. Nothing, just as expected. I tried the script as mentioned here, but to no prevail.

Solution:

As all users came in from external networks through NetScaler, I had to disable EdgeSight Monitoring (HTML Injection) in NetScaler's System | Settings | Configure Advanced Features:

mac_error_02

In my case I didn't have to disable AppFlow on my NetScaler's vServer as described by other users having the same issue. It already worked for me after disabling HTML Injection alone:

mac_error_03

The same goes for having issues while connecting with Citrix Receiver for Android, receiving an error stating "An error has occurred while connecting. Check your server address and data connection". Have a look at Jason Samuel's blog article as well.

Further reading:

Citrix StoreFront - Upgrade v3.0.0.45 to v3.5.0.23 fails and the Application Event Log shows an Event ID 0, Source: Citrix Extensible Meta-Installer, stating:

sf_upgrade_error_00

Timestamp: 22.03.2016 11:28:18
Category:Error, WinError
Message:Installation of '..\CitrixStoreFront-x64.msi' failed with error code 1603. Fatal error during installation

With an failed upgrade log files can be found in C:\Windows\Temp\StoreFront\, e.g.:

sf_upgrade_error_04

  • Citrix-DeliveryServicesRoleManager-2016-03-22 11-27-00.log
  • CitrixMsi-CitrixStoreFront-x64-2016-03-22-11-27-21.log

But checking CitrixMsi-CitrixStoreFront-x64-2016-03-22-11-27-21.log revealed nothing useful, except this:

MSI (s) (04:10) [11:28:07:090]: Note: 1: 1708
MSI (s) (04:10) [11:28:07:090]: Product: Citrix StoreFront -- Installation failed.
MSI (s) (04:10) [11:28:07:091]: Windows Installer installed the product. Product Name: Citrix StoreFront. Product Version: 3.5.0.23. Product Language: 1033. Manufacturer: Citrix Systems, Inc.. Installation success or error status: 1603.

In Citrix-DeliveryServicesRoleManager-2016-03-22 11-27-00.log I did find something more useful:

[22.03.2016 11:53:02][5224][Information]   ExitCode = "1603"
[22.03.2016 11:53:02][5224][Information]   ExitCode.Reason = "Installation of DeliveryServicesRole failed."

As the following suggestions did not work for me neither:

  • delete c:\inetpub\wwwroot\Citrix\Storename\App_Data\CtxsWebProxyIconCache\ folder (backup prior to deleting!)
  • delete c:\ProgramData\Citrix\Storefront Install\3.0.0.44 folder
  • run StoreFront setup executable again

I had to look further, as pointed out here:

Installer can have issues in converting/migrating the custom configuration you might have put in. Although it may be pointing to Authentication however its possible that issues are in STORE\Web.config file.

So I checked my own web.config file, placed in C:\inetpub\wwwroot\Citrix\StoreWeb, but didn't find any refernces to any bogus, e.g. generatePublisherEvidence, which might have been put there working with an earlier version of StoreFront:

Per Citrix Support: This was a setting that was in place for web interface, some customers may have had this implemented and once updated may have copied their web.config files over as well. This setting was not tested with Storefront and is the reason why the installer fails because its not a standard in the XML file.

Furthermore it's suggested to check any custom configurations you may have applied to your StoreFront setup, i.e.

  • Customize Receiver Appearance
  • Manage Featured App Groups

I reverted any of my StoreFront's Stores to Classic Experiences (which saw me losing my Enhanced Experience and Featured App Groups settings flushed down the drain in the process), but to no prevail:

sf_upgrade_error_02

sf_upgrade_error_03

The Application Log's error code 1603 pointed me to Citrix Discussions:

I had the same 1603 error when trying to do an in-place upgrade from StoreFront 3.0.0.45 to 3.5.0.23.  Tried several reboots and many other troubleshooting steps including all suggestions above, but what worked for me in the end was to install 3.0.1.57 first, reboot, then install 3.5.0.23 on top of that.

This left me with the only choice that seems to work right now, but.... it did not work for me!

For valid upgrade paths to the latest StoreFront v3.5 have a look at Citrix eDocs.

Solution

As the aforementioned error code 1603 is generated by the MSI installer technology and thus not Citrix specific, I dug deeper into that error code and found CTX126640:

Note: The 1603 exit error is a generic installation error which stands for Fatal error during installation. Refer to the MSI installation logs for further traces because this problem does not apply to every situation.

Problem Cause
A previous installation of a Microsoft Visual C++ Redistributable package may cause the installation process to fail.

I compared a working StoreFront v3.5 setup with my failing v3.0 setup and identified several Microsoft Visual C++ 2008 Redistributable packages installed on the failing system:

sf_upgrade_error_05 sf_upgrade_error_06

I decided to remove any of the Microsoft Visual C++ 2008 Redistributable packages and launched the StoreFront v3.5 upgrade executable once more - ét voila! It worked! Problem solved.

Further reading:

Just recently I came upon an Microsoft KMS error stating Error 0x80070054 - Storage to process this request is not available.

tmos_01

This error was quite annoying as at first I didn't had a clue what this was all about. The error message itself could be quite misleading and left me poking in the dark... Eventually I found a possbile solution.

This blog article as been updated. Pls consult the updated section at the bottom of my post.

...continue reading "Microsoft KMS / VAMT v2.x and v3.x – Error 0x80070054 – Storage to process this request is not available"

This one's quite easy, actually. Did you ever wonder how to remove those GoTo Icons from your StoreFront Store and/or Start Menu Shortcuts?

...continue reading "Citrix StoreFront – Remove GoToMeeting et al from Published Applications"

Did you ever wonder how to get rid of those orphaned Citrix Start Menu Shortcuts and/or folders?

Well, wonder no more! Here is the script (Remove-CitrixShortcuts.ps1) to remove any Citrix-related shortcut (lnk file extension) from selected Paths.

...continue reading "Citrix Receiver for Windows – Remove orphaned Start Menu Shortcuts and/or Folders"

In case you try to open an attachment directly from within Outlook 2013 by double-clicking the corresponding Office file in the affected email, i.e. an .xlsx, .docx., or .pptx file extension, you might receive an error stating:

Word experienced an error trying to open the file or
Excel experienced an error trying to open the file or
Powerpoint experienced an error trying to open the file

with a subsequent error description of:

  • Check the file permissions for the document or drive.
  • Make sure there is sufficient free memory and disk space.
  • Open the file with the Text Recovery converter.

The German error message states:

Microsoft Excel kann keine weiteren Dateien öffnen oder speichern, da nicht genügend Arbeitsspeicher oder Festplattenspeicherplatz vorhanden ist.

  • Schließen Sie andere Arbeitsmappen oder Programme, die Sie nicht mehr benötigen, um mehr Speicherplatz verfügbar zu machen.
  • Löschen Sie nicht mehr benötigte Dateien vom Datenträger, um mehr Speicherplatz verfügbar zu machen.

German error message:

protected_view_00_german

English error message:

protected_view_00_english

In that case you're victim of Microsoft Office 2013's File Block Settings and Protected View Settings. The error message can be quite misleading as this is not an Exchange or Outlook issue. Instead it's directly related to the Microsoft application you're trying to open the affected attachment with.

You may follow the steps below to disable the Protected View in the corresponding Office applications:

Open Word/Excel/Powerpoint | File | Options | Trust Center | Trust Center Settings | Protected View

Uncheck all the options mentioned below and then try to open Word/Excel/Powerpoint attachment and check if it works fine:

  • Enable Protected View for files originating from the Internet
  • Enable Protected View for files located in potentially unsafe locations
  • Enable Protected View for Outlook attachments
  • Enable Data Execution Prevention mode

You may follow the same steps for other Office applications or configure them company wide via Group Policy Settings, e.g.:

  • User Configuration | Policies | Administrative Templates | Microsoft Excel 2013 | Excel Options | Security | Trust Center

protected_view_01

  • User Configuration | Policies | Administrative Templates | Microsoft Excel 2013 | Excel Options | Security | Trust Center | Protected View

protected_view_02

  • User Configuration | Policies | Administrative Templates | Microsoft Excel 2013 | Excel Options | Security | Trust Center | Trusted Locations

protected_view_03

1

Citrix Receiver for Mac - Session Printer Mapping Issues - Printers don't show or won't get mapped

Update: Have a look at Carl's article as well: Print Driver for Non-Windows Clients

As per Citrix CTX140208 and CTX139020:

When non-Windows Receivers connect to a Windows 2012 Server with Universal Print Driver (UPD) options configured for client printers, the Post-script (PS) and PCL drivers might not be available, therefore the printers will not get auto-created. As a workaround, to use the Citrix UPD for non-window Receivers, like Mac and Linux, install appropriate drivers on the server manually:

  • PS driver = HP Color LaserJet 2800 Series PS
  • PCL4 driver = HP LaserJet Series II
  • PCL5c driver = HP Color LaserJet 4500 PCL 5

With my Windows Server 2012 R2 I ran into some issues. While trying to add the aforementioned Printer Drivers manually I realized that something was wrong:

hp_cllj_2800_ps

As you can see from the screenshot the button Windows Update is unavailable. This left me with investigating why that is the case. After a little bit of research I ended up with two possible solutions:

  1. Configure the corresponding registry settings for Windows Update
  2. Install a local printer and chose the appropiate model/driver as listed above

Configure Windows Update via Registry:

  1. Run registry editor. Click Start then type regedit and press Enter
  2. Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\DriverSearching
  3. Change value of REG_DWORD DontSearchWindowsUpdate to 0
  4. Change value of REG_DWORD DontPromptForWindowsUpdate to 0
  5. Run a Command Prompt. Click Start then type cmd and press Enter
  6. Execute gpupdate /force

Furthermore I found this in the comments here:

HKLM\Software\Policies\Microsoft\Windows\DriverSearching - REG_DWORD - searchorderConfig = 0
This removes that Windows Update button from the Add Printer Wizard. You can either set this key to "2", or just delete the key to restore the Windows Update button.
This is the "Disable automatic updates of drivers from Windows Updates" feature above.

Install printer locally:

Whereas adding just the required drivers left me with no Windows Update button to click, I found this article pointing me in the right direction:

I had the same issue, but found it only occurred when I was trying to add a network printer. When I try to add a local printer the button shows up. So..... I installed a local printer, allowed Windows Update to download the new drivers and then deleted the local printer. Next I add the network printer again, but this time, because the list of drivers has been refreshed, I didn't need the Windows Update button because my printer is now in the list.

Upon reading CTX140208 once more it became obvious and clear that I didn't read the article with the required attention to detail, as it clearly states:

  1. From the Windows Server 2012, choose Add a printer from Devices and Printers.
  2. Continue through the wizard as if you are adding a local printer though it is not attached.
  3. Click Add a local printer > select LPT1: (Printer Port) > click Windows Update.

Silly me!


2015-11-09 Update:

As Alexander Gassner pointed out here I could have checked my Device Installation Settings as well, as they tend to prohibit the Windows Update functionality too:

  • either go for Control Panel | Change Device Installation Settings
  • or search for Change Device Installation Settings

dev_inst_01

  • Select both No, let me choose what to do + Always install the best driver software from Windows Update
  • and hit Save Changes

dev_inst_02


I launched Print Management console, drilled down to the Printers node, right-clicked it and chose Add Printer:

add_printer_01

Then selected Add a new printer using an existing port with LPT1:

add_printer_02

Then selected Install a new driver:

add_printer_03

The Windows Update button was finally there, I hit it, and waited for the updated drivers to get downloaded:

add_printer_04 add_printer_05

Afterwards I was able to select the required drivers and install the required printers:

add_printer_06

As Citrix pointed out in CTX139020, "if there are two versions of this driver displayed, choose the Microsoft version".

In the end it looked like this:

add_printer_07

Further reading:

Almost everybody has struggled with the now infamous Error 1030 (The connection to "ApplicationName" failed with status (1030)) when connecting with Citrix Receiver for Windows to XenDesktop through NetScaler and StoreFront. There even is an whole armada of articles available out there, totally dedicating their content to troubleshooting this quite generic network error indicating that the connection has failed. Just google it!

error_1030_4

The solution to this error? Well, it depends...

...continue reading "Citrix Receiver for Windows – The connection to “ApplicationName” failed with status (1030) – Updated"

Citrix XenDesktop 7.x - Black Screen when connecting to Published Desktop

When connecting to a Windows Server 2008 R2 Published Desktop (provisioned as a VM, not a physical machine) with XenDesktop 7.x you might receive a black and blank Desktop, no Desktop Icons are shown, and the Desktop stays that way:

black_screen_1

Whereas connecting with RDP works normally, as long as the users are members of the local group Direct Access Users.

There are no significant Warnings and/or Error messages in the corresponding server's Application and/or System Event Log. Everything seems to look and work as expected. In my case the error started showing up after moving the VM from one Hyper-V server to another Hyper-V server.

...continue reading "Citrix XenDesktop 7.x – Black or Blank or Blue Screen when connecting to Published Desktop"

After upgrading my existing and fully functional NetScaler v10.5 Build 57.7 to the latest v11.0 Build 55.23 and implementing Unified Gateway for XenMobile and XenDesktop, my users were unable to SAML authenticate with ShareFile, i.e.

  • by using their MDX wrapped ShareFile app on iOS devices and locking it into an endless authentication loop without any errors:

Photo_20150714_081802

  • by using their ShareFile Outlook Plugin in order to send Download and/or Upload links as they received an error stating Authentication Error - http/1.1 Service Unavailable while trying to utilize the Browser Login included with the ShareFile Outlook Plugin Configuration Wizard:

sharefile_saml_6

  • by authenticating to our company's custom ShareFile SAML Login page via Browser:

sharefile_saml_11

...continue reading "Citrix ShareFile – SAML Authentication Error after upgrading to NetScaler v11 and Unified Gateway – http/1.1 Service Unavailable"