I was recently assigned a case by another engineer. The problem was that a user on XenApp was not able to use an application that they were previously able to. The user would get a generic “Access Denied” by the application which was a .net application published on XenApp. The Administrator account WAS able to run the application
After discussing it further with the engineer who worked on it previously it appears that an update was done to the application prior to this issue arising.
The first thing we tried was to temporarily escalate the permission level of a test user. We granted a user local administrator rights as a temporary test. The user received the same error. At this point we knew it was nothing to do with the usual folder/file/registry permissions error since the user still could not access the application.
At this point I turned to an old favorite RegMon from Microsoft.
With Regmon running I was able to launch the application as the user up to the point they were denied access. I reviewed the Regmon log and came across the following:
Why was the user trying to access a dll in another users profile? I copied that dll “scrrun.dll” to c:\windows
i then registered teh dll using regsvr32 c:\windows\scrrun.dll
Once the dll was registered I then had the normal user test the application. The user was able to access the application=Success!
The moral of the story was that the other administrator applied the update to the application without doing a change user/install. I bet he wont do that again!
Scott