Hello,
My application uses SQL Server 2008 spatial and works fine in IIS6, but the mapping breaks in IIS7. Are there any issues i should be aware of that would cause the app to break in IIS7?
Thanks,
Jason
Graham,
I got it figured out. I added Microsoft.SqlServer.Types.dll to the bin folder and it solved the issue.
Thanks for your help!
The application works fine on my box with the service from production.
Jason,
Can't you debug just the Silverlight client portion and point it at the production web service? You are interested in whether the spatial data response makes it back to the Silverlight client, it wouldnt require debugging the web service.
You may want to try using an http inspection tool to inspect the communications going between the client and the server or turn on WCF tracing on the server side and capture a trace log.
-Graham
Thanks for helping me out with this. Unfortunately my development environment is different(IIS6) and I am not able to debug on production server.
Does your aynchronous callback method from fetching the spatial data fire? Can you place a breakpoint there and examine the data returned from the service before it is fed to the SqlShapeReader?