Open Closed

Spatial Data with NetTopologySuite - Login doesn't work #8619


User avatar
0
junio created

Hi,

I'm implementing the use of Spatial Data on my solution for Geometry/Polygon properties, using Microsoft.EntityFrameworkCore.SqlServer.NetTopologySuite 9.0.0 package. When I add the Microsoft.EntityFrameworkCore.SqlServer.NetTopologySuite package on needed projects, the identity login doesn't work anymore (using the correct user and password). Actualy, if I add the package even only on Web project the problem come. Remove the package and the identity Works fine again.

I try to separate the Identity DbContext from the App DbContext and use the **UseNetTopologySuite() **method only on App DbContext, (EntityFrameworkCore project) however, login still doesn't work.

Is there any wayl to deal with this problem?

  • ABP Framework version: 8.3.2
  • UI Type: MVC
  • Database System: EF Core (SQL Server)
  • Tiered: no
  • Exception message and full stack trace: No Exception
  • Steps to reproduce the issue: add Microsoft.EntityFrameworkCore.SqlServer.NetTopologySuite package and try to log in the system

7 Answer(s)
  • User Avatar
    0
    Anjali_Musmade created
    Support Team Support Team Member

    Can you please share error logs so that I can better assist you.

  • User Avatar
    0
    junio created

    Hi Anjali. There is no errors. No Exceptions. It happens like if we are using a wrong password. I though it was about the UseNetTopologySuite() method and try to separate the db contexts, as mentioned, but it stilll does not work. Even without using the UseNetTopologySuite() method. I update a project without changes to test and just add the package and the problem happens. Remove the package it works fine

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi junio

    Enable debug logs and reproduce the problem, then share the logs.txt file with liming.ma@volosoft.com

    https://abp.io/support/questions/8622/How-to-enable-Debug-logs-for-troubleshoot-problems

    Thanks.

  • User Avatar
    0
    junio created

    Hi,

    I've check the steps and enable the logs and still doesn'd log any errors.

    However I've notice that the problem was happening only on 8.3.2 version of ABP framework. I updated my solution to 9.0.3 version and the issue is gone.

    It is probably an issue on 8.3.2 version.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    ok, You can use 9.x to solve the problem.

    But you can share the normal info and debug logs.

    I will check if it contains any abnormal info.

    Thanks.

  • User Avatar
    0
    junio created

    I can share the 8.3.2 solution with you by email, if you want. As I said there is no information on the log file.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    ok since the problem has been solved I no need the logs anymore.

    Thanks

Made with ❤️ on ABP v9.2.0-preview. Updated on January 16, 2025, 11:47