this is my connection string "Default": "Server=Server,1433;Database=db_a8633f_cfpc;User Id=dbo;password=password;Trusted_Connection=True;"
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
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
i don't know why that's problem happened with me I didn't make any change except the the db but I made update db on the cli and i made run for dbmigrator this is the last time happened before multiple days so help please to solve this situation
If you're working on localhost, please check your IdentityServerDataSeedContributor.cs class before running DbMigrator. That class is placed under IdentityServer folder under Domain project by default. All Clients are defined there and they're seeded to run your app properly at the initial state.
Make sure the following code block exits and blazor URL is configured properly in
appsettings.json
of DbMigrator project.var blazorClientId = configurationSection["MyProjectName_Blazor:ClientId"]; if (!blazorClientId.IsNullOrWhiteSpace()) { var blazorRootUrl = configurationSection["MyProjectName_Blazor:RootUrl"].TrimEnd('/'); await CreateClientAsync( name: blazorClientId, scopes: commonScopes, grantTypes: new[] { "authorization_code" }, secret: configurationSection["MyProjectName_Blazor:ClientSecret"]?.Sha256(), requireClientSecret: false, redirectUri: $"{blazorRootUrl}/authentication/login-callback", postLogoutRedirectUri: $"{blazorRootUrl}/authentication/logout-callback", corsOrigins: new[] { blazorRootUrl.RemovePostFix("/") } ); }
After configuring everything well, run the DbMigrator once to seed client options.
Also, please check
appsettings.json
file under yourHttpApi.Host
project. There should be a section like that:"App": { "CorsOrigins": "https://*.yourproject.com" },
You can separate CorsOrigins with coma (
,
), make sure there is your blazor url.
yes I checked them all everything is good and that's code already build by abp suite and I didn't change anything's in these files
As I see, it's a CORS issue, did you configure cors properly for you client?
Make sure your IdentityServer configuration is made properly. https://docs.abp.io/en/abp/5.2/Modules/IdentityServer#client
iam still on localhost server run time iis ???
Can you describe it for me more i mean the steps to doit