ClickOnce的升级失败,System.Deployment.Internal.Isolation.StoreTransactionOperationType(27) - HRESULT:0x8007001f [英] ClickOnce upgrade fails, System.Deployment.Internal.Isolation.StoreTransactionOperationType (27) - HRESULT: 0x8007001f

查看:645
本文介绍了ClickOnce的升级失败,System.Deployment.Internal.Isolation.StoreTransactionOperationType(27) - HRESULT:0x8007001f的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个ClickOnce应用程序。在一台计算机 - Windows 7中(适用于其他)升级失败 - 安装由服务的Apache。 整个日志...长,但唯一的错误是这样的:

I've a ClickOnce application. On one machine - Windows 7 (works on others) an upgrade failed - the installation is served by Apache. The entire log is ... long, but the only thing that errors are this:

ERROR DETAILS
    Following errors were detected during this operation.
    * [26.01.2010 10:55:07] System.Runtime.InteropServices.COMException
        - A device attached to the system is not functioning. (Exception from HRESULT: 0x8007001F)
        - Source: System.Deployment
        - Stack trace:
            at System.Deployment.Internal.Isolation.IStore.Transact(IntPtr 
cOperation, StoreTransactionOperation[] rgOperations, UInt32[] rgDispositions, Int32[] rgResults)
            at System.Deployment.Internal.Isolation.Store.Transact(StoreTransactionOperation[] operations, UInt32[] rgDispositions, Int32[] rgResults)
            at System.Deployment.Application.ComponentStore.SubmitStoreTransaction(StoreTransactionContext storeTxn, SubscriptionState subState)
            at System.Deployment.Application.ComponentStore.SubmitStoreTransactionCheckQuota(StoreTransactionContext storeTxn, SubscriptionState subState)
            at System.Deployment.Application.ComponentStore.CommitApplication(SubscriptionState subState, CommitApplicationParams commitParams)
            at System.Deployment.Application.SubscriptionStore.CommitApplication(SubscriptionState& subState, CommitApplicationParams commitParams)
            at System.Deployment.Application.ApplicationActivator.InstallApplication(SubscriptionState& subState, ActivationDescription actDesc)
            at System.Deployment.Application.ApplicationActivator.ConsumeUpdatedDeployment(SubscriptionState& subState, ActivationDescription actDesc)
            at System.Deployment.Application.ApplicationActivator.PerformDeploymentUpdate(SubscriptionState& subState, String& errorPageUrl)
            at System.Deployment.Application.ApplicationActivator.ProcessOrFollowShortcut(String shortcutFile, String& errorPageUrl, TempFile& deployFile)
            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
    * Transaction at [26.01.2010 10:55:07]
        + System.Deployment.Internal.Isolation.StoreOperationStageComponent
            - Status: Installed
            - HRESULT: 0x0
            - Manifest: 9P1J1J04.O7B.application
             [Cut.. More of the same with HRESULT 0x0]
        + System.Deployment.Internal.Isolation.StoreOperationSetDeploymentMetadata
            - Status: Set
            - HRESULT: 0x0
        + System.Deployment.Internal.Isolation.StoreTransactionOperationType (27)
            - HRESULT: 0x8007001f

这是不是非常有帮助。有没有人经历过类似的东西,并找到了一个解决方案吗?我听说过建议,安装文件设置为只读会引起这一点,但我不能跟踪任何只读文件在C:\用户\ testuser.TESTDOMAIN \应用程序数据\本地\ APPS \ 2.0

This is not very helpful. Has anyone experienced something similar and tracked down a solution ? I've heard suggestions that installation files made read only can cause this, but I can not track down any read only files under C:\Users\testuser.TESTDOMAIN\AppData\Local\Apps\2.0

推荐答案

请参阅 <一个href="http://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/55c87d86-f671-476b-b0dc-90f25b2b75b9"相对=nofollow>升级安装的ClickOnce应用程序时出现的ClickOnce错误 的。

See ClickOnce error occurs when upgrading installed ClickOnce app.

这篇关于ClickOnce的升级失败,System.Deployment.Internal.Isolation.StoreTransactionOperationType(27) - HRESULT:0x8007001f的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