Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Spatial results windows in query editor


Spatial results windows in query editor

Author
Message
Louis Lam-391748
Louis Lam-391748
SSC Rookie
SSC Rookie (30 reputation)SSC Rookie (30 reputation)SSC Rookie (30 reputation)SSC Rookie (30 reputation)SSC Rookie (30 reputation)SSC Rookie (30 reputation)SSC Rookie (30 reputation)SSC Rookie (30 reputation)

Group: General Forum Members
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=10.0.0.0, 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.

Thanks,
Louis Lam
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search