更新时间:2022-10-17 22:57:54
你的root错误是这行:I have been having this issue with some of the computers I am trying to deploy an application to with ClickOnce. The install works just fine until it actually tries to launch the application. Then it gives me an error. There is no evidence that the application was installed after this error. The error only happens on some of the computers. Any help would be really great. Here is the error:
PLATFORM VERSION INFO
Windows : 5.1.2600.196608 (Win32NT)
Common Language Runtime : 2.0.50727.3082
System.Deployment.dll : 2.0.50727.3053 (netfxsp.050727-3000)
mscorwks.dll : 2.0.50727.3082 (QFE.050727-3000)
dfdll.dll : 2.0.50727.3053 (netfxsp.050727-3000)
dfshim.dll : 2.0.50727.3053 (netfxsp.050727-3000)SOURCES
Deployment url : file://064-fs01/gpapps$/ArchiveSearch/ArchiveSearch.application
Deployment Provider url : file://fdc-sql/ArchiveSearchPublish/ArchiveSearch.application
Application url : file://fdc-sql/ArchiveSearchPublish/Application%20Files/ArchiveSearch_1_0_2_8/ArchiveSearch.exe.manifestIDENTITIES
Deployment Identity : ArchiveSearch.application, Version=1.0.2.8, Culture=en, PublicKeyToken=e547c24bc131693f, processorArchitecture=msil
Application Identity : ArchiveSearch.exe, Version=1.0.2.8, Culture=en, PublicKeyToken=e547c24bc131693f, processorArchitecture=msil, type=win32APPLICATION SUMMARY
* Installable application.ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of \\064-fs01\gpapps$\ArchiveSearch\ArchiveSearch.application resulted in exception. Following failure messages were detected:
+ Access to the path 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Archive Search.appref-ms' is denied.COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.WARNINGS
There were no warnings during this operation.OPERATION PROGRESS STATUS
* [8/17/2009 9:08:47 AM] : Activation of \\064-fs01\gpapps$\ArchiveSearch\ArchiveSearch.application has started.
* [8/17/2009 9:08:59 AM] : Processing of deployment manifest has successfully completed.
* [8/17/2009 9:08:59 AM] : Installation of the application has started.
* [8/17/2009 9:09:00 AM] : Processing of application manifest has successfully completed.
* [8/17/2009 9:09:01 AM] : Request of trust and detection of platform is complete.
* [8/17/2009 9:09:01 AM] : Commit of the downloaded application has started.ERROR DETAILS
Following errors were detected during this operation.
* [8/17/2009 9:09:03 AM] System.UnauthorizedAccessException
- Access to the path 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Archive Search.appref-ms' is denied.
- Source: mscorlib
- Stack trace:
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at System.IO.StreamWriter.CreateFile(String path, Boolean append)
at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize)
at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding)
at System.Deployment.Application.ShellExposure.GenerateAppShortcut(SubscriptionState subState, ShellExposureInformation shellExposureInformation)
at System.Deployment.Application.ShellExposure.UpdateShortcuts(SubscriptionState subState, ShellExposureInformation& shellExposureInformation)
at System.Deployment.Application.ShellExposure.UpdateSubscriptionShellExposure(SubscriptionState subState)
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.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 [8/17/2009 9:09:02 AM]
+ System.Deployment.Internal.Isolation.StoreOperationStageComponent
- Status: Installed
- HRESULT: 0x0
- Manifest: W96GKNL1.WVC.application
+ System.Deployment.Internal.Isolation.StoreOperationSetDeploymentMetadata
- Status: Set
- HRESULT: 0x0
+ System.Deployment.Internal.Isolation.StoreOperationSetDeploymentMetadata
- Status: Set
- HRESULT: 0x0
+ System.Deployment.Internal.Isolation.StoreTransactionOperationType (27)
- HRESULT: 0x0I appreciate any help. I am trying to get my application deployed this week.
Well your root error is this line: