2013-04-15 62 views
1
PLATFORM VERSION INFO 
Windows     : 6.1.7601.65536 (Win32NT) 
Common Language Runtime : 4.0.30319.296 
System.Deployment.dll : 4.0.30319.1 (RTMRel.030319-0100) 
clr.dll     : 4.0.30319.296 (RTMGDR.030319-2900) 
dfdll.dll    : 4.0.30319.1 (RTMRel.030319-0100) 
dfshim.dll    : 4.0.31106.0 (Main.031106-0000) 

SOURCES 
Deployment url   : http://apps4you.comyr.com/appTest8 /snake.application 
Server     : Apache 

IDENTITIES 
Deployment Identity  : snake.application, Version=1.0.0.6, Culture=neutral, PublicKeyToken=5bd57d3abffa2377, processorArchitecture=x86 

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

ERROR SUMMARY 
Below is a summary of the errors, details of these errors are listed later in the log. 
* Activation of http://apps4you.comyr.com/appTest8/snake.application resulted in exception. Following failure messages were detected: 
    + Exception reading manifest from http://apps4you.comyr.com/appTest8 /Application%20Files/snake_1_0_0_6/snake.exe.manifest: the manifest may not be valid or the file could not be opened. 
    + Unexpected end of file has occurred. The following elements are not closed: br, br. Line 3, position 254. 

COMPONENT STORE TRANSACTION FAILURE SUMMARY 
No transaction error was detected. 

WARNINGS 
There were no warnings during this operation. 

OPERATION PROGRESS STATUS 
* [15/04/2013 5:23:29 p.m.] : Activation of http://apps4you.comyr.com/appTest8/snake.application has started. 
* [15/04/2013 5:23:31 p.m.] : Processing of deployment manifest has successfully completed. 
* [15/04/2013 5:23:31 p.m.] : Installation of the application has started. 

ERROR DETAILS 
Following errors were detected during this operation. 
* [15/04/2013 5:23:31 p.m.] System.Deployment.Application.InvalidDeploymentException (ManifestParse) 
    - Exception reading manifest from http://apps4you.comyr.com/appTest8/Application%20Files/snake_1_0_0_6/snake.exe.manifest: the manifest may not be valid or the file could not be opened. 
    - Source: System.Deployment 
    - Stack trace: 
     at System.Deployment.Application.ManifestReader.FromDocument(String localPath, ManifestType manifestType, Uri sourceUri) 
     at System.Deployment.Application.DownloadManager.DownloadApplicationManifest(AssemblyManifest deploymentManifest, String targetDir, Uri deploymentUri, IDownloadNotification notification, DownloadOptions options, Uri& appSourceUri, String& appManifestPath) 
     at System.Deployment.Application.DownloadManager.DownloadApplicationManifest(AssemblyManifest deploymentManifest, String targetDir, Uri deploymentUri, Uri& appSourceUri, String& appManifestPath) 
     at System.Deployment.Application.ApplicationActivator.DownloadApplication(SubscriptionState subState, ActivationDescription actDesc, Int64 transactionId, TempDirectory& downloadTemp) 
     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) 
    --- Inner Exception --- 
    System.Xml.XmlException 
    - Unexpected end of file has occurred. The following elements are not closed: br, br. Line 3, position 254. 
    - Source: System.Xml 
    - Stack trace: 
     at System.Xml.XmlTextReaderImpl.Throw(String res, String arg) 
     at System.Xml.XmlTextReaderImpl.ParseElementContent() 
     at System.Deployment.Application.ManifestValidatingReader.XmlFilteredReader.Read() 
     at System.Deployment.Application.ManifestValidatingReader.XmlFilteredReader.Read() 
     at System.Xml.XmlTextReaderImpl.Skip() 
     at System.Deployment.Application.ManifestValidatingReader.XmlFilteredReader.Read() 
     at System.Xml.XmlTextReaderImpl.Skip() 
     at System.Deployment.Application.ManifestValidatingReader.XmlFilteredReader.Read() 
     at System.Xml.XmlCharCheckingReader.Read() 
     at System.Xml.XsdValidatingReader.Read() 
     at System.Deployment.Application.ManifestReader.FromDocument(String localPath, ManifestType manifestType, Uri sourceUri) 

COMPONENT STORE TRANSACTION DETAILS 
No transaction information is available. 
+0

錯誤對話框中應該有一個'Details ...'按鈕。點擊它並查看實際錯誤消息中是否有任何有意義的內容。 –

+0

乾杯 - 有一些細節。在我看來,像下載應用程序清單時遇到問題一樣。 – whiteElephant

回答

0

您的部署URL是錯誤

據:

的C

激活:\用戶\用戶\下載\ snake.application導致 例外。檢測到以下故障消息: +部署和應用程序沒有匹配的安全區域。

的URL

file:///C:/Users/user/Downloads/snake.application 

應該

http://apps4you.comyr.com/appTest7/ 

所以瀏覽器通過清單應用程序部署在相同的位置出版商預期,並沒有被篡改知道。這是一個安全問題。

publish tab

In the Installation URL field, enter the installation 
location using a fully qualified URL using the format http://www.microsoft.com/ApplicationName, or a 
UNC path using the format \\Server\ApplicationName. 
+0

嗨,感謝您的評論 - 這是由於使用Mozilla。第二個細節是我現在收到的。 – whiteElephant

+0

我相信clickonce在Mozilla中不起作用。你需要一個pulgin:https://addons.mozilla.org/nl/firefox/addon/microsoft-net-framework-assist/ –

+0

是的歡呼 - 現在這個。問題現在與清單。你有什麼機會知道如何解決? – whiteElephant

-3
+0

這確實是一個問題,但ClickOnce應用程序並不完全與InstallShield或MSI項目相關聯。發佈屬性決定了啓動時的安裝可執行文件的操作,並且在更新可用時每次啓動時都會進行更新。這個問題與在線部署直接相關,在線部署中用戶可以下載應用程序並通過Web服務器部署自動獲取更新。 –