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