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
Microsoft .NET Framework 4.0.
C++ 2010 SP1 Redistributable (Both 64-bit and 32-bit)
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
[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.