Vb.net 无法继续。应用程序的格式不正确

Vb.net 无法继续。应用程序的格式不正确,vb.net,visual-studio-2010,deployment,Vb.net,Visual Studio 2010,Deployment,我在另一台机器上安装一个已发布的vb.net软件时遇到了一个大问题,它在我的电脑(我开发该软件的地方)上正常工作 但是当我试图在其他机器上安装它时,它会抛出这个错误消息 “无法继续。应用程序格式不正确。请与应用程序供应商联系……等等” 编辑: 使用MyApplication\u UnhandledException抛出有关问题的信息后 我得到了这个信息: Prerequisite check for system component SQL Server 2005 Express Edi

我在另一台机器上安装一个已发布的vb.net软件时遇到了一个大问题,它在我的电脑(我开发该软件的地方)上正常工作

但是当我试图在其他机器上安装它时,它会抛出这个错误消息

“无法继续。应用程序格式不正确。请与应用程序供应商联系……等等”

编辑: 使用MyApplication\u UnhandledException抛出有关问题的信息后

我得到了这个信息:

    Prerequisite check for system component SQL Server 2005 Express Edition SP2 (x86) failed with the following error message:
"This version of SQL Server 2005 Express Edition (x86) is not supported for the current processor architecture."


See the setup log file located at 'C:\Users\rose\AppData\Local\Temp\VSDE833.tmp\install.log' for more information.
我下载了另一个版本的sql server 2005 express并安装了它,然后重试。弹出的另一条错误消息显示:

Prerequisite check for system component SQL Server 2008 Express failed with the following error message:
"The instance of SQL Server 2005 Express named 'SQLEXPRESS' contains components that are not included in SQL Server 2008 Express Service Pack 1. SQL Server 2008 Express SP1 cannot upgrade this instance. Please use SQL Server 2008 Express with Advanced Services instead."


See the setup log file located at 'C:\Users\rose\AppData\Local\Temp\VSDDE9B.tmp\install.log' for more information.
我去了Projectproperties并检查了sql server的先决条件 已发布我的项目(这次没有设置)

当我点击(exe)文件时,什么也没出来 另外,当我单击clickonce depl应用程序清单文件时,会出现另一个错误

PLATFORM VERSION INFO
    Windows             : 6.1.7601.65536 (Win32NT)
    Common Language Runtime     : 4.0.30319.18408
    System.Deployment.dll       : 4.0.30319.18408 built by: FX451RTMGREL
    clr.dll             : 4.0.30319.18408 built by: FX451RTMGREL
    dfdll.dll           : 4.0.30319.18408 built by: FX451RTMGREL
    dfshim.dll          : 4.0.41209.0 (Main.041209-0000)

SOURCES
    Deployment url          : file:///E:/555/Application%20Files/Walido%20GYM_1_0_0_15/Walido%20GYM.application

IDENTITIES
    Deployment Identity     : Walido GYM.application, Version=1.0.0.15, Culture=neutral, PublicKeyToken=0000000000000000, processorArchitecture=x86

APPLICATION SUMMARY
    * Installable application.

ERROR SUMMARY
    Below is a summary of the errors, details of these errors are listed later in the log.
    * Activation of E:\555\Application Files\Walido GYM_1_0_0_15\Walido GYM.application resulted in exception. Following failure messages were detected:
        + Downloading file:///E:/555/Application Files/Walido GYM_1_0_0_15/Application Files/Walido GYM_1_0_0_15/Walido GYM.exe.manifest did not succeed.
        + Could not find a part of the path 'E:\555\Application Files\Walido GYM_1_0_0_15\Application Files\Walido GYM_1_0_0_15\Walido GYM.exe.manifest'.
        + Could not find a part of the path 'E:\555\Application Files\Walido GYM_1_0_0_15\Application Files\Walido GYM_1_0_0_15\Walido GYM.exe.manifest'.
        + Could not find a part of the path 'E:\555\Application Files\Walido GYM_1_0_0_15\Application Files\Walido GYM_1_0_0_15\Walido GYM.exe.manifest'.

COMPONENT STORE TRANSACTION FAILURE SUMMARY
    No transaction error was detected.

WARNINGS
    * The manifest for this application does not have a signature. Signature validation will be ignored.

OPERATION PROGRESS STATUS
    * [24/12/2016 15:11:02] : Activation of E:\555\Application Files\Walido GYM_1_0_0_15\Walido GYM.application has started.
    * [24/12/2016 15:11:02] : Processing of deployment manifest has successfully completed.
    * [24/12/2016 15:11:02] : Installation of the application has started.

