Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Web site no longer run with Spatial Data Type
Message
De
16/06/2016 17:30:48
 
 
À
16/06/2016 10:43:14
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
OS:
Windows 8.1
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01637427
Message ID:
01637441
Vues:
50
SQL Server 2014 as is with its CLR Types file does not work with the Spatial Data Type. I did not succeed to make that work. I had to uninstall the CLR Types 2014 and installed CLR Types 2012. That worked.

I also did not find a post on the Internet about someone who has SQL Server 2014 with the combination of a Web site doing some access to a table having some Spatial Data Type. So, there seems be something there.

So, the main components are like this:

SQL Server 2014
IIS 8.5
Windows Server 2012 R2
On the Web server, I installed SQLSysClrTypes.msi 2012
In the project, there is a reference to that file
In the connection string, there is ;Type System Version=SQL Server 2012

As the Spatial Data Type is not supported as is in the .NET SQL Data Client, we need to add this extra support. This is like that for three versions. This is still highly complicated. If there is a simpler way to achieve this, I would very much like to know about it.

At least, if I could use SQLSysClrTypes.msi 2014, that would be better. But, the problem is, when using that version, we cannot add that syntax in the connection string.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform