Re: SecurityException for registry access while opening SQL Connection

From: Brian Noyes (brian@softinsight.com)
Date: 01/29/03


From: "Brian Noyes" <brian@softinsight.com>
Date: Tue, 28 Jan 2003 18:43:35 -0500


Hi Bassel,
Thanks much, that did the trick for tracking down and fixing the problem.
The cause is still a mystery to me.

RegMon showed that the key getting an ACCESS DENIED was
HKEY_LOCAL_MACHINE\SOFTWARE\Description\Microsoft\Rpc\UuidTemporaryData

Comparing permissions on that key on the bad and good machines showed that
somehow most of the permissions and some of the users that have access to
that key were somehow removed on the bad machines. If you have any clue what
might cause that let me know. Wonder if it was some errant install or
uninstall I ran on both machines at some point.

If not, no biggie. Thanks much for the fix, and for adding another
technique/tool to my debugging/troubleshooting bag of tricks!
Brian



Relevant Pages

  • Re: SecurityException for registry access while opening SQL Connection
    ... Actually, I have it occurring on two machines, and it gets reset every time ... (other than reseting the key permissions after every start up, ... > Microsoft, ASP.NET ... > | RegMon showed that the key getting an ACCESS DENIED was ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • subform total
    ... Please help me with this mystery: ... Everything else in this file works OK on both machines. ... box giving us trouble. ... Prev by Date: ...
    (microsoft.public.access.formscoding)