Viewing 3 posts - 1 through 4 (of 4 total)
I fixed it. The problem is with the library SqlServerSpatial.dll. Download this file SQL Server System CLR Types from http://www.microsoft.com/download/en/details.aspx?id=8824. Extract the files. Copy SqlServerSpatial.dll to system32.
September 20, 2011 at 11:00 am
This is all the trace:
[BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)]
Microsoft.SqlServer.Types.GLNativeMethods.GeodeticIsValid(GeoMarshalData g, Boolean& result) +0
...
September 19, 2011 at 5:52 am
Thanks for you quick response.
The problem is in .NET applicacion not in SQL server. I think it's a problem with 32 / 64 bits library version.
Thanks again and best regards,
August 12, 2011 at 2:47 am
Viewing 3 posts - 1 through 4 (of 4 total)