XBAP 应用程序无法下载:操作已超时?

发布于 2024-08-14 07:10:02 字数 3276 浏览 5 评论 0原文

尝试在曾经能够下载的工作站上下载任何 XBAP 应用程序时,演示主机会加载,然后停留在“下载应用程序”状态,下载的字节数为零。最终它出现“应用程序下载错误”,错误日志如下所示。另外,在我的个人资料 apps\2.0 下创建了几个文件夹,但实际上没有下载任何文件。

我可以从另一个工作站下载该应用程序,因此该应用程序看起来不错。该应用程序和 IIS 都在我的本地工作站上运行,因此应该不存在网络或防火墙问题。

我尝试过:

  • 清除独立存储和 app\2.0 文件夹
  • 运行 mage.exe -cc
  • 运行 xbap 权限修复程序 (xbappermfx_sx.exe) - 它找到并修复了某些内容,但没有解决问题
  • 创建一个新用户并尝试浏览到以该用户身份登录的应用程序
  • 卸载所有 .NET 并通过 3.5sp1 重新安装

您还有什么想法可以尝试吗?

错误日志如下:

平台版本信息 Windows:5.1.2600.196608 (Win32NT) 公共语言运行时:2.0.50727.3053 系统.Deployment.dll:2.0.50727.3053(netfxsp.050727-3000) mscorwks.dll:2.0.50727.3053(netfxsp.050727-3000) dfshim.dll:2.0.50727.3053(netfxsp.050727-3000)

来源 部署网址:http://clel043t2575/framework。 ui/Framework.UI.xbap?Service=https://CLEL043T2575:444/ 应用程序网址:http://clel043t2575/framework.ui/Framework.UI_5_1_191_0 /Framework.UI.exe.manifest

身份 部署标识:Framework.UI.application,版本=5.1.191.0,文化=中性,PublicKeyToken=dfc8268704145129,processorArchitecture=msil 应用程序标识:Framework.UI.exe,版本 = 5.1.191.0,文化 = 中性,PublicKeyToken = dfc8268704145129,processorArchitecture = msil,类型 = win32

应用程序摘要 * 仅限在线申请。 * 设置信任 url 参数。 * 浏览器托管的应用程序。

错误摘要 下面是错误摘要,这些错误的详细信息稍后在日志中列出。 * 下载应用程序时发生异常。检测到以下故障消息: +下载http://clel043t2575/framework.ui/Framework.UI_5_1_191_0/ Framework.UI.pdb.deploy 未成功。 + 操作已超时

组件存储事务失败摘要 未检测到交易错误。

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

操作进展情况 没有可用的相位信息。

错误详情 在此操作期间检测到以下错误。 * [12/6/2009 6:10:11 PM] System.Deployment.Application.DeploymentDownloadException(未知子类型) - 下载http://clel043t2575/framework.ui/Framework.UI_5_1_191_0/ Framework.UI.pdb.deploy 未成功。 - 来源:System.Deployment - 堆栈跟踪: 在 System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(下一个 DownloadQueueItem) 在 System.Deployment.Application.SystemNetDownloader.DownloadAllFiles() 在 System.Deployment.Application.FileDownloader.Download(SubscriptionState subState) 在 System.Deployment.Application.DownloadManager.DownloadDependency(SubscriptionState subState、AssemblyManifest deployManifest、AssemblyManifest appManifest、Uri sourceUriBase、String targetDirectory、String group、IDownloadNotification 通知、DownloadOptions 选项) 在 System.Deployment.Application.DeploymentManager.SynchronizeCore(布尔阻塞) 在 System.Deployment.Application.DeploymentManager.SynchronizeAsyncWorker() --- 内部异常 --- 系统.Net.WebException - 操作已超时 - 来源:系统 - 堆栈跟踪: 在 System.Net.HttpWebRequest.GetResponse() 在 System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)

组件存储事务详细信息 没有可用的交易信息。

