Welcome!
This community is for professionals and enthusiasts of the Genio platform.
Share your questions and challenges, and help your partners!
Geographic coordinates
Greetings everyone
I have a geographic coordinates field where I choose the Leaflet option for map visualization.
On my computer the geographic coordinates field works without any problem, when publishing the system on a virtual server the geographic coordinates field no longer works, the map no longer appears. It gives an error in the geographic coordinates table and shows this error on the page.
Any solution to the problem?
It will be hard for anyone to give you a solution without knowing what the problem is. Inside your GenioMVC folder there's a file named "Web.config", in that file you should have some lines of code like the ones below:
<customErrors mode="On" defaultRedirect="~/ServerError">
<error statusCode="404" redirect="~/NotFound" />
</customErrors>
Change the mode from "On" to "Off" and publish the solution again, this will give you a more detailed error message and, hopefully, a better idea of what the problem is.
Keep Informed
About the Community
Question tools
Stats
Asked: 13/12/2021 上午7:51 |
Seen: 1392 times |
Last updated: 13/12/2021 下午1:22 |
To solve an error in the table about geographic coordinates it was necessary to update the version of Microsoft.SqlServer.Types in my project in the Web.config file.
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
.
.
.
<dependentAssembly>
<assemblyIdentity name="Microsoft.SqlServer.Types" publicKeyToken="89845dcd8080cc91" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-14.0.0.0" newVersion="14.0.0.0" />
</dependentAssembly>
.
.
.
</assemblyBinding>
</runtime>