Activities of "malfaqeeh48"

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

Question

Failed to load API definition. Fetch errorNot Found /swagger/v1/swagger.json

I'm trying to deploy my application to iis but I changed the hostname i got this problem Even if I'm deploying my application to server not web server I got the same issue so I need help

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

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

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 your HttpApi.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

You can configure it with UI:

the problem is I can not to access to this page because the error change port number for from 4307 to 4308 and i got this error when I click f12 inspect console and that happened automatically this is not the first time happened

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

i oppend a new question before tow days so please help i need it urgently

Access to XMLHttpRequest at 'https://localhost:44362/.well-known/openid-configuration' from origin 'https://localhost:44308' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

Hi, as the error message said this is an error related to CORS policy and a different topic from this question, so please create a new question for your problem.

help me please i need help very very fast cuse i have a deadline

Showing 41 to 50 of 66 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11