Re: SecurityException for registry access while opening SQL Connection

From: Brian Noyes (brian@softinsight.com)
Date: 02/13/03


From: "Brian Noyes" <brian@softinsight.com>
Date: Thu, 13 Feb 2003 13:51:22 -0800


Actually, I have it occurring on two machines, and it gets reset every time
I restart the machine. I used regmon at boot up to see who is doing it, and
the only service touching that reg key is sql server itself. It appears to
be recreating the keys every time it starts up, but not setting the
permissions properly.

I talked to a couple of people at VSLive this week who have seen the same
thing but had not tracked down the cause.

I post on the SQL groups to see if someone there knows cause and resolution
(other than reseting the key permissions after every start up, which is what
I am doing nowq).
Brian
"Bassel Tabbara [MS]" <basselt@online.microsoft.com> wrote in message
news:VA96eG8xCHA.2492@cpmsftngxa08...
> Hello Brian,
> I am glad that you found the solution for this problem.
> It might be that installing some of the software on this machine has
> changed the permissions on this key.
> I don't think there might be another reason for this.
>
>
> Thanks,
> Bassel Tabbara
> Microsoft, ASP.NET
>
> This posting is provided "AS IS", with no warranties, and confers no
rights.
>
>
> --------------------
> | From: "Brian Noyes" <brian@softinsight.com>
> | References: <eJyhwOuxCHA.2648@TK2MSFTNGP11>
> <nJkYBvwxCHA.2732@cpmsftngxa08>
> | Subject: Re: SecurityException for registry access while opening SQL
> Connection
> | Date: Tue, 28 Jan 2003 18:43:35 -0500
> | Lines: 18
> | X-Priority: 3
> | X-MSMail-Priority: Normal
> | X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
> | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
> | Message-ID: <OzOqLcyxCHA.2684@TK2MSFTNGP11>
> | Newsgroups: microsoft.public.dotnet.framework.aspnet.security
> | NNTP-Posting-Host: pool-138-88-80-198.res.east.verizon.net 138.88.80.198
> | Path: cpmsftngxa08!cpmsftngxa06!TK2MSFTNGP08!TK2MSFTNGP11
> | Xref: cpmsftngxa08
microsoft.public.dotnet.framework.aspnet.security:3826
> | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.security
> |
> | 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: How to modify program files in Vista?
    ... create it within HKLM and change the permissions. ... INI files have the advantage that most users with access to notepad can ... Security policies ... We were writing a module that validated device drivers found on target machines against ...
    (microsoft.public.vc.mfc)
  • Re: Windows user controls in a web page: Security
    ... I then tried on more machines (I was using 3 real ... Create a windows user control, ... Select the permissions your control will need and then click "Add ... use "URL", for example, to only authorize assemblies coming from one URL. ...
    (microsoft.public.dotnet.security)
  • Re: Publishing Software...
    ... I may have to recant my thoughts about it being a permissions issue, ... domain workstation security policy and then lock it down and reapply that. ... >> Are the users on the machines in question, members of the local Administrators group?? ... >> User Rights configuration was completed with one or more errors. ...
    (microsoft.public.windows.server.sbs)
  • Re: ubuntu xp vmware cluster f...er...filesharing
    ... virtual machines. ... The common workspace should be accessible no matter ... I've tried the built-in file sharing but it fails because permissions ... I tried Samba but I could not get ubuntu to consistently ...
    (Ubuntu)
  • Re: Access Denied and Lack of Permission in XP Pro Home Network
    ... >There is a problem with access and permissions with our home netwrok. ... After installing through the XP network wizard, all machines may see the ... Are you entering "ping othercomputer" in a command window? ...
    (microsoft.public.windowsxp.network_web)