System.UnauthorizedAccessException: Access to the registry key 'Gl

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.
 
W

Wilson, Phil

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top