2011-08-30 75 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