Can't figure out why SQL 2012 SP3 Express installation is failing

  • One of the software we use requires SQL 2012 express, but installation fails every time with the error "Attempted to perform an unauthorized operation"

    I've looked online everywhere and tried things from editing the registry permissions and running the installer with highest privileges, no luck. https://9apps.ooo/

    I was in contact with customer support from the vendor software and they were able to replicate the issue, but also don't know why the installation fails.

    • This topic was modified 1 month, 2 weeks ago by  axpresbom.
  • You need to look at the logs. There's just not enough information to go on here. Here's a little help.

    ----------------------------------------------------
    The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood...
    Theodore Roosevelt

    The Scary DBA
    Author of: SQL Server 2017 Query Performance Tuning, 5th Edition and SQL Server Execution Plans, 3rd Edition
    Product Evangelist for Red Gate Software

  • Are you trying to install SQL fresh OR is this an upgrade of SQL 2012 to SP3?  Have you had SQL Server 2012 installed on that machine (and potentially the same folder) before?

    Another possible scenario - do you have Edge installed on your machine?  Sounds unrelated, but I found this forum post:

    https://docs.microsoft.com/en-us/answers/questions/148323/windows-10-version-20h2-install-error-code-0x84bb0.html

    Where Edge needed to be installed and that fixed the problem. Mind you, in the case with Edge, that was SQL Server 2019; I don't think SQL Server 2012 knew Edge was a thing.

    Last few questions (again probably answered by looking at the logs) - are you using a supported OS for SQL Server 2012?  Windows Server 2019 (for example) is not supported for SQL Server 2012.  That being said, I've read that it works.

    Is your server fully patched?  Do you have enough disk space?

    And the very last question (which should have been the first, but Grant already mentioned it, so I wasn't trying to just repeat his suggestion) - what is in the logs?  The logs will tell you why it failed, what it failed on, and possibly even how to fix it.  That's what the logs are for!

    The above is all just my opinion on what you should do. 
    As with all advice you find on a random internet forum - you shouldn't blindly follow it.  Always test on a test server to see if there is negative side effects before making changes to live!
    I recommend you NEVER run "random code" you found online on any system you care about UNLESS you understand and can verify the code OR you don't care if the code trashes your system.

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply