访问被拒绝启动错误 [英] Access Denied Launch Error

查看:118
本文介绍了访问被拒绝启动错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在尝试使用ClickOnce部署应用程序的某些计算机出现此问题。安装工作正常,直到它实际尝试启动应用程序。然后它给了我一个错误。没有证据表明在此错误之后安装了应用程序。该错误仅发生在某些计算机上。任何帮助都会非常棒。以下是错误:

平台版本信息
Windows:5.1.2600.196608(Win32NT)
公共语言运行时间: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)


来源
部署网址: file://064-fs01/gpapps$/ArchiveSearch/ArchiveSearch.application
。部署提供商网址: file:// fdc-sql / ArchiveSearchPublish / ArchiveSearch.application
应用程序URL: file:// fdc-sql / ArchiveSearchPublish / Application% 20Files / ArchiveSearch_1_0_2_8 / ArchiveSearch.exe.manifest


IDENTITIES
部署身份:ArchiveSearch.application,Version = 1.0.2.8,Culture = en, PublicKeyTo ken = e547c24bc131693f,processorArchitecture = msil
应用程序标识:ArchiveSearch.exe,版本= 1.0.2.8,Culture = en,PublicKeyToken = e547c24bc131693f,processorArchitecture = msil,type = win32


应用摘要
*可安装的应用程序。


错误摘要
以下是错误摘要,这些错误的详细信息将在后面的日志中列出。
*激活 \\064-fs01 \gpapps $ \ ArchriveSearch \ArchiveSearch.application 导致异常。检测到以下失败消息:
+访问路径'c:\ WINDOWS \ Microsoftoft.NET \ Framework \v2.0.50727 \Archive Search.appref-ms'被拒绝。


组件商店交易失败摘要
未检测到交易错误。


警告
在此操作过程中没有任何警告。


操作进度状态
* [8/17/2009 9:08:47 AM]:激活 \\064 -fs01 \gpapps $ \ArchiveSearch \ArchiveSearch.application 已启动。
* [2009年8月17日上午9:08:59]:已成功处理部署清单已完成。
* [8/17/2009 9:08:59 AM]:已开始安装应用程序。
* [8/17/2009 9:09:00 AM]:应用程序处理清单已成功完成。
* [8/17/2009 9:09:01 AM]:信任请求和平台检测完成。
* [8/17/2009 9:09:01 AM]:下载的应用程序的提交已开始。


错误详细信息
在此操作期间检测到以下错误。
* [8/17/2009 9:09:03 AM] System.UnauthorizedAccessException
- 访问路径'c:\ WINDOWS \ Microsoft.NET.NET \ Framework \v2.0.50727 \Archive Search.appref-ms'被拒绝。
- 来源:mscorlib
- 堆栈跟踪:
在System.IO .__ Error.WinIOError(Int32 errorCode,String maybeFullPath)
在System.IO.FileStream.Init(字符串路径,FileMode模式,FileAccess访问,Int32权限, Boolean useRights,FileShare共享,Int32 bufferSize,FileOptions选项,SECURITY_ATTRIBUTES secAttrs,String msgPath,Boolean bFromProxy)
在System.IO.FileStream..ctor(字符串路径,FileMode模式,FileAccess访问,FileShare共享,Int32 bufferSize, FileOptions选项)
在System.IO.StreamWriter.CreateFile(String path,Boolean append)
在System.IO.StreamWriter..ctor(String path,Boolean append,Encoding encoding,Int32) bufferSize)
在System.IO.StreamWriter..ctor(String path,Boolean append,Encoding encoding)
在System.Deployment.Application.ShellExposure.GenerateAppShortcut(SubscriptionState subState,ShellExposureInformation shellExposureInformation)
在System.Deployment.Application.ShellExposure.UpdateShortcuts(SubscriptionState subState,ShellExposureInformation& shellExposureInformation)
在System.Deployment.Application.ShellExposure.UpdateSubscriptionShellExposure(SubscriptionState subState)
在System.Deployment.Application.SubscriptionStore.CommitApplication(SubscriptionState& subState,CommitApplicationParams commitParams)
在System.Deployment .Application.ApplicationActivator.InstallApplication(SubscriptionState& subState,ActivationDescription actDesc)
在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
*交易于[8/17/2009 9:09:02 AM ]
+ System.Deployment.Internal.Isolation.StoreOperationStageComponent
- 状态:已安装
- HRESULT:0x0
- 清单:W96GKNL1.WVC.application
+ System.Deployment.Internal.Isolation.StoreOperationSetDeploymentMetadata
- 状态:设置
- HRESULT:0x0
+ System.Deployment.Internal.Isolation.StoreOperationSetDeploymentMetadata
- 状态:设置
- HRESULT:0x0
+ System.Deployment.Internal.Isolation.StoreTransactionOperationType(27)
- HRESULT :0x0


我感谢任何帮助。我本周试图部署​​我的应用程序。

解决方案

你的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.manifest

IDENTITIES
 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=win32

APPLICATION 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: 0x0

 I appreciate any help. I am trying to get my application deployed this week.

解决方案

Well your root error is this line:



这篇关于访问被拒绝启动错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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