vb.net 发布问题

时间:2021-02-01 13:57:56
vb.net程序发布到服务器后,客户机从网页地址安装时,出现如下错误:

PLATFORM VERSION INFO
Windows  : 5.2.3790.131072 (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 : file:///C:/Documents%20and%20Settings/Administrator/%E6%A1%8C%E9%9D%A2/%E8%BE%85%E5%8A%A9%E5%B7%A5%E5%85%B7%EF%BC%88%E8%8D%AF%E6%88%BF%E7%89%88%EF%BC%89.appref-ms%7C
Server : Microsoft-IIS/6.0
X-Powered-By : ASP.NET
Deployment Provider url : http://192.168.35.6:88/%E8%BE%85%E5%8A%A9%E5%B7%A5%E5%85%B7%EF%BC%88%E8%8D%AF%E6%88%BF%E7%89%88%EF%BC%89.application
Application url : http://192.168.35.6:88/Application%20Files/%E8%BE%85%E5%8A%A9%E5%B7%A5%E5%85%B7%EF%BC%88%E8%8D%AF%E6%88%BF%E7%89%88%EF%BC%89_1_0_0_26/%E8%BE%85%E5%8A%A9%E5%B7%A5%E5%85%B7%EF%BC%88%E8%8D%AF%E6%88%BF%E7%89%88%EF%BC%89.exe.manifest
Server : Microsoft-IIS/6.0
X-Powered-By : ASP.NET

IDENTITIES
Application Identity : 辅助工具(药房版).exe, Version=1.0.0.26, Culture=neutral, PublicKeyToken=f1dbc301b95e1f20, processorArchitecture=x86, type=win32

ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* Dependency 辅助工具(药房版).exe cannot be processed for patching. Following failure messages were detected:
+ Exception occurred loading manifest from file 辅助工具(药房版).exe: the manifest may not be valid or the file could not be opened. 
+ Cannot load internal manifest from component file.
* Activation of C:\Documents and Settings\Administrator\桌面\辅助工具(药房版).appref-ms| resulted in exception. Following failure messages were detected:
+ Exception occurred loading manifest from file 辅助工具(药房版).exe: the manifest may not be valid or the file could not be opened. 
+ Cannot load internal manifest from component file.

COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.

WARNINGS
There were no warnings during this operation.

OPERATION PROGRESS STATUS
* [2014-8-15 8:52:31] : Activation of C:\Documents and Settings\Administrator\桌面\辅助工具(药房版).appref-ms| has started.
* [2014-8-15 8:52:31] : Performing necessary update check as specified by the deployment.
* [2014-8-15 8:52:35] : Consuming new update.
* [2014-8-15 8:52:36] : Installation of the application has started.
* [2014-8-15 8:52:36] : Processing of application manifest has successfully completed.
* [2014-8-15 8:52:49] : Found compatible runtime version 4.0.30319.
* [2014-8-15 8:52:49] : Detecting dependent assembly Microsoft.VisualBasic.PowerPacks.Vs, Version=10.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A, processorArchitecture=msil using Microsoft.VisualBasic.PowerPacks.Vs, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=msil.
* [2014-8-15 8:52:49] : Request of trust and detection of platform is complete.

ERROR DETAILS
Following errors were detected during this operation.
* [2014-8-15 8:52:49] System.Deployment.Application.InvalidDeploymentException (ManifestLoad)
- Exception occurred loading manifest from file 辅助工具(药房版).exe: the manifest may not be valid or the file could not be opened. 
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.Manifest.AssemblyManifest.ManifestLoadExceptionHelper(Exception exception, String filePath)
at System.Deployment.Application.Manifest.AssemblyManifest.LoadFromInternalManifestFile(String filePath)
at System.Deployment.Application.Manifest.AssemblyManifest..ctor(String filePath)
at System.Deployment.Application.FileDownloader.AddFilesInHashtable(Hashtable hashtable, AssemblyManifest applicationManifest, String applicationFolder)
--- Inner Exception ---
System.Deployment.Application.DeploymentException (InvalidManifest)
- Cannot load internal manifest from component file.
- Source: 
- Stack trace:

* [2014-8-15 8:52:54] System.Deployment.Application.InvalidDeploymentException (ManifestLoad)
- Exception occurred loading manifest from file 辅助工具(药房版).exe: the manifest may not be valid or the file could not be opened. 
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.Manifest.AssemblyManifest.ManifestLoadExceptionHelper(Exception exception, String filePath)
at System.Deployment.Application.Manifest.AssemblyManifest.LoadFromInternalManifestFile(String filePath)
at System.Deployment.Application.Manifest.AssemblyManifest..ctor(String filePath)
at System.Deployment.Application.DownloadManager.ProcessDownloadedFile(Object sender, DownloadEventArgs e)
at System.Deployment.Application.FileDownloader.DownloadModifiedEventHandler.Invoke(Object sender, DownloadEventArgs e)
at System.Deployment.Application.FileDownloader.OnModified()
at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
at System.Deployment.Application.SystemNetDownloader.DownloadAllFiles()
at System.Deployment.Application.FileDownloader.Download(SubscriptionState subState)
at System.Deployment.Application.DownloadManager.DownloadDependencies(SubscriptionState subState, AssemblyManifest deployManifest, AssemblyManifest appManifest, Uri sourceUriBase, String targetDirectory, String group, IDownloadNotification notification, DownloadOptions options)
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.ConsumeUpdatedDeployment(SubscriptionState& subState, ActivationDescription actDesc)
at System.Deployment.Application.ApplicationActivator.PerformDeploymentUpdate(SubscriptionState& subState, String& errorPageUrl)
at System.Deployment.Application.ApplicationActivator.ProcessOrFollowShortcut(String shortcutFile, String& errorPageUrl, TempFile& deployFile)
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.Deployment.Application.DeploymentException (InvalidManifest)
- Cannot load internal manifest from component file.
- Source: 
- Stack trace:


COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.


求解!!!注:这是小部分客户端安装时出的问题,大部分正常。谢谢。

5 个解决方案

#1


有遇到过此类问题的朋友吗?可以讨论一下。

#2


看着像是版本错误,你看看dll版本对不对,然后平台是32的还是64的,是否兼容

#3


平台是32的,有问题的客户端之前是好用的,不知道为什么突然就打不开了。再重新从网页安装就出现上述问题。我如何检查dll版本对不对?

#4


看说明应该是clr版本互相冲突了。解决方法是 1 客户端和服务器端浏览器版本要一致 2.netframework版本要一致  3重新编译服务器和客户端的软件

#5


路过 帮顶下!

#1


有遇到过此类问题的朋友吗?可以讨论一下。

#2


看着像是版本错误,你看看dll版本对不对,然后平台是32的还是64的,是否兼容

#3


平台是32的,有问题的客户端之前是好用的,不知道为什么突然就打不开了。再重新从网页安装就出现上述问题。我如何检查dll版本对不对?

#4


看说明应该是clr版本互相冲突了。解决方法是 1 客户端和服务器端浏览器版本要一致 2.netframework版本要一致  3重新编译服务器和客户端的软件

#5


路过 帮顶下!