What have I done? - changed ownership of sqlncli.rll in SysWOW64-VBForums
Results 1 to 4 of 4

Thread: What have I done? - changed ownership of sqlncli.rll in SysWOW64

  1. #1

    Thread Starter
    Super Moderator FunkyDexter's Avatar
    Join Date
    Apr 2005
    Location
    An obscure body in the SK system. The inhabitants call it Earth
    Posts
    6,520

    What have I done? - changed ownership of sqlncli.rll in SysWOW64

    I've spent the last 2 days trying to install VS Community edition 2017 and boy was it painful. Basically, I just repeatedly got errors saying it couldn't install sqlncli due to a lack of privileges. Running the installer as administrator didn't make any difference. I also tried installing SQLServer and got the exact same problems. Lots of googling taught me that I could take ownership of the file and give full control permissions to everyone so that's what I've done and the installs now work fine. Before taking ownership it showed as owner unknown and nobody had permissions.

    However, as sledgehammers cracking nuts goes this feels like a potential wrecking ball. That's obviously some sort of system file (It sits in Windows>SysWOW64>1033) and opening it up to the world feels pretty dangerous. I want to know I haven't left a massive security hole in my PC.

    For now I've removed the permission again but I'm curious to know what the permission should look like. Particularly as I notice that the other files in the same folder have the same permission set up (ie the set up before I made any changes - nobody has any permissions). Presumably that's not as it should be because that will prevent other installations from running.

    So, anyone want to chip in and tell me what these files and folders are supposed to look like.
    You can depend upon the Americans to do the right thing. But only after they have exhausted every other possibility - Winston Churchill

    Hadoop actually sounds more like the way they greet each other in Yorkshire - Inferrd

  2. #2
    .NUT jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    97,690

    Re: What have I done? - changed ownership of sqlncli.rll in SysWOW64

    Here's what mine looks like.
    Attached Images Attached Images      
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3
    .NUT jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    97,690

    Re: What have I done? - changed ownership of sqlncli.rll in SysWOW64

    I would assume that "sqlncli" has something to do with SQL Server Native Client.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  4. #4

    Thread Starter
    Super Moderator FunkyDexter's Avatar
    Join Date
    Apr 2005
    Location
    An obscure body in the SK system. The inhabitants call it Earth
    Posts
    6,520

    Re: What have I done? - changed ownership of sqlncli.rll in SysWOW64

    Thanks JM.

    Yeah, I'd managed to track down that it was SQLServer Native Client but it's obviously doing a whole lot more than SQLServer given the problems it was giving me. I kinda wonder if they use it as some sort of communication device for the installs or something.

    Anyway, those screenshots should be everything I need to emulate the same. Thanks hugely.
    You can depend upon the Americans to do the right thing. But only after they have exhausted every other possibility - Winston Churchill

    Hadoop actually sounds more like the way they greet each other in Yorkshire - Inferrd

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width