• 登录
  • Microsoft.com
  • 中华人民共和国 (中文)
    Brasil (Português)Česká republika (Čeština)Deutschland (Deutsch)España (Español)France (Français)Italia (Italiano)United States (English)Россия (Русский)대한민국 (한국어)日本 (日本語)台灣 (中文)香港特别行政區 (中文)
 
 
Microsoft 开发人员网络
 
 
主页
 
 
技术资源库 
 
 
学习
 
 
下载
 
 
支持
 
 
社区
 
 
 
Microsoft 开发人员网络 > 论坛主页 > Visual Basic IDE > The referenced assembly is not installed on your system. (Exception from HRESULT: 0x800736B3)
提出问题提出问题
搜索论坛:
  • 搜索 Visual Basic IDE 论坛 搜索 Visual Basic IDE 论坛
  • 搜索所有 MSDN 论坛 搜索所有 MSDN 论坛
 

已答复The referenced assembly is not installed on your system. (Exception from HRESULT: 0x800736B3)

  • 2006年7月13日 15:18frgu 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    投票认定帖子内容有帮助
    0

    I have an application that is distributed with click-once. One of my users already makes use of it for quite some time without any problems. Only recently, he is not able to launch the application anymore.

    During the check that is made to see if there is a new version of the software, he gets the message: "Application cannot be started, contact vendor"

    If I copy my application manually, he is able to launch it without any problem.

    I included the detailled log below.

    Any suggestions?

     

    PLATFORM VERSION INFO
     Windows    : 5.1.2600.131072 (Win32NT)
     Common Language Runtime  : 2.0.50727.42
     System.Deployment.dll   : 2.0.50727.42 (RTM.050727-4200)
     mscorwks.dll    : 2.0.50727.42 (RTM.050727-4200)
     dfdll.dll    : 2.0.50727.42 (RTM.050727-4200)
     dfshim.dll    : 2.0.50727.42 (RTM.050727-4200)

    SOURCES
     Deployment url   : file:///C:/Documents%20and%20Settings/HEL/Start%20Menu/Programs/BARCO%20NV/Corporate%20Associates.appref-ms

    ERROR SUMMARY
     Below is a summary of the errors, details of these errors are listed later in the log.
     * Activation of C:\Documents and Settings\HEL\Start Menu\Programs\BARCO NV\Corporate Associates.appref-ms resulted in exception. Following failure messages were detected:
      + The referenced assembly is not installed on your system. (Exception from HRESULT: 0x800736B3)

    COMPONENT STORE TRANSACTION FAILURE SUMMARY
     No transaction error was detected.

    WARNINGS
     There were no warnings during this operation.

    OPERATION PROGRESS STATUS
     * [11/07/2006 11:37:13 ] : Activation of C:\Documents and Settings\HEL\Start Menu\Programs\BARCO NV\Corporate Associates.appref-ms has started.

    ERROR DETAILS
     Following errors were detected during this operation.
     * [11/07/2006 11:37:13 ] System.Runtime.InteropServices.COMException
      - The referenced assembly is not installed on your system. (Exception from HRESULT: 0x800736B3)
      - Source: System.Deployment
      - Stack trace:
       at System.Deployment.Internal.Isolation.IStore.GetAssemblyInformation(UInt32 Flags, IDefinitionIdentity DefinitionIdentity, Guid& riid)
       at System.Deployment.Internal.Isolation.Store.GetAssemblyManifest(UInt32 Flags, IDefinitionIdentity DefinitionIdentity)
       at System.Deployment.Application.ComponentStore.GetSubscriptionStateInternal(DefinitionIdentity subId)
       at System.Deployment.Application.SubscriptionStore.GetSubscriptionStateInternal(SubscriptionState subState)
       at System.Deployment.Application.ApplicationActivator.ProcessOrFollowShortcut(String shortcutFile, TempFile& deployFile)
       at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut)
       at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)

    COMPONENT STORE TRANSACTION DETAILS
     No transaction information is available.

     

    • 回复回复
    • 引用引用
     

