0

I'm using the Cassia library to get terminal service information on Server 2008R2. Further more, this is being called from a ASMX web service. I'm having problems with an Access Denied error:

System.ComponentModel.Win32Exception: Access is Denied

I'm assuming this just means that my Application Pool needs to be added to a certain user group, but I'm not sure which one (had to do this before to read performance counters). Anyone know which?

Update: As I said in a comment under this post, adding the app pool to the admin group allowed the right access. However after a while (maybe a week or a few days), the access was auto deleted. Not sure if it was automatically done by some pre-included service or by another administrative user. However I don't really think this is the best way for this anyway. There's got to be a lower level group that would have access to terminal services. Any ideas?

Gerneio
  • 1,290
  • 10
  • 13

0 Answers0