"Visual Studio" AND "Design tool" AND Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
In hopes of saving C drive space (NOT) I installed VS2015 on external hard drive. I'll eventually, I guess reinstall just on C drive since it didn't save space. Taking MVA tutorials and found a reoccurring issue with access denied for tutorial exercises. I went through steps for WMI Troubleshooting. It seemed to work once. But started another tutorial exercise and found same issue again. This time steps do not work because I've already ticked inside "Edit Limit" fields, per instructions below.
0x80070005–E_ACCESS_DENIED Access denied by DCOM security. | The user does not have remote access to the computer through DCOM. Typically, DCOM errors occur when connecting to a remote computer with a different operating system version. | Give the user Remote Launch and Remote Activation permissions in dcomcnfg. Right-click My Computer-> Properties. Under COM Security, click "Edit Limits" for both sections. Give the user you want remote access, remote launch, and remote activation. Then go to DCOM Config, find "Windows Management Instrumentation", and give the user you want Remote Launch and Remote Activation. For more information, seeConnecting Between Different Operating Systems |
ERROR MESSAGE INSIDE VS2015
Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
at System.Reflection.RuntimeAssembly.nLoadFile(String path, Evidence evidence)
at System.Reflection.RuntimeAssembly.InternalProbeForSatelliteAssemblyNextToParentAssembly(AssemblyName an, String name, String codeBase, CultureInfo culture, Boolean throwOnFileNotFound, Boolean useLoadFile, StackCrawlMark& stackMark)
at System.Reflection.RuntimeAssembly.InternalGetSatelliteAssembly(String name, CultureInfo culture, Version version, Boolean throwOnFileNotFound, StackCrawlMark& stackMark)
at System.Resources.ManifestBasedResourceGroveler.GetSatelliteAssembly(CultureInfo lookForCulture, StackCrawlMark& stackMark)
at System.Resources.ManifestBasedResourceGroveler.GrovelForResourceSet(CultureInfo culture, Dictionary`2 localResourceSets, Boolean tryParents, Boolean createIfNotExists, StackCrawlMark& stackMark)
at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo requestedCulture, Boolean createIfNotExists, Boolean tryParents, StackCrawlMark& stackMark)
at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)
at System.Resources.ResourceManager.GetObject(String name, CultureInfo culture, Boolean wrapUnmanagedMemStream)
at System.Resources.ResourceManager.GetStream(String name, CultureInfo culture)
at MS.Internal.Resources.ResourceManagerWrapper.GetStream(String name)
at MS.Internal.AppModel.ResourcePart.EnsureResourceLocationSet()
at MS.Internal.AppModel.ResourcePart.GetStreamCore(FileMode mode, FileAccess access)
at System.IO.Packaging.PackagePart.GetStream(FileMode mode, FileAccess access)
at System.IO.Packaging.PackWebResponse.CachedResponse.GetResponseStream()
at System.IO.Packaging.PackWebResponse.GetResponseStream()
at System.IO.Packaging.PackWebResponse.get_ContentType()
at MS.Internal.WpfWebRequestHelper.GetContentType(WebResponse response)
at System.Windows.ResourceDictionary.set_Source(Uri value)
at Microsoft.VisualStudio.DesignTools.Designer.UI.ThemeContext.UpdateResource(String resourceName, String resourceUrl)
at Microsoft.VisualStudio.DesignTools.Designer.UI.ThemeContext..ctor(IServiceProvider serviceProvider, DesignerContext designerContext)
at Microsoft.VisualStudio.DesignTools.Designer.DesignerContext.InitializeDesignerViewComponents()
at Microsoft.VisualStudio.DesignTools.Designer.DesignerService.InitializeDesignerViewComponents()
at Microsoft.VisualStudio.DesignTools.Designer.DesignerService.CreateDesigner(IHostSourceItem item, IHostTextEditor editor, CancellationToken cancelToken)
at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Remoting.RemoteDesignerService.<>c__DisplayClass12_0.<Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Remoting.IRemoteDesignerService.CreateDesigner>b__0(CancellationToken cancelToken)
at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Remoting.RemoteDesignerService.<>c__DisplayClass6_0`1.<MarshalInWithCancellation>b__0()
at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Remoting.STAMarshaler.Call.InvokeWorker()
I am at a loss. How can I get the VS2015 Designer tool to show?
Newbie enough to get myself into trouble. :0) Eyes are crossed and growth is pain ... but working on it.