Click here to monitor SSC
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in
Home       Members    Calendar    Who's On

Add to briefcase

Spatial results windows in query editor Expand / Collapse
Posted Tuesday, October 28, 2008 3:13 PM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Monday, August 31, 2015 2:00 PM
Points: 30, Visits: 75
Hello all,

I just installed SQL Server Enterprise ed. 2008 Microsoft SQL Server 2008 (RTM) - 10.0.1600.22 on Windows 2003 SP2 server. Installations went well. Then I open SQL Server management studio and ran this query "select @@version". Instead of getting the version information, I got this.

An error occurred while executing batch. Error message is: Could not load type 'Microsoft.SqlServer.Types.SqlGeometry' from assembly 'Microsoft.SqlServer.Types, Version=, Culture=neutral, PublicKeyToken=89845dcd8080cc91'.

I got this error message, no matter what table I selected. So from another Windows server with SQL Server 2008 RCO, I connected to this server and ran the same command and it work find.

Then on the server with problem, I removed my dot net all of them. I reinstalled only dot net 3.5 SP1. Again the same error still occur. Playing around with it, I realized that it was the query result windows. On the query result, I got a tab for Results, Message and Spatial results. I have never seen Spatial Result in all the version SQL Server 2008 Beta before. I changed my Query result to display text instead of grid. I was able to run select of any command including the select @@version I did initially. According to BOL Spatial result will not display with text result. But Spatial result is suppose to only show when there is spatial data according to BOL. In my case I don't have any Spatial data and it still show up and cause my query not to work.

Does anyone have this same problem or know a work around solution beside result in text only? May be this is a bug in the product? But I am running the official release, which should make this bug unlikely.

Louis Lam
Post #593272
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse