ClickOnce错误:Manifest XML签名无效 [英] ClickOnce error: Manifest XML signature is not valid

查看:86
本文介绍了ClickOnce错误:Manifest XML签名无效的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


大家好,


我一直在尝试对XP上的ClickOnce应用程序安装进行故障排除box,唯一一个在测试的8台机器中产生错误的盒子。我在下面列出了错误日志,有人知道如何解决这个问题。


我们非常感谢任何想法。



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)


SOURCES


< p class = MsoNormal> 部署网址: http://jacoe/WhitePagesApp/WhitePages.application


错误摘要


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


*激活 http://jacoe/WhitePagesApp/WhitePages.application 导致异常。检测到以下失败消息:

来自 http:/的异常阅读清单/jacoe/WhitePagesApp/WhitePages.application :清单可能无效或文件无法打开。
+ Manifest XML签名无效。
+系统找不到指定的文件。



COMPONENT STORE TRANSACTION FAILURE概要


未检测到任何交易错误。



此操作期间没有警告。



操作进度状态


* [12/04/2006 03:05:13 PM]:激活 http://jacoe/WhitePagesApp/WhitePages.application 已发布已开始。



错误详情


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


* [12/04/2006 03:05:13 PM] System.Deployment.Application.InvalidDeploymentException(ManifestParse)


- 来自 http://jacoe/WhitePagesApp/WhitePages.application <的异常阅读清单/ a>:清单可能无效或文件无法打开。
- 源:System.Deployment
- 堆栈跟踪:
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通知,DownloadOptions选项,ServerInformation& serverInformation.Application.DlicationManager.Application.Application.Application.Application.Application.Application.Application.Application.Application.Application.Application.Application.Application.Activator.PerformDeploymentActivation的System.Deployment.Application.DownloadManager.DownloadDeploymentManifestBypass(SubscriptionStore子存储,Uri& sourceUri,TempFile& tempFile,SubscriptionState& subState,IDownloadNotification通知,DownloadOptions选项) (Uri activationUri,Boolean isShortcut)
at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)


--- Inner Exception ---


System.Deployment.Application.InvalidDeploymentException(SignatureValidation)
- 清单XML签名无效。
- 源:System.Deployment
- 堆栈跟踪:
System.Deployment的System.Deployment.Application.Manifest.AssemblyManifest.ValidateSignature(Stream s)
.Application.ManifestReader.FromDocument(String localPath,ManifestType manifestType,Uri sourceUri)


---内部异常---


System.Security.Cryptography.CryptographicException
- 系统找不到指定的文件。
- 源码:System.Deployment
- Stack跟踪:在System.Deployment.Internal.CodeSigning.SignedCmiManifest.VerifyPublicKeyToken()
中的System.Deployment.Internal.CodeSigning.SignedCmiManifest.Verify(CmiManifestVerifyFlags verifyFlags)
在System.Deployment.Application.Manifest。 AssemblyManifest.ValidateSignature(Stream s)



COMPONENT STORE TRANSACTION DETAILS


没有可用的交易信息。



解决方案