ERROR DETAILS
    Following errors were detected during this operation.
    * [24/12/2016 15:11:02] System.Deployment.Application.DeploymentDownloadException (Unknown subtype)
        - Downloading file:///E:/555/Application Files/Walido GYM_1_0_0_15/Application Files/Walido GYM_1_0_0_15/Walido GYM.exe.manifest did not succeed.
        - Source: System.Deployment
        - Stack trace:
            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.DownloadManifestAsRawFile(Uri& sourceUri, String targetPath, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
            at System.Deployment.Application.DownloadManager.DownloadApplicationManifest(AssemblyManifest deploymentManifest, String targetDir, Uri deploymentUri, IDownloadNotification notification, DownloadOptions options, Uri& appSourceUri, String& appManifestPath)
            at System.Deployment.Application.DownloadManager.DownloadApplicationManifest(AssemblyManifest deploymentManifest, String targetDir, Uri deploymentUri, 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, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)
            at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
        --- Inner Exception ---
        System.Net.WebException
        - Could not find a part of the path 'E:\555\Application Files\Walido GYM_1_0_0_15\Application Files\Walido GYM_1_0_0_15\Walido GYM.exe.manifest'.
        - Source: System
        - Stack trace:
            at System.Net.FileWebRequest.EndGetResponse(IAsyncResult asyncResult)
            at System.Net.FileWebRequest.GetResponse()
            at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
        --- Inner Exception ---
        System.Net.WebException
        - Could not find a part of the path 'E:\555\Application Files\Walido GYM_1_0_0_15\Application Files\Walido GYM_1_0_0_15\Walido GYM.exe.manifest'.
        - Source: System
        - Stack trace:
            at System.Net.FileWebResponse..ctor(FileWebRequest request, Uri uri, FileAccess access, Boolean asyncHint)
            at System.Net.FileWebRequest.GetResponseCallback(Object state)
        --- Inner Exception ---
        System.IO.DirectoryNotFoundException
        - Could not find a part of the path 'E:\555\Application Files\Walido GYM_1_0_0_15\Application Files\Walido GYM_1_0_0_15\Walido GYM.exe.manifest'.
        - Source: mscorlib
        - Stack trace:
            at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
            at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
            at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
            at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean useAsync)
            at System.Net.FileWebStream..ctor(FileWebRequest request, String path, FileMode mode, FileAccess access, FileShare sharing, Int32 length, Boolean async)
            at System.Net.FileWebResponse..ctor(FileWebRequest request, Uri uri, FileAccess access, Boolean asyncHint)

COMPONENT STORE TRANSACTION DETAILS
    No transaction information is available.

提前感谢。

确保目标计算机与应用程序使用的.NET Framework版本相同。第二种选择,尝试以下类似的答案:我安装了相同的.NET framework版本4.5.1,但仍然存在相同的问题当我单击应用程序文件文件夹CLR20r3 01:walido gym.exe 02:1.0.0.0 03:585d76fc 04:Microsoft.VisualBasic 05:11.0.50938.18408 06:52313bc9 07:88 08:8时,我也会遇到同样的问题09:System.IO.FileNotFoundException:6.1.7601.2.1.0.256.1:1036 1:0a9e 2:0A9E372D3B4AD19135B953A7882E789 3:0a9e 4:0a9e372d3b4ad19135b953a78882e789是否使用Visual Basic PowerPacks?确保目标计算机上也安装了。另请参见。它安装在两台计算机上,但仍然存在相同的问题。请确保目标计算机的.NET Framework版本与应用程序使用的版本相同。第二种选择,尝试以下类似的答案:我安装了相同的.NET framework版本4.5.1,但仍然存在相同的问题当我单击应用程序文件文件夹CLR20r3 01:walido gym.exe 02:1.0.0.0 03:585d76fc 04:Microsoft.VisualBasic 05:11.0.50938.18408 06:52313bc9 07:88 08:8时,我也会遇到同样的问题09:System.IO.FileNotFoundException:6.1.7601.2.1.0.256.1:1036 1:0a9e 2:0A9E372D3B4AD19135B953A7882E789 3:0a9e 4:0a9e372d3b4ad19135b953a78882e789是否使用Visual Basic PowerPacks?确保目标计算机上也安装了。另请参见。它安装在两台机器上,但仍然存在相同的问题
PLATFORM VERSION INFO
    Windows             : 6.1.7601.65536 (Win32NT)
    Common Language Runtime     : 4.0.30319.18408
    System.Deployment.dll       : 4.0.30319.18408 built by: FX451RTMGREL
    clr.dll             : 4.0.30319.18408 built by: FX451RTMGREL
    dfdll.dll           : 4.0.30319.18408 built by: FX451RTMGREL
    dfshim.dll          : 4.0.41209.0 (Main.041209-0000)

