来自http://localhost/test/BLBank.svc的异常读取清单:清单可能无效或无法打开文件。 [英] Exception reading manifest from http://localhost/test/BLBank.svc: the manifest may not be valid or the file could not be opened.

查看:94
本文介绍了来自http://localhost/test/BLBank.svc的异常读取清单:清单可能无效或无法打开文件。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Windows Server 2008 R2上部署我的WCF Web服务,并在浏览我的Web服务时出现以下错误。

详细的错误消息为打击。
平台版本信息
Windows:6.0.6002.131072(Win32NT)
公共语言运行时:2.0.50727.4200
System.Deployment.dll:2.0.50727.4016(NetFxQFE.050727-4000)
mscorwks.dll:2.0.50727.4200(NetFxQFE.050727-4200)
dfdll.dll:2.0.50727.4016(NetFxQFE.050727-4000)

dfshim.dll:2.0.50727.4016(NetFxQFE.050727-4000)


来源
部署网址: http://localhost/test/BLBank.svc


错误摘要
以下是错误摘要,这些错误的详细信息将在后面的日志中列出。
*激活 http://localhost/test/BLBank.svc 导致异常。检测到以下失败消息:来自 http://localhost/test/BLBank.svc 的异常读取清单:清单可能无效或文件无法打开。
+名称不能以'%'字符开头,十六进制值0x25。第1行,第2行。


组件商店交易失败摘要
未检测到交易错误。


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


操作进度状态
* [2009年12月4日1:45:34]:激活 http://localhost/test/BLBank.svc 已经开始。


错误详情
在此期间检测到以下错误操作。
* [12/4/2009 1:45:34 PM] System.Deployment.Application.InvalidDeploymentException(ManifestParse)
- 来自 http://localhost/test/BLBank.svc :清单可能无效或文件无法打开。
- 来源:System.Deployment - 堆栈跟踪:
在System.Deployment.Application.ManifestReader.FromDocument(String localPath,ManifestType manifestType,Uri sourceUri)
在System.Deployment.Application.DownloadManager.Downloa dDeploymentManifestDirectBypass(SubscriptionStore子存储,Uri& sourceUri,TempFile& tempFile,SubscriptionState& subState,IDownloadNotification通知,DownloadOptions选项,ServerInformation& serverInformation)
在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)
在System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(对象状态)
---内部异常 - -
System.Xml.XmlException
- 名称不能以'%'字符开头,十六进制值0x25。第1行,第2位。
- 来源:System.Xml
- 堆栈跟踪:
在System.Xml.XmlTextReaderImpl.Throw(例外e)
在System.Xml.XmlTextReaderImpl .ParseQName(Boolean isQName,Int32 startOffset,Int32& colonPos)
在System.Xml.XmlTextReaderImpl.ParseElement()中,在System.Xml.XmlTextReaderImpl.ParseDocumentContent()中,在System.Deployment中。 Application.ManifestValidatingReader.XmlFilteredReader.Read()
在System.Xml.XmlCharCheckingReader()
在System.Xml.XsdValidatingReader()
在System.Deployment.Application.ManifestReader。 FromDocument(String localPath,ManifestType manifestType,Uri sourceUri)


COMPONENT STORE TRANSACTION DETAILS
没有可用的交易信息。


解决方案

问候Umesh,


请你确认一下,何你部署WCF服务吗?通过VS或MSI或Clickonce发布它?因此,我可以进一步分析您的问题,并建议您采取进一步行动。

期待您的回复。

感谢&的问候,
哈里什

hi i m deploying my WCF web service on Windows server 2008 R2 and i m getting the following error when i m browsing my web service.

The Detailed error message as blow.
PLATFORM VERSION INFO
 Windows    : 6.0.6002.131072 (Win32NT)
 Common Language Runtime  : 2.0.50727.4200
 System.Deployment.dll   : 2.0.50727.4016 (NetFxQFE.050727-4000)
 mscorwks.dll    : 2.0.50727.4200 (NetFxQFE.050727-4200)
 dfdll.dll    : 2.0.50727.4016 (NetFxQFE.050727-4000)
 dfshim.dll    : 2.0.50727.4016 (NetFxQFE.050727-4000)

SOURCES
 Deployment url   : http://localhost/test/BLBank.svc

ERROR SUMMARY
 Below is a summary of the errors, details of these errors are listed later in the log.
 * Activation of http://localhost/test/BLBank.svc resulted in exception. Following failure messages were detected:
  + Exception reading manifest from http://localhost/test/BLBank.svc: the manifest may not be valid or the file could not be opened.
  + Name cannot begin with the '%' character, hexadecimal value 0x25. Line 1, position 2.

COMPONENT STORE TRANSACTION FAILURE SUMMARY
 No transaction error was detected.

WARNINGS
 There were no warnings during this operation.

OPERATION PROGRESS STATUS
 * [12/4/2009 1:45:34 PM] : Activation of http://localhost/test/BLBank.svc has started.

ERROR DETAILS
 Following errors were detected during this operation.
 * [12/4/2009 1:45:34 PM] System.Deployment.Application.InvalidDeploymentException (ManifestParse)
  - Exception reading manifest from http://localhost/test/BLBank.svc: 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
  - Name cannot begin with the '%' character, hexadecimal value 0x25. Line 1, position 2.
  - Source: System.Xml
  - Stack trace:
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.ParseQName(Boolean isQName, Int32 startOffset, Int32& colonPos)
   at System.Xml.XmlTextReaderImpl.ParseElement()
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   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.

 

解决方案

Greetings Umesh,

Could you please confirm, How do you deploy the WCF service. By publishing it from VS or by MSI or Clickonce? So that i can analyze your issue further and suggest you accordingly for further action.

Looking forward for your response.

Thanks & Regards,
Harish


这篇关于来自http://localhost/test/BLBank.svc的异常读取清单:清单可能无效或无法打开文件。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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