3 Answer(s)
-
0
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. -
0
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
-
0
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.