none
Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) RRS feed

  • Question

  • when install WPF Application in windows 10 then show following access denied error but in windows 7 or 8 work fine.  and i have also try troubleshoot compatibility but face same issue in windows 10. please let me know how to solve this issue Thanx.

    PLATFORM VERSION INFO
    	Windows 			: 10.0.14393.0 (Win32NT)
    	Common Language Runtime 	: 4.0.30319.42000
    	System.Deployment.dll 		: 4.6.1586.0 built by: NETFXREL2
    	clr.dll 			: 4.6.1637.0 built by: NETFXREL3STAGE
    	dfdll.dll 			: 4.6.1586.0 built by: NETFXREL2
    	dfshim.dll 			: 10.0.14393.0 (rs1_release.160715-1616)
    
    SOURCES
    	Deployment url			: file:///C:/Users/hardik/Desktop/Freedom%20Plie3%20Publish/FreedomPlie3.application
    
    ERROR SUMMARY
    	Below is a summary of the errors, details of these errors are listed later in the log.
    	* Activation of C:\Users\hardik\Desktop\Freedom Plie3 Publish\FreedomPlie3.application resulted in exception. Following failure messages were detected:
    		+ Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
    
    COMPONENT STORE TRANSACTION FAILURE SUMMARY
    	No transaction error was detected.
    
    WARNINGS
    	There were no warnings during this operation.
    
    OPERATION PROGRESS STATUS
    	* [24-03-2017 10:55:14] : Activation of C:\Users\hardik\Desktop\Freedom Plie3 Publish\FreedomPlie3.application has started.
    
    ERROR DETAILS
    	Following errors were detected during this operation.
    	* [24-03-2017 10:55:14] System.UnauthorizedAccessException
    		- Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
    		- Source: System.Deployment
    		- Stack trace:
    			at System.Deployment.Internal.Isolation.IsolationInterop.GetUserStore(UInt32 Flags, IntPtr hToken, Guid& riid)
    			at System.Deployment.Internal.Isolation.IsolationInterop.GetUserStore()
    			at System.Deployment.Application.ComponentStore..ctor(ComponentStoreType storeType, SubscriptionStore subStore)
    			at System.Deployment.Application.SubscriptionStore..ctor(String deployPath, String tempPath, ComponentStoreType storeType)
    			at System.Deployment.Application.SubscriptionStore.get_CurrentUser()
    			at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)
    			at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
    
    COMPONENT STORE TRANSACTION DETAILS
    	No transaction information is available.
    


    Friday, March 24, 2017 6:40 AM