Visual Studio 2017 HRESULT: 0x80070005 / E_ACCESSDENIED on project creation

I had the same error.
I solved it by following the procedure :

  • Shutdown all instances of Visual Studio
  • Delete %LocalAppData%\Microsoft\VisualStudio\15.0_f4938f75\privateregistry.bin file (the ID after 15.0_ may be different per machines)
  • Start VS as normal user

all credit for this should go to https://developercommunity.visualstudio.com/content/problem/31188/access-denied-error-1.html

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)