views:

12

answers:

0

In moving from one hosting provider to another, I've moved my ASP.NET 2.0 app from Windows Server 2003 32-bit to Windows Server 2008 64-bit

Both servers are running MSSQL 2005 and I restored a backup from the old server on the new server.

I am using iBATIS.NET's DataMapper (1.1.458) and now my ResultMappings aren't working properly. I have a custom Date class that is a wrapper to DateTime to handle a nullable Date field in the database (this was an app ported up from ASP.NET 1.1)

The result of my queries are not properly setting the value. Here's my ResultMap:

<resultMap id="CompletedDate" class="Strategy.PWDate">
    <result property="Value" column="completedDate" />                      
</resultMap>

Anyone out there deal with something like this? The move to 64-bit makes me wonder if I've got some sort of encoding issue on the date column or something of the sort. Note that I have another table that uses this same sort of setup and it's failing as well.