您好JacoE,
我有相同的操作系统,只是浏览WIN32NT一词。我认为我也有相同或接近相同的版本。我似乎对这些信息不太有帮助,但我愿意尝试,如果你能得到你正在处理的代码。尝试使用VB的.Net Express Edition在这台机器上进行部署应用程序时,我遇到了类似的情况。它不在那里。不,我无法在帮助页面中做任何事情来进行部署:-(
至少我可以用这个东西编译而且它是免费的所以我有什么抱怨?
我确实跑了今天来自所有Windows样本的一些C ++命令行,并且在这里找到了更多有关这个装备的信息。如果你弄清楚这个,我相信你会让我们其他人知道。我只是发现了一个应该显示我在剪贴板中所拥有的所有示例,但它只是给了我"来自其他人的文本""没有数据可以从剪贴板中找到。"???这是全新的除了相同的ol disappointments.lol我对反馈也很嗤之以鼻,并且抱怨微软的很多网页上有太多的信息。链接,链接,链接,到处都是。不能有任何人只是试试一点点解释一下?我觉得像大多数真正的客户一样被推迟。我很有信心。

PS我试图访问你的网站有po该网址被拒绝并被拒绝。


Hi guys,

I have been trying to troubleshoot a ClickOnce application installation on a XP box, the only one that gives the error out of 8 machines tested. I have included the error log below, do anyone know how I can resolve this issue.

Any ideas would be greatly appreciated.

 

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

            Deployment url          : http://jacoe/WhitePagesApp/WhitePages.application
 

ERROR SUMMARY

            Below is a summary of the errors, details of these errors are listed later in the log.

            * Activation of http://jacoe/WhitePagesApp/WhitePages.application resulted in exception. Following failure messages were detected:
                        + Exception reading manifest from http://jacoe/WhitePagesApp/WhitePages.application: the manifest may not be valid or the file could not be opened.
                        + Manifest XML signature is not valid.
                        + The system cannot find the file specified.

 
COMPONENT STORE TRANSACTION FAILURE SUMMARY

            No transaction error was detected.

WARNINGS

            There were no warnings during this operation.


OPERATION PROGRESS STATUS

            * [12/04/2006 03:05:13 PM] : Activation of http://jacoe/WhitePagesApp/WhitePages.application has started.


ERROR DETAILS

            Following errors were detected during this operation.

            * [12/04/2006 03:05:13 PM] System.Deployment.Application.InvalidDeploymentException (ManifestParse)

                        - Exception reading manifest from http://jacoe/WhitePagesApp/WhitePages.application: 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)
                                    at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)

                        --- Inner Exception ---

                        System.Deployment.Application.InvalidDeploymentException (SignatureValidation)
                        - Manifest XML signature is not valid.
                        - Source: System.Deployment
                        - Stack trace:
                                    at System.Deployment.Application.Manifest.AssemblyManifest.ValidateSignature(Stream s)
                                    at System.Deployment.Application.ManifestReader.FromDocument(String localPath, ManifestType manifestType, Uri sourceUri)

                        --- Inner Exception ---

                        System.Security.Cryptography.CryptographicException
                        - The system cannot find the file specified.
                        - Source: System.Deployment
                        - Stack trace:
                                    at System.Deployment.Internal.CodeSigning.SignedCmiManifest.VerifyPublicKeyToken()
                                    at System.Deployment.Internal.CodeSigning.SignedCmiManifest.Verify(CmiManifestVerifyFlags verifyFlags)
                                    at System.Deployment.Application.Manifest.AssemblyManifest.ValidateSignature(Stream s)


COMPONENT STORE TRANSACTION DETAILS

            No transaction information is available.

 

 

解决方案

Hi JacoE,
I have the same operating system and was just browsing the term WIN32NT. I think that I also have the same or near to the same version also. I may not seem to be too helpful with that information but I am willing to try if you could get me the code your working on. I had a similar situation when trying to do a deployment app on this machine with the .Net Express Edition of VB. It ain't there. Nope, I could not do any of the things in the help pages for deployment :-(
Well at least I can compile with this thing and it was free so what have I got to complain about?
I did run some C++ command line today from all the Windows Samples and found out more about this here rig. If you get this one figured out I'm sure you will let the rest of us know. I just
found a bug in one of the examples that was supposed to display what I had in the clipboard but all it did was give me the text "" from the else "No data can be found from the clipboard".???
It's all new except the same ol disappointments.lol I got snotty in the feedback too and griped about how too much information was in a lot of the web pages on Microsoft. Links, links, links,
all over the place. Can't anybody there just try to explain things a little bit? I feel so put off like most real customers I'm sure.

P.S. I tried to access the site that you have posted and was denied for that URL.


这篇关于ClickOnce错误:Manifest XML签名无效的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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