Open Closed

when I'm trying to deploy my project on the server i got this problem #3000


User avatar
0
malfaqeeh48 created

when I'm trying to deploy my project on the server i got this problem Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.

If you're creating a bug/problem report, please include followings:

  • ABP Framework version: v5.2.2
  • UI type: Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

15 Answer(s)
  • User Avatar
    0
    gterdem created
    Senior .NET Developer

    You may have forgotten to update your database connection string.

  • User Avatar
    0
    malfaqeeh48 created

    i updated the database but the problem is with the user i fix it but right now. I have another one and I added a new questions

  • User Avatar
    0
    malfaqeeh48 created

  • User Avatar
    0
    malik.masis created

    Hi,

    Probably there are some actions with the same name. Could you share the logs or check the console/network by pressing f12?

    Regards

  • User Avatar
    0
    malfaqeeh48 created

    my question is when i deploying the project on iis I got this error from the log file and the application will not working that error log means that i have to create new database login user under the name of ' NT AUTHORITY\ANONYMOUS LOGON' I can fix the issue after creating this DB login user my question is why the app.io commercial framework asking me to create this DB login after deploying on iis ?? who can I solve this issue with out create

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    What's your connection string? is it contains Integrated Security=True?

  • User Avatar
    0
    malfaqeeh48 created

    this is my connection string "Default": "Server=Server,1433;Database=db_a8633f_cfpc;User Id=dbo;password=password;Trusted_Connection=True;"

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    Please try to remove the Trusted_Connection=True;

    User ID and Password are specified and Trusted_Connection is set to true, the User ID and Password will be ignored and Integrated Security will be used.

  • User Avatar
    0
    malfaqeeh48 created

    this is my log file url :

    https://drive.google.com/file/d/1nxmuBFy6t49M8sjwPD5QW90iV6V8j-BC/view?usp=sharing

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    Microsoft.Data.SqlClient.SqlException (0x80131904): Cannot open database "CFPC" requested by the login. The login failed. Login failed for user 'IIS APPPOOL\AppHost_New'.

    Did you removed the Trusted_Connection=True;

  • User Avatar
    0
    malfaqeeh48 created

    yes I removed it

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Please share more info about Application Pool. eg settings

  • User Avatar
    0
    malfaqeeh48 created

    Can you give me a steps To Deploy an Application Created from Abp Suite Like If have to change The Connection Strings From db migrator or not.... about everything I think this steps should be in the abp commercial Document

  • User Avatar
    0
    malfaqeeh48 created

    okay can you tell me where i have to change the connection string its into appsettings module.hostApi and Appsettings. dbmigrator module I have been Changed The Connection string only Inside module.hostApi and before I published the HostApi module , I Unloaded the dbmigrator module

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    You need to change the connection string in the appsettings.json of the startup project, please search the string globally in your projects.

Made with ❤️ on ABP v9.1.0-preview. Updated on November 01, 2024, 05:35