ThinkGeo.com    |     Documentation    |     Premium Support

Support for SQL Server Compact 3.5 and SQL Server 2008 Express

Hi,


Does Map Suite support using an embedded SQL Server Compact 3.5 instance or SQL Server 2008 Express? If so what are the limitations in comparison to connecting to a full SQL 2008 installation.



Steve, 
  
 We do not support embedded Sql Server Compact 3.5, we support the Express edition though as I know one of our customers is using that. I’m not very sure about the limitations, we will have some tests for it and I will keep you updated. 
  
 Thanks, 
  
 Ben 


Steve,


We have a try and confirmed Desktop Edition goes well with the MS-Sql 2008 Express Edition. 


1, I downloaded the "Microsoft® SQL Server® 2008 Express with Advanced Services" from the following link:


microsoft.com/downloads/...layLang=en


2, I converted a shape file to the Express Server, and display it using the “Load A MS SQL 2008 FeatureSource” Sample, it works fine. 
 
3, Here is the connection string I am using, The port changes everytime I restarted the machine.
@"Data Source=myServerName\SQLEXPRESS,Port;Initial Catalog=myDataBase;Persist Security Info=false;User ID=myUsername;Password=myPassword;"


Let me know if you have any issues.

Thanks,


Ben



Do you have a handheld product that supports SQL Server Compact 3.5 SP1?  I noticed that 3.5 SP1 now supports geography and geometry data types.  Will the desktop version be able to support 3.5 SP1 and above?

Peter,


Thanks for your interests in Map Suite product.


We did some investigations on this, and found that neither SQL Server Compact 3.5 nor SP1 support the Spatial indexes used often in GIS. See following link:

social.msdn.microsoft.com/Fo...c84009b8a6


Besides, I am wondering what application you are targeting, embedded mobile device system or windows based Win forms application? Could you give us some information of what you are going to build on this? If it is embedded system, I have to say that currently we do not support this by using Map Suite component. The development of CE version of Map Suite is being on schedule.


Any more questions just feel free to let me know.


Thanks.


Yale