Updates from QA Training

Compilation error when using the App-V 5.0 Management Server Console

I tried installing the App-V 5.0 management server software the other day and came across a permissions problem. Here’s how I solved it.


Mark Cresswell | 14 January 2013

I tried installing the App-V 5.0 management server software the other day and came across a permissions problem. Here’s how I solved it.

I recently tried installing the App-V 5.0 management server software and came across a permissions problem. I was installing it on a fresh build of Windows Server 2008R2 onto which I installed all the prerequisites as listed in the 5.0 Trial Guide. These included:

Microsoft .NET Framework 4.0.
C++ 2010 SP1 Redistributable (Both 64-bit and 32-bit)
PowerShell 3.0
Microsoft Silverlight.

I followed the instructions in the trail guide and all appeared to go well until I tried to start the Microsoft Application Virtualization Management Server console upon which I got the following compilation error:

Compiler Error Message: CS0016: Could not write output file 'c:\windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET files\root\4967e9b0\dee13e16\App_global.asax.u3ee2hu3.dll' - Access is denied

Source Error:

[No Relevant source lines]

Source File:   Line: 0

The error indicated that the application/compiler did not have permission to the C:\WINDOWS\Microsoft. NET \ Framework64 \v4.0.30319\Temporary ASP. NET Files\root directory but on a closer look it appears that creator owner has the modify permission.

It would appear that the compiler, running under the security context of the application pool in which the management server service is running, in this case Network Services, first creates its files in the C:\Windows\Tempfolder before moving them to theTemporary ASP.NET Filesfolder.

To solve this problem simply grant the Network Service account Modify permission to the C:\Windows\tempfolder.

For more information on designing, deploying and managing a virtual Windows Server 2012 application management infrastructure, ask us about our new  Implementing Desktop Application Environments  course.

Mark Cresswell

Mark Cresswell

Principal Technologist

Prior to QA 16 years ago Mark had a long career with Unisys initially working on Mainframe and then Microsoft Server products. As a Principal Technologist he works on the leading edge of technologies and enjoys getting “under the hood” to see what makes things tick. Area of expertise: Microsoft Desktop deployment, Optimization and Collaboration. Specialising in Med-V, App-V , RDS, VDI, Forefront Edge and AV Products, Exchange, SharePoint and Microsoft Deployment Technologies.
Talk to our learning experts

Talk to our team of learning experts

Every business has different learning needs. QA has over 30 years of experience in combining the highest quality training with the most comprehensive range of learning services, ensuring the very best fit for your organisation.

Get in touch with our learning experts to talk about how we can help.