Pluging can't installed (ReSpeller Free; StyleCop). All some error: Access denied Follow
Hello,
I use Visual Studio 2017 and I can't all Extension to ReSharper. View error:
15:26:36.612 |E| ExtensionManagerViewModelProvider | Access is denied.
--- EXCEPTION #1/2 [UnauthorizedAccessException]
Message = “Access is denied.”
ExceptionPath = Root.InnerException
ClassName = System.UnauthorizedAccessException
HResult = E_ACCESSDENIED=COR_E_UNAUTHORIZEDACCESS=Win32AccessDenied=80070005
Source = JetBrains.Platform.Core
StackTraceString = “
en JetBrains.Util.Win32FileSystemWriteHandler.CreateDirectory(FileSystemPath it)
en JetBrains.Util.Win32FileSystemInteraction.CreateDirectory(FileSystemPath thіs)
en JetBrains.Util.Win32FileSystemWriteHandler.CreateDirectory(FileSystemPath it)
en JetBrains.Util.Win32FileSystemInteraction.CreateDirectory(FileSystemPath thіs)
en JetBrains.Util.Win32FileSystemWriteHandler.CreateDirectory(FileSystemPath it)
en JetBrains.Util.Win32FileSystemInteraction.CreateDirectory(FileSystemPath thіs)
en JetBrains.Util.Win32FileSystemWriteHandler.CreateDirectory(FileSystemPath it)
en JetBrains.Util.Win32FileSystemInteraction.CreateDirectory(FileSystemPath thіs)
en JetBrains.Util.Win32FileSystemWriteHandler.CreateDirectory(FileSystemPath it)
en JetBrains.Util.Win32FileSystemInteraction.CreateDirectory(FileSystemPath thіs)
en JetBrains.Util.Win32FileSystemWriteHandler.CreateDirectory(FileSystemPath it)
en JetBrains.Util.Win32FileSystemInteraction.CreateDirectory(FileSystemPath thіs)
en JetBrains.Util.Storage.Packages.JetPathFileSystem.EnsureDirectory(FileSystemPath filePath)
en JetBrains.Util.Storage.Packages.JetPathFileSystem.AddFileCore(String path, Action`1 writeToStream)
en JetBrains.Util.Storage.Packages.JetPathFileSystem.AddFile(String path, Stream stream)
en NuGet.FileSystemExtensions.AddFileWithCheck(IFileSystem fileSystem, String path, Func`1 streamFactory)
en NuGet.FileSystemExtensions.AddFiles(IFileSystem fileSystem, IEnumerable`1 files, String rootDir, Boolean preserveFilePath)
en JetBrains.Util.Storage.Packages.JetPathFileSystem.AddFiles(IEnumerable`1 files, String rootDir)
en NuGet.PackageManager.ExpandFiles(IPackage package)
en NuGet.PackageManager.OnExpandFiles(PackageOperationEventArgs e)
en NuGet.PackageManager.ExecuteInstall(IPackage package)
en NuGet.PackageManager.Execute(PackageOperation operation)
en NuGet.PackageManager.Execute(IPackage package, IPackageOperationResolver resolver)
en NuGet.PackageManager.InstallPackage(IPackage package, FrameworkName targetFramework, Boolean ignoreDependencies, Boolean allowPrereleaseVersions, Boolean ignoreWalkInfo)
en NuGet.PackageManager.InstallPackage(IPackage package, Boolean ignoreDependencies, Boolean allowPrereleaseVersions)
en JetBrains.UI.SrcView.Extensions.View.ExtensionManagerViewModelProvider.<>c__DisplayClass33.<>c__DisplayClass3f.<get_Model2>b__29()
en JetBrains.Util.ILoggerEx.Catch(ILogger thіs, Action F, ExceptionOrigin origin, LoggingLevel loggingLevel)
”
--- Outer ---
--- EXCEPTION #2/2 [LoggerException]
Message = “Access is denied.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = <NULL>
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
en JetBrains.Util.ILoggerEx.Catch(ILogger thіs, Action F, ExceptionOrigin origin, LoggingLevel loggingLevel)
en JetBrains.UI.SrcView.Extensions.View.ExtensionManagerViewModelProvider.<>c__DisplayClass33.<>c__DisplayClass3f.<get_Model2>b__28()
en JetBrains.UI.SrcView.ExtensionManager.ViewModels.ExtensionActionViewModel.Do()
en JetBrains.UI.SrcView.ExtensionManager.ViewModels.ExtensionManagerViewModel.<BeginInstallation>b__10(ProgressIndicator indicator, Property`1 description)
en JetBrains.UI.SrcView.ExtensionManager.ViewModels.ProgressPage.<>c__DisplayClass6.<Run>b__3()
en System.Threading.ThreadHelper.ThreadStart_Context(Object state)
en System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
en System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
en System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
en System.Threading.ThreadHelper.ThreadStart()
”
The floder C:\windows\temp is permission for write and read. I don't know the ploblem? Help. Thank you
Please sign in to leave a comment.
Hello!
Thank you for contacting us.
Could you please check that extensions are installed under the same account as R# was?
Thank you.
I get the same error attempting to install plugins since we are no longer administrators on our workstations. The different account that grants administrative access does not even find plugins downloaded and placed in a local folder.
What suggestions do you offer?
Hello Eric!
Sorry for delay in responding.
Just asking for clarification: R# was installed under administrative account and now you are trying to install R# plugin under user with no administrative access?
Thank you.
No, was attempting to install a couple plugins from JetBrains and the ForTea plugin.
Oops, R# = ReSharper, so yes. A R# plugin install issue.
Hello Eric!
Is there an option to install ReSharper using current user account and then install plugins under the same account?
Thank you.
I also got the same error while adding stylecop extension.
What i found is i have installed Resharper for All User, so what i did is, opened visual studio by "Run as Administrator" and then tried to install extension from Resharper, i did not get access denied error.
So try running VS As Administrator and then install, you will not get access denied error.