Exception from HRESULT: 0x80070002
-
vendredi 9 mars 2012 11:09
I am new here and hope this is the correct forum for my post. There are so many different forum that it is difficult to distinguish which is correct for my particular question.
I keep getting this error andd would like to know how to resolve it:
PLATFORM VERSION INFO
Windows : 6.1.7601.65536 (Win32NT)
Common Language
Runtime : 4.0.30319.261
System.Deployment.dll : 4.0.30319.1
(RTMRel.030319-0100)
clr.dll : 4.0.30319.261
(RTMGDR.030319-2600)
dfdll.dll : 4.0.30319.1
(RTMRel.030319-0100)
dfshim.dll : 4.0.31106.0 (Main.031106-0000)ERROR DETAILS
Following errors were detected during this operation.
*
[3/9/2012 5:27:01 AM] System.IO.FileNotFoundException
- The system cannot
find the file specified. (Exception from HRESULT: 0x80070002)
- Source:
System.Deployment
- Stack trace:
at
System.Deployment.Internal.Isolation.IsolationInterop.GetUserStore(UInt32 Flags,
IntPtr hToken, Guid& riid)
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)
Toutes les réponses
-
vendredi 9 mars 2012 20:20
I must admit that I am a little confused... What kind of application is that? And what are you trying to do when you get this error? The underlying error message is a "File Not Found" message, which could have many reasons. And I am still missing the connection to SQL Server as well...
Please be so kind to give us some more insight, so we can help (or at least redirect you to the appropriate group.)
-
mardi 27 mars 2012 09:50Modérateur
Hi Purrington,
Referring to FileNotFoundException, it is thrown when an attempt to access a file that does not exist on disk fails. For more information, please check: http://msdn.microsoft.com/en-us/library/system.io.filenotfoundexception.aspx.
Also check that the target .NET Framework has been installed on this machine.
Please refer to a similar thread: http://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/f63ed0da-e5e3-44c9-9310-efe9a35c61d7/.
In addition, please post the thread in ClickOnce and Setup & Deployment Projects forum, you will get better and quicker support.
Thanks,
Maggie
Please remember to mark the replies as answers if they help and unmark them if they provide no help. This can be beneficial to other community members reading the thread.
- Modifié Maggie LuoMicrosoft Contingent Staff, Moderator mardi 27 mars 2012 09:50
- Marqué comme réponse Maggie LuoMicrosoft Contingent Staff, Moderator jeudi 5 avril 2012 03:06

