En sql server management studio, no puedo visualizar resultados espaciales. Tengo el error " One of the identified items was in an invalid format"

Gustavo Donoso Lange 5 Puntos de reputación
2024-08-26T16:50:53.9133333+00:00

Consultando datos geograficos y haciendo click a la pestaña "Spatial Results" me da el error. He probado con versiones anteriores y continúa. Se da solo en ciertas geometrías. Este es un equipo nuevo, funciona correctamente en otros equipos. Actualicé Sql server types.

User's image

One of the identified items was in an invalid format. (Microsoft.SqlServer.Types)


Program Location:

at Microsoft.SqlServer.Types.SqlGeometry.Read(BinaryReader r)

at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.LoadDataForGeometry.ReadAndValidateSpatialData(BinaryReader binaryReader)

at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.LoadDataForSpatialDataType.LoadData(LoadDataObject loadDataObject)

at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.MapPanel.LoadDataToDataTable(LoadDataObject loadDataObject)

at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.MapPanel.LoadData()

SQL Server
SQL Server
Familia de sistemas de análisis y administración de bases de datos relacionales de Microsoft para soluciones de comercio electrónico, línea de negocio y almacenamiento de datos.
142 preguntas
{count} voto

2 respuestas

Ordenar por: Muy útil
  1. Gustavo Donoso Lange 5 Puntos de reputación
    2024-08-27T13:12:36.6266667+00:00

    I don't think that's the case; I have tested with POLYGON and MULTIPOLYGON and have encountered errors with both


  2. Drew France 0 Puntos de reputación
    2024-11-14T06:07:22.7833333+00:00

    I discovered a similar issue after upgrading to SQL Server Management Studio 19.3.4 earlier this year and guessed it is a bug in SSMS, as the error was not there in previous versions.

    The error appears when attempting to display spatial data in the "Spatial" tab of SSMS when there is a geography/geometry with over 4000 points in it.

    I logged it on the page at https://feedback.azure.com/d365community/idea/76a0d1bc-7307-ef11-a73c-000d3a012948. If it is the same issue for you (which you may need to test to confirm), feel free to vote for the post.


Su respuesta

Las respuestas se pueden marcar como respuestas aceptadas por el autor de la pregunta, lo que ayuda a los usuarios a conocer la respuesta que resolvió el problema del autor.