Asked by:

ClickOnce installation error: A device attached to the system is not functioning. (Exception from HRESULT: 0x8007001F)

Question

One of my users is experiencing an installation problem with my ClickOnce application. I have been online with him and had him delete the Apps directory, run mage -cc, and try to install a bare-bones click once application which he did successfully. But he still gets an installation error with my application.

Other users are able to install this WinForms application successfully, and I have several test machines here that have successfully installed and upgraded from previous versions of the application. I have had successful installations on Windows XP, Vista and Windows 7.

The problem machine is running Vista, and the machine had a previous successful installation of an earlier version of my application.

ERROR SUMMARY Below is a summary of the errors, details of these errors are listed later in the log. * Activation of http://download.edgerater.com/edgerater/EdgeRater.application resulted in exception. Following failure messages were detected: + A device attached to the system is not functioning. (Exception from HRESULT: 0x8007001F)

COMPONENT STORE TRANSACTION FAILURE SUMMARY * Transaction at [12/17/2009 10:04:32 AM] - Staging of a component file (CS.xml) did not succeed. - Staging of a component file (State\UserCodeInfo.xml) did not succeed. - Staging of a component file (Configuration\ZippedDeployments\ChartScripts.zip) did not succeed. - Staging of a component file (AppIcon.ico) did not succeed. - Staging of a component file (Configuration\User Starter Files\Symbol Lists\Global Exclusion Lists\GlobalExclusionList.txt) did not succeed. - Staging of a component file (EdgeRater.exe.config) did not succeed. - Staging of a component file (Configuration\ZippedDeployments\YahooSymbolListsSynchronized.zip) did not succeed. - Staging of a component file (Configuration\User Starter Files\Symbol Lists\Global Exclusion Lists\GlobalExclusionListInfo.rtf) did not succeed. - Staging of a component file (TALibConfiguration.xml) did not succeed. - Staging of a component file (Configuration\User Starter Files\Selectors\Series\BasicBullishEngulfing.cs) did not succeed. - Staging of a component file (Configuration\User Starter Files\Selectors\Event\DiscardStartsWith.cs) did not succeed. - Staging of a component file (Snapshots\SampleData.erd) did not succeed. - Staging of a component file (Snapshots\SampleData.eri) did not succeed. - Staging of a component file (Configuration\User Starter Files\Symbol Lists\Dynamic Lists\DynamicListInfo.rtf) did not succeed. - Staging of a component (syncfusion.grouping.base.dll.genman) did not succeed. - Staging of a component file (syncfusion.grouping.base.dll) did not succeed. - Staging of a component (DevExpress.BonusSkins.v9.2.dll.genman) did not succeed. - Staging of a component file (DevExpress.BonusSkins.v9.2.dll) did not succeed. &nb sp; - Staging of a component (DevExpress.XtraEditors.v9.2.dll.genman) did not succeed. - Staging of a component file (DevExpress.XtraEditors.v9.2.dll) did not succeed. - Staging of a component (DevExpress.XtraGrid.v9.2.dll.genman) did not succeed. - Staging of a component file (DevExpress.XtraGrid.v9.2.dll) did not succeed. - Staging of a component (TA-Lib-Core.dll.genman) did not succeed. - Staging of a component file (TA-Lib-Core.dll) did not succeed. - Staging of a component (DevExpress.XtraCharts.v9.2.dll.genman) did not succeed. - Staging of a component file (DevExpress.XtraCharts.v9.2.dll) did not succeed. - Staging of a component (Syncfusion.Shared.Windows.dll.genman) did not succeed. - Staging of a component file (Syncfusion.Shared.Windows.dll) did not succeed. - Staging of a component (ICSharpCode.SharpZipLib.dll.genman) did not succeed. - Staging of a component file (ICSharpCode.SharpZipLib.dll) did not succeed. - Staging of a component (DevExpress.OfficeSkins.v9.2.dll.genman) did not succeed. - Staging of a component file (DevExpress.OfficeSkins.v9.2.dll) did not succeed. - Staging of a component (DevExpress.XtraBars.v9.2.dll.genman) did not succeed. - Staging of a component file (DevExpress.XtraBars.v9.2.dll) did not succeed. - Staging of a component (Syncfusion.Shared.Base.dll.genman) did not succeed. - Staging of a component file (Syncfusion.Shared.Base.dll) did not succeed. - Staging of a component (QWhale.Syntax.dll.genman) did not succeed. - Staging of a component file (QWhale.Syntax.dll) did not succeed. - Staging of a component (EdgeRater.exe.genman) did not succeed. - Staging of a component file (EdgeRater.exe) did not succeed. - Staging of a component (DevExpress .XtraLayout.v9.2.dll.genman) did not succeed. - Staging of a component file (DevExpress.XtraLayout.v9.2.dll) did not succeed. - Staging of a component (DevExpress.Charts.v9.2.Core.dll.genman) did not succeed. - Staging of a component file (DevExpress.Charts.v9.2.Core.dll) did not succeed. - Staging of a component (DevExpress.XtraNavBar.v9.2.dll.genman) did not succeed. - Staging of a component file (DevExpress.XtraNavBar.v9.2.dll) did not succeed. - Staging of a component (syncfusion.grid.grouping.base.dll.genman) did not succeed. - Staging of a component file (syncfusion.grid.grouping.base.dll) did not succeed. - Staging of a component (Syncfusion.Grid.Windows.dll.genman) did not succeed. - Staging of a component file (Syncfusion.Grid.Windows.dll) did not succeed. - Staging of a component (QWhale.Common.dll.genman) did not succeed. - Staging of a component file (QWhale.Common.dll) did not succeed. - Staging of a component (syncfusion.grid.grouping.windows.dll.genman) did not succeed. - Staging of a component file (syncfusion.grid.grouping.windows.dll) did not succeed. - Staging of a component (Interop.QuotesPlus.dll.genman) did not succeed. - Staging of a component file (Interop.QuotesPlus.dll) did not succeed. - Staging of a component (DevExpress.Data.v9.2.dll.genman) did not succeed. - Staging of a component file (DevExpress.Data.v9.2.dll) did not succeed. - Staging of a component (Syncfusion.Grid.Base.dll.genman) did not succeed. - Staging of a component file (Syncfusion.Grid.Base.dll) did not succeed. - Staging of a component (QWhale.Syntax.Parsers.dll.genman) did not succeed. - Staging of a component file (QWhale.Syntax.Parsers.dll) did not succeed. - Staging of a component (DevExpr ess.XtraVerticalGrid.v9.2.dll.genman) did not succeed. - Staging of a component file (DevExpress.XtraVerticalGrid.v9.2.dll) did not succeed. - Staging of a component (DevExpress.XtraCharts.v9.2.UI.dll.genman) did not succeed. - Staging of a component file (DevExpress.XtraCharts.v9.2.UI.dll) did not succeed. - Staging of a component (QWhale.Editor.dll.genman) did not succeed. - Staging of a component file (QWhale.Editor.dll) did not succeed. - Staging of a component (DevExpress.XtraTreeList.v9.2.dll.genman) did not succeed. - Staging of a component file (DevExpress.XtraTreeList.v9.2.dll) did not succeed. - Staging of a component (Syncfusion.Core.dll.genman) did not succeed. - Staging of a component file (Syncfusion.Core.dll) did not succeed. - Staging of a component (DevExpress.Utils.v9.2.dll.genman) did not succeed. - Staging of a component file (DevExpress.Utils.v9.2.dll) did not succeed. - Installation of deployment (http://download.edgerater.com/edgerater/edgerater.application#EdgeRater.app, Version=3.4.1217.1, Culture=neutral, PublicKeyToken=aacf70dcfb920c28, processorArchitecture=x86) did not succeed. - Setting one or more of the deployment metadata did not succeed.

Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

I had seen that post prior to posting this one, but unfortunately the problem does not appear to have the same solution.

My application is not creating any read-only directories or files in either the application folder or the data folder.

The second and currently more important point is that now the user cannot even install my application after deleting the apps folder, running mage -cc and re-booting his computer, except in another user account on the same machine. He can however install a bare-bones click once application in either the good or bad user account.

What are the possible solutions to fixing that user account so that he can again install my application into it. Bear in mind I have tried deleting the apps directory and running mage-cc.