Trying to download any XBAP application on a workstation that used to be able to, the presentationhost loads and then sits at "Downloading Application" with zero bytes downloaded for several minutes. Eventually it comes up with "Application Download Error" with the error log shown below. Also several folders are created under my profile apps\2.0 but no files are actually downloaded.

I can download the app from another workstation so the app appears to be good. This application and IIS are all running on my local workstation so there should be no network or firewall issues.

I've tried:

  • Clearing out isolated storage and app\2.0 folders
  • Running mage.exe -cc
  • Running the xbap permission fixer (xbappermfx_sx.exe)-- which found and fixed something but didn't fix the issue
  • Creating a new user and trying to browse to the app logged in as that user
  • Uninstalling all .NET and reinstalling through 3.5sp1

Any thoughts on what else to try?

Error log follows:

PLATFORM VERSION INFO
Windows : 5.1.2600.196608 (Win32NT)
Common Language Runtime : 2.0.50727.3053
System.Deployment.dll : 2.0.50727.3053 (netfxsp.050727-3000)
mscorwks.dll : 2.0.50727.3053 (netfxsp.050727-3000)
dfshim.dll : 2.0.50727.3053 (netfxsp.050727-3000)

SOURCES
Deployment url : http://clel043t2575/framework.ui/Framework.UI.xbap?Service=https://CLEL043T2575:444/
Application url : http://clel043t2575/framework.ui/Framework.UI_5_1_191_0/Framework.UI.exe.manifest

IDENTITIES
Deployment Identity : Framework.UI.application, Version=5.1.191.0, Culture=neutral, PublicKeyToken=dfc8268704145129, processorArchitecture=msil
Application Identity : Framework.UI.exe, Version=5.1.191.0, Culture=neutral, PublicKeyToken=dfc8268704145129, processorArchitecture=msil, type=win32

APPLICATION SUMMARY
* Online only application.
* Trust url parameter is set. * Browser-hosted application.

ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* An exception occurred while downloading the application. Following failure messages were detected:
+ Downloading http://clel043t2575/framework.ui/Framework.UI_5_1_191_0/Framework.UI.pdb.deploy did not succeed.
+ The operation has timed out

COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.

WARNINGS
There were no warnings during this operation.

OPERATION PROGRESS STATUS
No phase information is available.

ERROR DETAILS
Following errors were detected during this operation.
* [12/6/2009 6:10:11 PM] System.Deployment.Application.DeploymentDownloadException (Unknown subtype)
- Downloading http://clel043t2575/framework.ui/Framework.UI_5_1_191_0/Framework.UI.pdb.deploy did not succeed.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
at System.Deployment.Application.SystemNetDownloader.DownloadAllFiles()
at System.Deployment.Application.FileDownloader.Download(SubscriptionState subState)
at System.Deployment.Application.DownloadManager.DownloadDependencies(SubscriptionState subState, AssemblyManifest deployManifest, AssemblyManifest appManifest, Uri sourceUriBase, String targetDirectory, String group, IDownloadNotification notification, DownloadOptions options)
at System.Deployment.Application.DeploymentManager.SynchronizeCore(Boolean blocking)
at System.Deployment.Application.DeploymentManager.SynchronizeAsyncWorker()
--- Inner Exception ---
System.Net.WebException
- The operation has timed out
- Source: System
- Stack trace:
at System.Net.HttpWebRequest.GetResponse()
at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)

COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

半衾梦 2024-08-21 07:10:02

您的应用程序有多大?默认缓存限制为 250MB:

添加/更改 HKEY_CURRENT_USER\Software\Classes\Software\Microsoft\Windows\CurrentVersion\Deployment\OnlineAppQuotaInKB,这是一个 DWORD 值,表示缓存大小(以千字节为单位)。例如,为了将缓存大小增加到500MB,我将该值设置为512000。

How large is your app? The default cache-limit is 250MB:

Add/change HKEY_CURRENT_USER\Software\Classes\Software\Microsoft\Windows\CurrentVersion\Deployment\OnlineAppQuotaInKB, which is a DWORD value that expresses the cache size in kilobytes. For example, in order to increase the cache size to 500MB, I set this value to 512000.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文