单击一次部署 [英] Click Once deployment

查看:71
本文介绍了单击一次部署的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用单击部署部署我的Windows应用程序,但它会给出以下错误,请帮我解决此错误。



请详细解答









平台版本信息

Windows:6.1.7600.0(Win32NT)

公共语言运行时间:4.0.30319.1

System.Deployment.dll:4.0.30319.1(RTMRel.030319-0100)

clr.dll:4.0.30319.1(RTMRel.030319-0100)

dfdll .dll:4.0.30319.1(RTMRel.030319-0100)

dfshim.dll:4.0.31106.0(Main.031106-0000)



SOURCES

部署网址:file:/// C:/Users/shamah/Downloads/HotelManagementSystem.application

部署提供商网址:http:// locus9-pc / HotelManagementSystem / HotelManagementSystem.application



错误摘要

以下是错误摘要,这些错误的详细信息将在后面的日志中列出。

*激活C:\ Users \shamah \Downloads \ HotelManagementSystem.application导致异常。检测到以下失败消息:

+正在下载http://locus9-pc/HotelManagementSystem/HotelManagementSystem.application未成功。

+远程服务器返回错误:( 404)未找到。



组件商店交易失败摘要

未检测到交易错误。



警告

此操作期间没有警告。



操作进度状态

* [2014年4月29日下午5:20:33]:激活C:\ Users \shamah \Downloads \ HotelManagementSystem.application已经开始。



ERROR DETAILS

在此操作过程中检测到以下错误。

* [2014/4/29 5:21:04] System.Deployment.Application.DeploymentDownloadException(未知子类型)

- 下载http://locus9-pc/HotelManagementSystem/HotelManagementSystem.application未成功。

- 来源:System.Deployment

- 堆栈跟踪:

在System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(NextQueueItem next)

在System.Deployment.Application.SystemNetDownloader .DownloadAllFiles()

在System.Deployment.Application.FileDownloader.Download(SubscriptionState subState)

在System.Deployment.Application.DownloadManager.DownloadManifestAsRawFile(Uri&sourceUri,String targetPath ,IDownloadNotification通知,DownloadOptions选项,ServerInformation和serverInformation)

在System.Deployment.Application.DownloadManager.DownloadManifest(Uri&sourceUri,String targetPath,IDownloadNotification notification,DownloadOptions options,ManifestType manifestType,ServerInformation&serverInformation)
在System.Deployment.Application.DownloadManager.DownloadDeploymentManifestDirect(SubscriptionStore子存储,Uri和sourceUri,TempFile和tempFile,IDownloadNotification通知,DownloadOptions选项,ServerInformation和serverInformation)

在System.Deployment.Application.DownloadManager.FollowDeploymentProviderUri(SubscriptionStore子存储,AssemblyManifest&deployment,Uri&sourceUri,TempFile&tempFile,IDownloadNotification通知,DownloadOptions选项)

在System.Deployment.Application.DownloadManager.DownloadDeploymentManifestBypass(SubscriptionStore子存储,Uri和sourceUri,TempFile和tempFile,SubscriptionState&subState,IDownloadNotification通知,DownloadOptions选项)

在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)

--- Inner例外---

System.Net.WebException

- rem ote服务器返回错误:(404)未找到。

- 来源:系统

- 堆栈跟踪:

在System.Net.HttpWebRequest .GetResponse()

在System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(下载下一个问题)



组件商店交易细节

没有可用的交易信息。

I am trying to deploy my windows application using click once deployment but it give following error please help me to solve this errors.

please give answer in details




PLATFORM VERSION INFO
Windows : 6.1.7600.0 (Win32NT)
Common Language Runtime : 4.0.30319.1
System.Deployment.dll : 4.0.30319.1 (RTMRel.030319-0100)
clr.dll : 4.0.30319.1 (RTMRel.030319-0100)
dfdll.dll : 4.0.30319.1 (RTMRel.030319-0100)
dfshim.dll : 4.0.31106.0 (Main.031106-0000)

SOURCES
Deployment url : file:///C:/Users/shamah/Downloads/HotelManagementSystem.application
Deployment Provider url : http://locus9-pc/HotelManagementSystem/HotelManagementSystem.application

ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of C:\Users\shamah\Downloads\HotelManagementSystem.application resulted in exception. Following failure messages were detected:
+ Downloading http://locus9-pc/HotelManagementSystem/HotelManagementSystem.application did not succeed.
+ The remote server returned an error: (404) Not Found.

COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.

WARNINGS
There were no warnings during this operation.

OPERATION PROGRESS STATUS
* [4/29/2014 5:20:33 PM] : Activation of C:\Users\shamah\Downloads\HotelManagementSystem.application has started.

ERROR DETAILS
Following errors were detected during this operation.
* [4/29/2014 5:21:04 PM] System.Deployment.Application.DeploymentDownloadException (Unknown subtype)
- Downloading http://locus9-pc/HotelManagementSystem/HotelManagementSystem.application 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.DownloadManifestAsRawFile(Uri& sourceUri, String targetPath, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
at System.Deployment.Application.DownloadManager.DownloadManifest(Uri& sourceUri, String targetPath, IDownloadNotification notification, DownloadOptions options, ManifestType manifestType, ServerInformation& serverInformation)
at System.Deployment.Application.DownloadManager.DownloadDeploymentManifestDirect(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
at System.Deployment.Application.DownloadManager.FollowDeploymentProviderUri(SubscriptionStore subStore, AssemblyManifest& deployment, Uri& sourceUri, TempFile& tempFile, IDownloadNotification notification, DownloadOptions options)
at System.Deployment.Application.DownloadManager.DownloadDeploymentManifestBypass(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionState& subState, IDownloadNotification notification, DownloadOptions options)
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)
--- Inner Exception ---
System.Net.WebException
- The remote server returned an error: (404) Not Found.
- 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.

推荐答案

正如它所说的那样 - 404!

404意味着资源(你的文件) case)不是你要求的地方!

检查http://locus9-pc/HotelManagementSystem/HotelManagementSystem.application - 由于某种原因它缺失了!
As it says - 404!
404 means that the resource (file in your case) is not where you ask for!
Check http://locus9-pc/HotelManagementSystem/HotelManagementSystem.application - it is missing for some reason!


这篇关于单击一次部署的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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