System.UnauthorizedAccessException: Access to the registry key 'Gl

  • Thread starter Thread starter Huey Hoague
  • Start date Start date
H

Huey Hoague

I have tried to start implementing the windows workflow foundation for some
of my apps and I just tried to roll my first one to QA and hit a snag. The
moment I try to bring up an instance of the workflow runtime I am getting an
error: System.UnauthorizedAccessException: Access to the registry key
'Global' is denied. I was hoping to adopt this technology into a lot of my
future application but I can’t have all of programs requiring administrator
rights on the machines. I don’t see how it can be any coding issue since all
I am doing is calling the Runtime.WorkflowRuntime.CreateWorkflow function.

I have done my usual hunting through the web with no success so I am now to
you folks.
 
I suspect this is related to the GAC or SxS, but unless you're adding
something to the GAC it's not clear why this would be an issue.

I've only ever seen that exception when AV software was prohibiting access
to keys it believes should be restricted, that may be worth looking at. But
again, if nothing is writing or updating a key called global it's not clear
why this would be an issue. Anything in the event log?
 
Back
Top