答案

  • 2006年7月19日 20:59Sameer Bhangar - MSFT版主用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     已答复
    投票认定帖子内容有帮助
    10

    From the description of this error it looks like the ClickOnce store has somehow got corrupted for this one user.

    Try the following to recover the store:

    1. Run "Mage -cc". (Mage.exe can be found in the .NET 2.0 SDK)

    2. Uninstall the application via Add/Remove Programs and reinstall it

    3. If neither of these work then the last option is to delete the ClickOnce store and get back to clean state. To delete the ClickOnce store delete the folder "%userprofile%\Local Settings\Apps".

    Before deleting the store if you can send a snapshot of your corrupted store to Microsoft to evaluate further that would be very helpful. You can submit via feedback on http://connect.microsoft.com/VisualStudio.

    Instructions to submit store contents:
    - Package entire contents of folder %userprofile%\Local Settings\Apps into a .zip file
    - Export regkey HKCU\Software\Classes\Software\Microsoft\Windows\CurrentVersion\Deployment to .reg file

    Attach both of these with Feedback report.

    Please make sure this folder does not contain any information that is Private or sensitive in nature before submitting.

    Regards,
    Sameer

    • 回复回复
    • 引用引用
     

全部回复

  • 2006年7月13日 16:47DMan1版主用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    投票认定帖子内容有帮助
    0
    What com references are you using in your application?
    • 回复回复
    • 引用引用
     
  • 2006年7月14日 8:29frgu 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    投票认定帖子内容有帮助
    0

    I don't make any COM references.

    When I click on my .application file, it immediately gives the error. And only for this single user.

    • 回复回复
    • 引用引用
     
  • 2006年11月21日 15:25ARA_Richard 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    投票认定帖子内容有帮助
    0

    Sameer

    I got recently got the same error on another ClickOnce install.   Do you want us to follow the information above and send a Snapshot of the store to Microsoft

    Or do you have another solution to this that might work.  We've tryed a Few times to remove the app from the Add/Remove programs and it doesn't appear to work.  Have not tried the Mage -cc option yet. 

    Thanks
    Rich

    -------------------

    PLATFORM VERSION INFO
     Windows    : 5.1.2600.131072 (Win32NT)
     Common Language Runtime  : 2.0.50727.42
     System.Deployment.dll   : 2.0.50727.42 (RTM.050727-4200)
     mscorwks.dll    : 2.0.50727.42 (RTM.050727-4200)
     dfdll.dll    : 2.0.50727.42 (RTM.050727-4200)
     dfshim.dll    : 2.0.50727.42 (RTM.050727-4200)

    SOURCES
     Deployment url   : file:///C:/Documents%20and%20Settings/Administrator/Desktop/CampusDishKiosk.appref-ms

    ERROR SUMMARY
     Below is a summary of the errors, details of these errors are listed later in the log.
     * Activation of C:\Documents and Settings\Administrator\Desktop\CampusDishKiosk.appref-ms resulted in exception. Following failure messages were detected:
      + The referenced assembly is not installed on your system. (Exception from HRESULT: 0x800736B3)

    COMPONENT STORE TRANSACTION FAILURE SUMMARY
     No transaction error was detected.

    WARNINGS
     There were no warnings during this operation.

    OPERATION PROGRESS STATUS
     * [11/21/2006 2:37:16 AM] : Activation of C:\Documents and Settings\Administrator\Desktop\CampusDishKiosk.appref-ms has started.

    ERROR DETAILS
     Following errors were detected during this operation.
     * [11/21/2006 2:37:16 AM] System.Runtime.InteropServices.COMException
      - The referenced assembly is not installed on your system. (Exception from HRESULT: 0x800736B3)
      - Source: System.Deployment
      - Stack trace:
       at System.Deployment.Internal.Isolation.IStore.GetAssemblyInformation(UInt32 Flags, IDefinitionIdentity DefinitionIdentity, Guid& riid)
       at System.Deployment.Internal.Isolation.Store.GetAssemblyManifest(UInt32 Flags, IDefinitionIdentity DefinitionIdentity)
       at System.Deployment.Application.ComponentStore.GetSubscriptionStateInternal(DefinitionIdentity subId)
       at System.Deployment.Application.SubscriptionStore.GetSubscriptionStateInternal(SubscriptionState subState)
       at System.Deployment.Application.ApplicationActivator.ProcessOrFollowShortcut(String shortcutFile, TempFile& deployFile)
       at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut)
       at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)

    COMPONENT STORE TRANSACTION DETAILS
     No transaction information is available.

    • 回复回复
    • 引用引用
     
  • 2007年3月1日 22:25Beanwa 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    投票认定帖子内容有帮助
    0
    I am having the same issue.  Did you get this resolved?
    • 回复回复
    • 引用引用
     
  • 2007年3月3日 13:09bertH 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    投票认定帖子内容有帮助
    0

    Did you wonder about my question or the original thread starter's?

     

    My issue was resolved. See the link I referred to in my post.

     

    Bert

    • 回复回复
    • 引用引用
     
  • 2007年8月20日 2:30Scott Hunter 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    投票认定帖子内容有帮助
    0

    That did it.  I deleted the folder and there it went.  Thanks for the help.

     

     

    • 回复回复
    • 引用引用
     
  • 2007年9月27日 18:04rmcmullan 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    投票认定帖子内容有帮助
    0

    I had a lot of trouble with this same problem unitl I deleted "%userprofile%\Local Settings\Apps".

    • 回复回复
    • 引用引用
     
  • 2008年4月23日 22:28dave45 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    投票认定帖子内容有帮助
    0
    Me too, and the same solution worked - brilliant, many thanks Sameer.

     

    • 回复回复
    • 引用引用
     
  • 2008年8月25日 13:31irsteph 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    投票认定帖子内容有帮助
    0
    I started having this problem a few days ago. I don't have the app installed locally - it's installed on a server (via ClickOnce). All the users run the app from the server and I used to be able to as well but am now getting this error. I also have the dev environment installed and can run the app without a problem from there, but as soon as I connect to the server installed app ...

    None of the users are having a problem, just me. Since the app isn't installed locally I don't have the option to uninstall it, and I also don't have the localsettings\apps folder, so where to from here? I'm running .net 3.5 framework and VS 2008...

    Can anyone help?
    • 回复回复
    • 引用引用
     
  • 2008年8月26日 12:07irsteph 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    投票认定帖子内容有帮助
    0
    Found the localsettings\apps - and yes deleting it worked...!
    • 回复回复
    • 引用引用
     
  • 2008年9月12日 20:21IAmNotAnonymous 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    投票认定帖子内容有帮助
    0
    This solution worked for me as well.  Thanks much!
    • 回复回复
    • 引用引用
     
  • 2008年12月11日 10:59Den Hammer 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    投票认定帖子内容有帮助
    0
    Thanks! Deleting of Apps Folder works!
    • 回复回复
    • 引用引用
     
  • 2009年1月6日 16:16AndyDillbeck 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    投票认定帖子内容有帮助
    0
    I tried everything, but deleting the Apps directory was the only thing that worked for me.
    Great tip Sameer, thanks a lot!
    • 回复回复
    • 引用引用
     
  • 2009年1月20日 23:46zdxsv 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    投票认定帖子内容有帮助
    0
    Worked for me too. Cheers!
    • 回复回复
    • 引用引用
     
  • 2009年1月27日 20:05Abev 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    投票认定帖子内容有帮助
    0

    I had this issue and tried every single potential solution. This has been a multi-hour experience for me. As always it turns out to be a pretty simple solution to fix it.

    In VS 2008 I opened my solution that was giving me trouble. I opened the property page and clicked the "References" tab. I clicked the "Unused References" button ( I took a screen shot of all the references just in case I needed to go back and replace what was there).  I let the window pop up and populate with unused references. I checked them all and clicked "Remove".  Then I rebuilt the application and published and it worked.

    I had not added any references recently and have been creating builds all along without issue, but apparently something has changed to convince the app not to start.

    I encourage everyone that when they come to a solution that they explain what they did to correct it in great detail. If any get frustrated like I do, how disappointing is it to see that someone has come to a solution but poorly explained how they solved it! "I clicked the button and deleted the file and Voila!" Ugh....:) </psa>

    • 回复回复
    • 引用引用
     
  • 2009年1月29日 16:50Mike DePouw 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    投票认定帖子内容有帮助
    0
    Same problem for us.

    Unable to uninstall App Via Add/Remove Programs.

    Deleted All Dirs and Files under: %userprofile%\Local Settings\Apps

    Reinstalled App, everything worked after that.

    I see the original post was from July of 2006, I guess the problem has not been resolved yet.  Sameer was asking for a copy of the App Directory, did he receive it?  If not I can provide a copy.

    Regards, Mike DePouw
    • 回复回复
    • 引用引用
     
  • 2009年3月17日 18:45RITBeast 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    投票认定帖子内容有帮助
    0
    While we have found the deletion of the Apps directory to be the only surefire solution to this problem, we're trying to find a way to prevent this problem in the first place.  This issue seems to occur for every user we have beta-testing at least once every 6 months, and we're looking to launch this as a commercial product in the near future. 

    Does anyone have any information on avoiding this issue?

    Edited for clarity
    • 回复回复
    • 引用引用
     
  • 2009年3月24日 14:24K Russo 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    投票认定帖子内容有帮助
    0
    Deleting under Apps certainly works, but I'm interested in preventing the issue completely.  Why does this happen and what can be done to prevent it?
    • 回复回复
    • 引用引用
     
  • 2009年4月1日 18:14Emel Simsek - MSFT 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    投票认定帖子内容有帮助
    0

    Mike,

      Can you provide a copy for me?

    - Package entire contents of folder %userprofile%\Local Settings\Apps into a .zip file
    - Export regkey HKCU\Software\Classes\Software\Microsoft\Windows\CurrentVersion\Deployment to .reg file

    Alternatively, you can run a diagnostic tool on your machine that will collect the data and send to us. I can send you a ticket for doing it.

    Thanks.
    Emel Simsek
    Software Development Engineer, ClickOnce.

    • 回复回复
    • 引用引用
     
  • 2009年4月1日 19:04Mike DePouw 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    投票认定帖子内容有帮助
    0
    Emel,

    Where can I upload the Apps dir to?

    Also I can export the current reg key but the computer is now working again.  I didn't see that part of Sameer's instructions... Do you want the current reg key?
    Regards, Mike DePouw
    • 回复回复
    • 引用引用
     
  • 2009年4月6日 22:02Emel Simsek - MSFT 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    投票认定帖子内容有帮助
    0

    Update on this:

    Mike has sent me the data he collected from customer machine. However, the registry and apps directory were not snapshot at the same time which renders it unusable for investigation.

    However, I can tell you that we have fixed an issue manifested by the same call stack we see here in .NET Framework 4.0 release. With the fix, we have basically handled a case where the registry metadata and apps directory was out of sync.

    We do not know the root cause of the issue though. We suspect that it migth be caused by System Restore.

    Had anybody running into this exception performed a System Restore prior to launching the clickonce app through the shortcut?

    Thanks.
    EMEL

    • 回复回复
    • 引用引用
     
  • 2009年4月6日 23:28pjcast 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    投票认定帖子内容有帮助
    0
    I just ran across this issue. Two machines (same network) just experienced this issue. I can't say for sure if System Restore was run. However, I can give the scenario:

    * Both Machines were updated to a recent version (released last Friday)
    * There was a power outage here and both machines were never shutdown after the update, and lost power (were running on UPS's, but powerloss lasted for roughly 4 hours)
    * Come this morning, both machines are now running the previous version just fine. But, they cannot update (receive the error in above posts)
    * Add/Remove from Control panel not effective in updating the apps.
    * Removing the App's folder cures the issue.

    Not sure what caused the revert to previous version? Either ClickOnce did that on its own because of corrupt data of latest version (result of power loss most likely), or a System Restore was automatically run? Or somehow run by user unknowingly. All other systems that were updated Friday (and mostly powered down) are running fine with latest clickonce version update (and can easily add/remove/reinstall).
    • 回复回复
    • 引用引用
     
  • 2009年4月6日 23:30pjcast 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    投票认定帖子内容有帮助
    0
    Oh, I should say the power outage happened during the weekend. I would think that sHould have been plenty of time for things to be flushed to disk after the update, but I think it is the most likely cause of the corrupt ClickOnce problem here.
    • 回复回复
    • 引用引用
     
  • 2009年4月15日 16:38RITBeast 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    投票认定帖子内容有帮助
    0
    We too had a very rough bout with this problem after a power-outage a few weeks ago.  Pretty much every single machine that lost power needed to have the cache wiped and the program re-installed.  I will try to note if the machine recently went through a non-standard reboot preceding the problem the next time it arises.
    • 回复回复
    • 引用引用
     
  • 2009年5月1日 12:26kpd0001 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    投票认定帖子内容有帮助
    0

    This happens when to machine is restarted or a power outage occurs and the app is running. Had it happen several times on different machines. Always the same scenario, machine crashes while app is running. Have this happening on a machine now. I will capture the 2.0 directory before and after I restore it.

    • 回复回复
    • 引用引用
     
  • 2009年5月1日 14:22Mike DePouw 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    投票认定帖子内容有帮助
    0
    Kpd0001, Also pull the RegKey referenced above.
    Regards, Mike DePouw
    • 回复回复
    • 引用引用
     
  • 2009年5月5日 16:46JeridBrown 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    投票认定帖子内容有帮助
    0
    I have the same problem with one of my apps. We did have a power outage about a week ago. I am about to try removing the app to see if this helps.
    New C# Express Developer
    • 回复回复
    • 引用引用
     
  • 2009年5月27日 3:26ataxua1 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    投票认定帖子内容有帮助
    0

    Deleting the App folder worked for me.

    Can't thank you enough!

    • 回复回复
    • 引用引用
     
  • 2009年5月28日 7:22Emel Simsek - MSFT 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    投票认定帖子内容有帮助
    0
    Upon investigating an issue with the same call stack where I have got the ClickOnce related data, it seems like the registry metadata is reverted back at some point causing disconcert with app folder. I have a theory : The cause of this would be abrupt termination of the user session + roaming profile. with a roaming profile HKCU hive is saved back to a share during logoff while the app folder is not. Also, HKCU is synched from share during logon. If there is no logoff, then the latest HKCU will not be synched back but in the logon it will be overriten by an earlier version from the share.

    This is only a theory. Can anybody following this thread tell me about their profile type?

    Thanks.
    EMEL
    • 回复回复
    • 引用引用
     
  • 2009年5月28日 12:46ataxua1 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    投票认定帖子内容有帮助
    0
    Emel, this happened to me on a non-Active Directory machine.  Local profile only.  No abnormal shutdown or unusual events whatsoever.  One day the application worked--the next day, it didn't.
    • 回复回复
    • 引用引用
     
  • 2009年5月28日 18:02Mike DePouw 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    投票认定帖子内容有帮助
    0
    The user in my org. that had this problem had a local profile.
    Regards, Mike DePouw
    • 回复回复
    • 引用引用
     
  • 2009年6月2日 16:24pjcast 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    投票认定帖子内容有帮助
    0
    In my case, I believe it was a roaming profile (not 100% positive).
    • 回复回复
    • 引用引用
     
是否需要论坛助手?(常见问题)
 
© 2009 Microsoft Corporation 版权所有。
个人信息中心
|
法律信息
|
MSDN Flash 中心
|
联系我们
|
保留所有权利
|
商标
|
隐私权声明