"Unable to determine the type of spatial data in the specified dataset field ..." using the map layer wizard

This is the first time I'm using a map layer wizard in SSRS so that we can add spatial data to a map.

We get this error from the wizard:

Unable to determine the spatial data type in the specified dataset field...

The data type for spatial data is geography.

Spatial data appears as soon as it is executed in the query designer:

POINT (2.41866741166689 48.9082239283949)
POINT (1.92902094274567 47.9294603618455)
POINT (2.25244361602031 48.9619440062058)
POINT (1.91174331024445 47.9109595746068)
POINT (1.32766100377444 43.6203441938353)

If the same request is launched from SSMS, it looks like this:

0xE6100000010C4BF382AE407448400415C84C6E590340
0xE6100000010C0287A08EF8F647409244661045DDFE3F
0xE6100000010C5A9E2FFB207B48403421972801050240
0xE6100000010C0775C6529AF44740108C3D278096FE3F
0xE6100000010C9F64447067CF45400B2CF676193EF53F

All help would be appreciated.

+3
source share
1 answer

Do you use a parameter in the where clause of your dataset?

, / . ; , , .

, , ,

+2

All Articles