SOURCES
    Deployment url          : file:///E:/555/Application%20Files/Walido%20GYM_1_0_0_15/Walido%20GYM.application

IDENTITIES
    Deployment Identity     : Walido GYM.application, Version=1.0.0.15, Culture=neutral, PublicKeyToken=0000000000000000, processorArchitecture=x86

APPLICATION SUMMARY
    * Installable application.

ERROR SUMMARY
    Below is a summary of the errors, details of these errors are listed later in the log.
    * Activation of E:\555\Application Files\Walido GYM_1_0_0_15\Walido GYM.application resulted in exception. Following failure messages were detected:
        + Downloading file:///E:/555/Application Files/Walido GYM_1_0_0_15/Application Files/Walido GYM_1_0_0_15/Walido GYM.exe.manifest did not succeed.
        + Could not find a part of the path 'E:\555\Application Files\Walido GYM_1_0_0_15\Application Files\Walido GYM_1_0_0_15\Walido GYM.exe.manifest'.
        + Could not find a part of the path 'E:\555\Application Files\Walido GYM_1_0_0_15\Application Files\Walido GYM_1_0_0_15\Walido GYM.exe.manifest'.
        + Could not find a part of the path 'E:\555\Application Files\Walido GYM_1_0_0_15\Application Files\Walido GYM_1_0_0_15\Walido GYM.exe.manifest'.

COMPONENT STORE TRANSACTION FAILURE SUMMARY
    No transaction error was detected.

WARNINGS
    * The manifest for this application does not have a signature. Signature validation will be ignored.

OPERATION PROGRESS STATUS
    * [24/12/2016 15:11:02] : Activation of E:\555\Application Files\Walido GYM_1_0_0_15\Walido GYM.application has started.
    * [24/12/2016 15:11:02] : Processing of deployment manifest has successfully completed.
    * [24/12/2016 15:11:02] : Installation of the application has started.

ERROR DETAILS
    Following errors were detected during this operation.
    * [24/12/2016 15:11:02] System.Deployment.Application.DeploymentDownloadException (Unknown subtype)
        - Downloading file:///E:/555/Application Files/Walido GYM_1_0_0_15/Application Files/Walido GYM_1_0_0_15/Walido GYM.exe.manifest did not succeed.
        - Source: System.Deployment
        - Stack trace:
            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.DownloadManifestAsRawFile(Uri& sourceUri, String targetPath, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
            at System.Deployment.Application.DownloadManager.DownloadApplicationManifest(AssemblyManifest deploymentManifest, String targetDir, Uri deploymentUri, IDownloadNotification notification, DownloadOptions options, Uri& appSourceUri, String& appManifestPath)
            at System.Deployment.Application.DownloadManager.DownloadApplicationManifest(AssemblyManifest deploymentManifest, String targetDir, Uri deploymentUri, 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, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)
            at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
        --- Inner Exception ---
        System.Net.WebException
        - Could not find a part of the path 'E:\555\Application Files\Walido GYM_1_0_0_15\Application Files\Walido GYM_1_0_0_15\Walido GYM.exe.manifest'.
        - Source: System
        - Stack trace:
            at System.Net.FileWebRequest.EndGetResponse(IAsyncResult asyncResult)
            at System.Net.FileWebRequest.GetResponse()
            at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
        --- Inner Exception ---
        System.Net.WebException
        - Could not find a part of the path 'E:\555\Application Files\Walido GYM_1_0_0_15\Application Files\Walido GYM_1_0_0_15\Walido GYM.exe.manifest'.
        - Source: System
        - Stack trace:
            at System.Net.FileWebResponse..ctor(FileWebRequest request, Uri uri, FileAccess access, Boolean asyncHint)
            at System.Net.FileWebRequest.GetResponseCallback(Object state)
        --- Inner Exception ---
        System.IO.DirectoryNotFoundException
        - Could not find a part of the path 'E:\555\Application Files\Walido GYM_1_0_0_15\Application Files\Walido GYM_1_0_0_15\Walido GYM.exe.manifest'.
        - Source: mscorlib
        - Stack trace:
            at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
            at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
            at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
            at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean useAsync)
            at System.Net.FileWebStream..ctor(FileWebRequest request, String path, FileMode mode, FileAccess access, FileShare sharing, Int32 length, Boolean async)
            at System.Net.FileWebResponse..ctor(FileWebRequest request, Uri uri, FileAccess access, Boolean asyncHint)

COMPONENT STORE TRANSACTION DETAILS
    No transaction information is available.