清单的解析和DOM创建导致错误。 [英] Parsing and DOM creation of the manifest resulted in error.

查看:130
本文介绍了清单的解析和DOM创建导致错误。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用C#(VS-2005)

I'm using C# (VS-2005)

我有一个解决方案文件,里面有很多项目。我发布了主项目,后者又引用了其他程序集文件。它已成功发布到我的默认网页,但是当我尝试安装应用程序时,它会抛出错误:

I've a solution file which has many projects in it. I've published the main project, which in-turn has references to other assembly files. It got published successfully to my default web page, but when I'm trying to Install the application, it is throwing an error:

"无法继续。应用程序格式不正确。请联系应用程序供应商以获取帮助。"

   "Cannot continue. The application is improperly formatted. Contact the application vendor for assistance."

详细信息文件如下所示:

   The details file looks like this:

- -------------------------------------------------- -------------------------------------------------

----------------------------------------------------------------------------------------------------

PLATFORM VERSION INFO
Windows:5.1.2600.131072(Win32NT)
公共语言运行时:2.0.50727.42
System.Deployment.dll:2.0.50727.42(RTM.050727) -4200)
mscorwks.dll:2.0.50727.42(RTM.050727-4200)
dfdll.dll:2.0.50727.42(RTM.050727-4200)
dfshim.dll:2.0.50727.42(RTM。 050727-4200)

PLATFORM VERSION INFO
 Windows    : 5.1.2600.131072 (Win32NT)
 Common Language Runtime  : 2.0.50727.42
 System.Deployment.dll   : 2.0.50727.42 (RTM.050727-4200)
 mscorwks.dll    : 2.0.50727.42 (RTM.050727-4200)
 dfdll.dll    : 2.0.50727.42 (RTM.050727-4200)
 dfshim.dll    : 2.0.50727.42 (RTM.050727-4200)

SOURCES
部署网址: http://sri/CAS/CAS.application
服务器:Microsoft-IIS / 5.1
部署提供程序URL: http://sri/CAS/CAS.application

SOURCES
 Deployment url   : http://sri/CAS/CAS.application
      Server  : Microsoft-IIS/5.1
 Deployment Provider url  : http://sri/CAS/CAS.application

IDENTITIES
部署标识:CA S.application,Version = 1.0.0.2,Culture = neutral,PublicKeyToken = bf43ee70d0561fe0,processorArchitecture = msil

IDENTITIES
 Deployment Identity  : CAS.application, Version=1.0.0.2, Culture=neutral, PublicKeyToken=bf43ee70d0561fe0, processorArchitecture=msil

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

APPLICATION SUMMARY
 * Installable application.

错误摘要
以下是错误摘要,这些错误的详细信息将在后面的日志中列出。
*激活 http://sri/CAS/CAS.application 导致异常。检测到以下失败消息:
+异常读取清单来自 http://sri/CAS/CAS_1_0_0_2/CAS.exe.manifest :清单可能无效或无法打开文件。
+清单的解析和DOM创建导致错误。解析错误后注意到:
- HRESULT:0x80070c81
开始行:0
开始列:0
主机文件:
+ HRESULT异常:0x80070C81

ERROR SUMMARY
 Below is a summary of the errors, details of these errors are listed later in the log.
 * Activation of http://sri/CAS/CAS.application resulted in exception. Following failure messages were detected:
  + Exception reading manifest from http://sri/CAS/CAS_1_0_0_2/CAS.exe.manifest: the manifest may not be valid or the file could not be opened.
  + Parsing and DOM creation of the manifest resulted in error. Following parsing errors were noticed:
   -HRESULT:  0x80070c81
    Start line:  0
    Start column:  0
    Host file:  
  + Exception from HRESULT: 0x80070C81

COMPONENT STORE TRANSACTION FAILURE SUMMARY
未检测到交易错误。

COMPONENT STORE TRANSACTION FAILURE SUMMARY
 No transaction error was detected.

警告
此操作期间没有警告。

WARNINGS
 There were no warnings during this operation.

操作进度状态
[2006年11月1日上午9:37:06]:激活 http://sri/CAS/CAS.application 已经启动。
* [11/1/2006 9:37:07 AM]:部署清单的处理已成功完成。
* [11/1/2006 9:37:07 AM]:应用程序的安装已经开始。

