Open Closed

Deploy #3038


User avatar
0
malfaqeeh48 created

I got this message while I am trying to deploy my website on this server

  • 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:"

3 Answer(s)
  • User Avatar
    0
    enisn created
    Support Team .NET Developer

    Hi @malfaqeeh48

    Can you confirm the connection string is correct to connect the database on sql8001.site4now.net:1433

    If the connection string is correct, there might be a whitelist to allow connections or something else network issue.


    Also make sure you have removed Trusted_Connection=True; section from your connection string.

  • 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
    gterdem created
    Senior .NET Developer

    I don't think it is about connecting to the database server. It looks like there is no database to connect to.

    Update connection strings on the DbMigrator appsettings and run it. It will create the database and seed the necessary data. Update connection strings on HttpApi.Host appsettings and run your application. Share your application logs if you are having problems again.

Made with ❤️ on ABP v9.1.0-preview. Updated on December 13, 2024, 06:09