Search code examples
asp.netentry-point

ASP.NET 2.0 InterlockedIncrement Error


I am tasked with troubleshooting an ASP.NET 2.0 application that was moved from a 32-bit server to a 64-bit server. The application wasn't written in Visual Studio but in something like FrontPages. It worked on the old server but on the new server we get the following error:

"Unable to find an entry point named 'InterlockedIncrement' in DLL 'kernel32.dll'

It sounded like it could be an issues with the 64 bit versus 32 bit but I haven't been able to find anything that actually points me to where I need to change some type of parameter I have not been able to solve the problem. Any help would be greatly appreciated!


Solution

  • We changed the

    <%@ Import Namespace="Microsoft.Data.Odbc" %> to

    <%@ Import Namespace="System.Data.Odbc" %> and it worked.