OPERATION PROGRESS STATUS
 * [11/1/2006 9:37:06 AM] : Activation of http://sri/CAS/CAS.application has started.
 * [11/1/2006 9:37:07 AM] : Processing of deployment manifest has successfully completed.
 * [11/1/2006 9:37:07 AM] : Installation of the application has started.

错误详细信息
在此操作期间检测到以下错误。
* [11/1/2006 9:37:07 AM] System.Deployment.Application.InvalidDeploymentException(ManifestParse)
- 从 http://sri/CAS/CAS_1_0_0_2/CAS.exe.manifest :清单可能无效或文件无法打开。
- 源:System.Deployment
- 堆栈跟踪:
System.Deployment.Application.ManifestReader.FromDocument(String localPath,ManifestType manifestType,Uri sourceUri )

System.Deployment.Application.DownloadManager.DownloadApplicationManifest(AssemblyManifest deploymentManifest,String targetDir,Uri deploymentUri,IDownloadNotification notification,DownloadOptions options,Uri& appSourceUri,String& appManifestPath)
在System.Deployment.Application.ApplicationActivator.DownloadApplication(SubscriptionState subState,ActivationDescription actDesc,Int64 transactionId,TempDirectory& downloadTemp)

System.Deployment.Application.ApplicationActivator.InstallApplication(SubscriptionState subState,ActivationDescription actDesc)< br> at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri,Boolean isShortcut)

System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
---内部异常---
System.Deployment.Application.InvalidDeploymentException(ManifestParse)
- 清单的解析和DOM创建导致错误。解析错误后注意到:
- HRESULT:0x80070c81
开始行:0
开始列:0
主机文件:
- 来源:System.Deployment
- 堆栈跟踪:< br>在System.Deployment.Application.Manifest.AssemblyManifest.LoadCMSFromStream(Stream stream)中的System.Deployment.Application.Manifest.AssemblyManifest..ctor(FileStream fileStream)
中的System.Deployment.Application.ManifestReader。 FromDocument(String localPath,ManifestType manifestType,Uri sourceUri)
---内部异常---
System.Runtime.InteropServices.COMException
- 来自HRESULT的异常:0x80070C81
- 来源:System.Deployment







System.Deployment.Application.Manifest上的System.Deployment.Internal.Isolation.IsolationInterop.CreateCMSFromXml(Byte []缓冲区,UInt32 bufferSize,IManifestParseErrorCallback回调,Guid& riid)中的堆栈跟踪:
。 AssemblyManifest.LoadCMSFromStream(Stream stream)

ERROR DETAILS
 Following errors were detected during this operation.
 * [11/1/2006 9:37:07 AM] System.Deployment.Application.InvalidDeploymentException (ManifestParse)
  - Exception reading manifest from http://sri/CAS/CAS_1_0_0_2/CAS.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.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)
   at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
  --- Inner Exception ---
  System.Deployment.Application.InvalidDeploymentException (ManifestParse)
  - Parsing and DOM creation of the manifest resulted in error. Following parsing errors were noticed:
   -HRESULT:  0x80070c81
    Start line:  0
    Start column:  0
    Host file:  
  - Source: System.Deployment
  - Stack trace:
   at System.Deployment.Application.Manifest.AssemblyManifest.LoadCMSFromStream(Stream stream)
   at System.Deployment.Application.Manifest.AssemblyManifest..ctor(FileStream fileStream)
   at System.Deployment.Application.ManifestReader.FromDocument(String localPath, ManifestType manifestType, Uri sourceUri)
  --- Inner Exception ---
  System.Runtime.InteropServices.COMException
  - Exception from HRESULT: 0x80070C81
  - Source: System.Deployment
  - Stack trace:
   at System.Deployment.Internal.Isolation.IsolationInterop.CreateCMSFromXml(Byte[] buffer, UInt32 bufferSize, IManifestParseErrorCallback Callback, Guid& riid)
   at System.Deployment.Application.Manifest.AssemblyManifest.LoadCMSFromStream(Stream stream)

COMPONENT STORE TRANSACTION DETAILS
没有交易信息。

COMPONENT STORE TRANSACTION DETAILS
 No transaction information is available.

------------------------ -------------------------------------------------- ---------

-----------------------------------------------------------------------------------

请帮我解决这个问题。

Best问候

Trinadh P。

Trinadh P.

推荐答案

清单的内容是什么?

-
SvenC

--
SvenC


这篇关于清单的解析和DOM创建导致错误。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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