2012-01-07 15 views
0

ClickOnceアプリケーションを配備する際に問題が発生しました。彼だけが問題を抱え、他のすべてがうまく展開することに注意してください。ログには「間違った」URLが表示されます。ClickOnce InvalidDeploymentException(ManifestParse)一部のユーザーにのみ間違ったURLがあります

PLATFORM VERSION INFO 
    Windows    : 5.1.2600.196608 (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   : http://download.sandboxmodel.com/ptb/PTB.application 

ERROR SUMMARY 
    Below is a summary of the errors, details of these errors are listed later in the log. 
    * Activation of http://download.sandboxmodel.com/ptb/PTB.application (correct URL) resulted in exception. Following failure messages were detected: 
     + Exception reading manifest from 
http://wrongurl.htm?Time=05%2FJan%2F2012%3A14%3A27%3A13%20-0600&ID=4919900&Client_IP.... the manifest may not be valid or the file could not be opened. 
     + Expected DTD markup was not found. Line 1, position 3. 

COMPONENT STORE TRANSACTION FAILURE SUMMARY 
    No transaction error was detected. 

WARNINGS 
    There were no warnings during this operation. 

OPERATION PROGRESS STATUS 
    * [1/5/2012 2:27:13 PM] : Activation of http://download.sandboxmodel.com/ptb/PTB.application (correct URL) has started. 

ERROR DETAILS 
    Following errors were detected during this operation. 
    * [1/5/2012 2:27:13 PM] System.Deployment.Application.InvalidDeploymentException (ManifestParse) 
     - Exception reading manifest from 
http://wrongurl.htm?Time=05%2FJan%2F2012%3A14%3A27%3A13%20-0600&ID=4919900&Client_IP.... 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.DownloadDeploymentManifestDirectBypass(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionState& subState, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation) 
      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.Xml.XmlException 
     - Expected DTD markup was not found. Line 1, position 3. 
     - Source: System.Xml 
     - Stack trace: 
      at System.Xml.XmlTextReaderImpl.Throw(Exception e) 
      at System.Xml.XmlTextReaderImpl.DtdParserProxy.System.Xml.IDtdParserAdapter.Throw(Exception e) 
      at System.Xml.DtdParser.Throw(Int32 curPos, String res, String arg) 
      at System.Xml.DtdParser.ScanSubsetContent() 
      at System.Xml.DtdParser.GetToken(Boolean needWhiteSpace) 
      at System.Xml.DtdParser.ParseSubset() 
      at System.Xml.DtdParser.ParseExternalSubset() 
      at System.Xml.DtdParser.ParseInDocumentDtd(Boolean saveInternalSubset) 
      at System.Xml.DtdParser.Parse(Boolean saveInternalSubset) 
      at System.Xml.DtdParser.System.Xml.IDtdParser.ParseInternalDtd(IDtdParserAdapter adapter, Boolean saveInternalSubset) 
      at System.Xml.XmlTextReaderImpl.ParseDtd() 
      at System.Xml.XmlTextReaderImpl.ParseDoctypeDecl() 
      at System.Xml.XmlTextReaderImpl.ParseDocumentContent() 
      at System.Xml.XmlTextReaderImpl.Read() 
      at System.Xml.XmlTextReader.Read() 
      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. 

私たちはどんな「特別な」settings.Theseせずに、.NET Frameworkの4.0クライアントプロファイルを使用してVisual Studio 2010のからの公開は、いくつかの設定です: アプリケーションのみ ClickOnceのセキュリティ設定を有効にし、オンラインで提供されています詳細はログファイルを完全な信頼を持つ マニフェストとアセンブリには署名があります

デプロイ時にInternet Explorerブラウザを使用している顧客と確認しました。 どのようにそれを解決するためのアイデア?

+0

ファイルの破損には、さまざまな原因が考えられます。あなたの顧客は、マシンを再び安定させるために彼女のITスタッフの助けを必要とします。 –

+0

お客様のマシンが安定しておらず、ファイルが破損していると思われるのはなぜですか?私はネットワークの問題をもっと考えています。私はClickOnceが間違ったURLから展開しようとする理由を理解していません。 – Guy

答えて

0

この問題は、URLがたとえばにリダイレクトされているときに表示されます。パブリックWLANのログインページ。アップデートが必要なため、WLANアダプタが有効になっている限り、ユーザはアプリケーションを起動できません。

+0

公開設定で私は更新を無効にしましたが、顧客にはまだ問題があります。パブリックWLANのログインページにリダイレクトされるURLは、正確にはどういう意味ですか?これは、クライアントのネットワークのネットワーク設定ですか?問題を解決する方法を見つけましたか? – Guy

関連する問題