0
我有一个使用MS Access作为数据库的.NET应用程序。我一直在使用AnyCPU作为编译目标。这在Windows XP 32bit上运行良好。现在我需要部署到Windows 7 64位。当我第一次部署时,数据库连接失败。所以我发现我需要将编译目标更改为x86,以强制Windows 7 64bit在32位模式下运行程序。这很好。但是当我试图在Windows XP 32bit上运行该程序时,它失败了。x86目标未在32位Windows XP上运行
我很困惑,有人能指出我如何解决这个问题吗?
编辑:
下面是ClickOnce的错误的详细信息的Windows XP机器上编译目标是86:
错误详细
Following errors were detected during this operation. * [2/10/2011 10:29:44 PM] System.Deployment.Application.DeploymentException (SubscriptionState) - The deployment identity does not match the subscription. - Source: System.Deployment - Stack trace: at System.Deployment.Application.SubscriptionStore.CheckUpdateInManifest(SubscriptionState subState, Uri updateCodebaseUri, AssemblyManifest deployment, Version currentVersion, Boolean& bUpdateInPKTGroup) 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)
什么是在XP 32位上运行时遇到的故障(行为,异常,错误消息,错误代码)? – 2011-02-10 06:32:31