Home > Citrix > Citrix Web Interface 5.2 Installation Issue

Citrix Web Interface 5.2 Installation Issue

Recently I was installing the Citrix Web Interface 5.2 that comes with XenApp 5 Feature Pack 2.  I ran into difficulties when I attempted to login to the web page where the user enters their credentials.  This is the message I would receive in the web browser:

Internal Error
The Web site is experiencing technical difficulties. We apologize for any inconvenience.
The internal error may only be temporary. Try reconnecting and, if the problem persists, contact your system administrator.

This is the warning event I would receive in the Application event log:

Event Type: Warning
Event Source: ASP.NET 2.0.50727.0
Event Category: Web Event
Event ID: 1309
Date:  1/8/2010
Time:  1:53:01 PM
User:  N/A
Computer: CSG1
Description:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 1/8/2010 1:53:01 PM
Event time (UTC): 1/8/2010 8:53:01 PM
Event ID: 247591ab13784ae7bc1ae48e69b20e79
Event sequence: 1
Event occurrence: 1
Event detail code: 0
 
Application information:
    Application domain: /LM/W3SVC/1/ROOT/Citrix/XenApp-3-129284527813100000
    Trust level: 
    Application Virtual Path: /Citrix/XenApp
    Application Path: c:\inetpub\wwwroot\Citrix\XenApp\
    Machine name: CSG1
 
Process information:
    Process ID: 3744
    Process name: w3wp.exe
    Account name: NT AUTHORITY\NETWORK SERVICE
 
Exception information:
    Exception type: HttpException
    Exception message: The current identity (NT AUTHORITY\NETWORK SERVICE) does not have write access to 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files'.
 
Request information:
    Request URL: http://csg1.test.local/citrix/xenapp/auth/silentDetection.aspx
    Request path: /citrix/xenapp/auth/silentDetection.aspx
    User host address: 192.168.100.132
    User: 
    Is authenticated: False
    Authentication Type: 
    Thread account name: NT AUTHORITY\NETWORK SERVICE
 
Thread information:
    Thread ID: 1
    Thread account name: NT AUTHORITY\NETWORK SERVICE
    Is impersonating: False
    Stack trace:    at System.Web.HttpRuntime.SetUpCodegenDirectory(CompilationSection compilationSection)
   at System.Web.HttpRuntime.HostingInit(HostingEnvironmentFlags hostingFlags)

It turns out that the error is related to the Network Service account not having the proper file permissions to access the temporary ASP.net directory.  This command can be run from the command prompt to correct the permissions:

CACLS "%windir%\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files" /E /T /G "NT AUTHORITY\NETWORK SERVICE:C"

You should now be able to log in to the Web Interface without further errors.

References:

http://theether.net/kb/100139

Advertisements
Categories: Citrix Tags:
  1. kartik
    April 13, 2012 at 1:50 am

    I run the same command you have mentioed here but no luck still having same error .

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: