"jaye@theservicemanager.com" 'in aktiviteleri

  • ABP Framework version: 6.0.0

  • UI type: Blazor

  • DB provider: EF Core

  • Identity Server Separated

  • Exception message and stack trace:

    Volo.Abp.AbpInitializationException: An error occurred during ConfigureServicesAsync phase of the module Volo.Abp.OpenIddict.AbpOpenIddictAspNetCoreModule, Volo.Abp.OpenIddict.AspNetCore, Version=6.0.0.0, Culture=neutral, PublicKeyToken=null. See the inner exception for details.
    2022-11-03T05:03:23.940270224Z  ---> System.Security.Cryptography.CryptographicException: The owner of '/home/.dotnet/corefx/cryptography/x509stores/my' is not the current user.
    2022-11-03T05:03:23.940277724Z    at Internal.Cryptography.Pal.DirectoryBasedStoreProvider.EnsureDirectoryPermissions(String path, UInt32 userId)
    2022-11-03T05:03:23.940283524Z    at Internal.Cryptography.Pal.DirectoryBasedStoreProvider.AddCertToStore(ICertificatePal certPal)
    2022-11-03T05:03:23.940288924Z    at Internal.Cryptography.Pal.DirectoryBasedStoreProvider.Add(ICertificatePal certPal)
    2022-11-03T05:03:23.940294224Z    at System.Security.Cryptography.X509Certificates.X509Store.Add(X509Certificate2 certificate)
    2022-11-03T05:03:23.940320625Z    at Microsoft.Extensions.DependencyInjection.OpenIddictServerBuilder.AddDevelopmentEncryptionCertificate(X500DistinguishedName subject)
    2022-11-03T05:03:23.940326125Z    at Microsoft.Extensions.DependencyInjection.OpenIddictServerBuilder.AddDevelopmentEncryptionCertificate()
    2022-11-03T05:03:23.940330725Z    at Volo.Abp.OpenIddict.AbpOpenIddictAspNetCoreModule.<>c__DisplayClass1_0.<AddOpenIddictServer>b__0(OpenIddictServerBuilder builder)
    2022-11-03T05:03:23.940336625Z    at Microsoft.Extensions.DependencyInjection.OpenIddictServerExtensions.AddServer(OpenIddictBuilder builder, Action`1 configuration)
    2022-11-03T05:03:23.940341625Z    at Volo.Abp.OpenIddict.AbpOpenIddictAspNetCoreModule.AddOpenIddictServer(IServiceCollection services)
    2022-11-03T05:03:23.940346425Z    at Volo.Abp.OpenIddict.AbpOpenIddictAspNetCoreModule.ConfigureServices(ServiceConfigurationContext context)
    2022-11-03T05:03:23.940351125Z    at Volo.Abp.Modularity.AbpModule.ConfigureServicesAsync(ServiceConfigurationContext context)
    2022-11-03T05:03:23.940355825Z    at Volo.Abp.AbpApplicationBase.ConfigureServicesAsync()
    2022-11-03T05:03:23.940360525Z    --- End of inner exception stack trace ---
    2022-11-03T05:03:23.940365025Z    at Volo.Abp.AbpApplicationBase.ConfigureServicesAsync()
    2022-11-03T05:03:23.940369625Z    at Volo.Abp.AbpApplicationFactory.CreateAsync[TStartupModule](IServiceCollection services, Action`1 optionsAction)
    2022-11-03T05:03:23.940374225Z    at Microsoft.Extensions.DependencyInjection.ServiceCollectionApplicationExtensions.AddApplicationAsync[TStartupModule](IServiceCollection services, Action`1 optionsAction)
    2022-11-03T05:03:23.940379125Z    at Microsoft.Extensions.DependencyInjection.WebApplicationBuilderExtensions.AddApplicationAsync[TStartupModule](WebApplicationBuilder builder, Action`1 optionsAction)
    2022-11-03T05:03:23.940388425Z    at FireBird.Program.Main(String[] args) in D:\a\1\s\src\FireBird.AuthServer\Program.cs:line 39
    
    

    <br>

  • Hi, I would like to ask for assistance regarding the installation of the new ABP AuthServer using OpenIDC on Microsoft Azure as an App Service. We are getting an error as shown above when trying to start the app service, we also tried to follow this guide (https://brianmeeker.me/2022/08/29/setting-up-abp-with-openiddict-on-azure-app-services/) but to no avail, it still produces the same error. This only started as soon as we moved to ABP 6.0.0

hi

AddDevelopmentEncryptionAndSigningCertificate cannot be used in applications deployed on IIS or Azure App Service: trying to use them on IIS or Azure App Service will result in an exception being thrown at runtime (unless the application pool is configured to load a user profile). To avoid that, consider creating self-signed certificates and storing them in the X.509 certificates store of the host machine(s). Please refer to: https://documentation.openiddict.com/configuration/encryption-and-signing-credentials.html#registering-a-development-certificate

Hello, we actually disable "AddDevelopmentEncryptionAndSigningCertificate", but it still throws an exception

Soru

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.

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

  • ABP Framework version: v7.0.3
  • UI type: Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): Identity Server separated

Hi, we're having some issue after upgrading all of our packages to v7 from 6.0,

Cevap

hi

Please add https://api.nuget.org/v3/index.json. to your nuget.config as well.

https://learn.microsoft.com/en-us/nuget/reference/nuget-config-file

Thanks, that helped, however I just have last issue:

FireBird.Web.Public.csproj: [NU1107] Version conflict detected for AngleSharp. Install/reference AngleSharp 0.17.1 directly to project FireBird.Web.Public to resolve this issue. FireBird.Web.Public -> FireBird.HttpApi -> FireBird.Blazor -> Volo.CmsKit.Pro.Admin.Blazor.WebAssembly 7.0.3 -> Volo.CmsKit.Pro.Admin.Blazor 7.0.3 -> AngleSharp (>= 0.17.1) FireBird.Web.Public -> Volo.CmsKit.Pro.Public.Web 7.0.3 -> Volo.CmsKit.Public.Web 7.0.3 -> HtmlSanitizer 5.0.331 -> AngleSharp (= 0.14.0).

There's a conflict for 'AngleSharp' nuget package

Cevap

All good, I removed ' <ProjectReference Include="..\FireBird.Blazor\FireBird.Blazor.csproj" />' from the API project

ABP Framework version: v7.0.3

UI type: Blazor

DB provider: EF Core

Tiered (MVC) or Identity Server Separated (Angular): Identity Server separated

Hi, we're having some issue after upgrading all of our packages to v7 from 6.0, when we try to run the API host this is what we get:

We just upgraded to abp 7 from version 6, everything build however the blazor app won't run, it gives us this error:

We already upgraded our nuget packages to 7.0.x

hi

Did you run the abp bundle on your blazor wasm project?

Yes, we got this error when we ran that:

hi

 > abp clean 
 > dotnet build 
 > abp bundle 

Thanks, that solved it!

Hi, we have deployed the Auth server to a Azure App Service, however we are having this issue:

12 kayıttan 1 ile 10 arası gösteriliyor.
Made with ❤️ on ABP v8.2.0-preview Updated on Mart 25, 2024, 15:11