2011-08-30 24 views
0

我負責排除從32位服務器移動到64位服務器的ASP.NET 2.0應用程序。該應用程序不是用Visual Studio編寫的,而是用FrontPages之類的。它工作在舊服務器上,但新的服務器,我們得到以下錯誤的:ASP.NET 2.0 InterlockedIncrement錯誤

「無法找到DLL‘KERNEL32.DLL’

這聽起來像它可能是一個命名的InterlockedIncrement「的切入點問題與64位與32位,但我一直沒能找到任何實際上指向我需要改變某些類型的參數,我一直無法解決問題的任何幫助,將不勝感激!

+0

您的應用程序在'Bin'文件夾中是否有任何DLL? –

回答

0

我們改變了

<%@導入命名空間= 「Microsoft.Data.Odbc」 %>到

<%@導入命名空間= 「System.Data.Odbc」 %>和它的工作。

0

MSDN

Platforms:

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role not supported), Windows Server 2003 SP2

您是否符合要求?

+0

服務器是Windows Server 2008 R2 Standard。我們有另外兩個ASP.NET網頁運行時沒有問題。這是一個應用程序,也是唯一一個應用程序。 – Bob

+0

另外,只安裝了文件服務角色和Web服務器(IIS)角色 – Bob

+0

有一個'InterlockedIncrement64'是你的應用程序編譯爲目標x64嗎?假設你使用.NET Interlocked.Increment。 – TheCodeKing