Activités de "jayesh@extranerds.com"

Do we need to run this command before building the project or after building it, please confirm

Hey,

We have seen 500 in the log file at the below places:

Please verify the logs below if necessary. Also please confirm if we are missing something.

Thanks Jayesh

After selecting the scopes, it's working fine in the localhost development environment. Now everything is fine in our local environment (web+API).

The AzureWeb application is working fine without authorization, But while trying to log in to the application it comes with the error "This page isn’t working". Please find screenshots also.

We have the below projects in the list in our solution explorer.

Can you please share more details to fix the issue?

Currently, I'm able to see the code like in the screenshot, but not exactly as in ServerDataSeedContributor. Here we have defined "Resources" as well.

Thanks Jayesh

  • ABP Framework version: v7.3.3
  • UI Type: Blazor WASM
    • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

We are facing authorization issues in the development environment as well as after deployment on Azuredevops.

  1. At local we are able to run the Blazer web application with login correctly, but if we try to check the API's from Swagger then it is authorized successfully but API execution gives an unauthorized 401 error.

  2. The AzureWeb application is working fine without authorization, But while trying to log in to the application it comes with the error "This page isn’t working". Please find screenshots also.

Please find below the table values OpenIddictApplications, In the same way, we have replaced only localhost urls with our live application and API urls.

Please suggest if we are missing something.

Thanks Jayesh

Hi @Anjali_Musmade I followed the same migration guide and I checked the versions. ABP cli is 7.4.2 and the same i changed in the project nuget packages.

@maliming I went to project's blazor layer directory and opened CMD in the same directory and run the command "abp bundle". But I am getting some different error this time. Please check the attached screenshot.

  • ABP Framework version: v7.4.2
  • UI Type: Blazor WASM
  • Database System: EF Core (MS SQL Server, SQLite.)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes/no
  • Exception message and full stack trace:
* System.AggregateException: One or more errors occurred. (VTable setup of type Volo.Abp.Identity.HttpClientUserRoleFinder failed)
 ---> System.TypeLoadException: VTable setup of type Volo.Abp.Identity.HttpClientUserRoleFinder failed
   at System.RuntimeType.GetMethodsByName(String name, BindingFlags bindingAttr, MemberListType listType, RuntimeType reflectedType)
   at System.RuntimeType.GetMethodCandidates(String name, BindingFlags bindingAttr, CallingConventions callConv, Type[] types, Int32 genericParamCount, Boolean allowPrefixLookup)
   at System.RuntimeType.GetMethods(BindingFlags bindingAttr)
   at Volo.Abp.Uow.UnitOfWorkHelper.AnyMethodHasUnitOfWorkAttribute(TypeInfo implementationType)
   at Volo.Abp.Uow.UnitOfWorkHelper.IsUnitOfWorkType(TypeInfo implementationType)
   at Volo.Abp.Uow.UnitOfWorkInterceptorRegistrar.ShouldIntercept(Type type)
   at Volo.Abp.Uow.UnitOfWorkInterceptorRegistrar.RegisterIfNeeded(IOnServiceRegistredContext context)
   at Autofac.Builder.AbpRegistrationBuilderExtensions.InvokeRegistrationActions[Object,ConcreteReflectionActivatorData,SingleRegistrationStyle](IRegistrationBuilder`3 registrationBuilder, ServiceRegistrationActionList registrationActionList, Type serviceType, Type implementationType)
   at Autofac.Builder.AbpRegistrationBuilderExtensions.ConfigureAbpConventions[Object,ConcreteReflectionActivatorData,SingleRegistrationStyle](IRegistrationBuilder`3 registrationBuilder, IModuleContainer moduleContainer, ServiceRegistrationActionList registrationActionList)
   at Autofac.Extensions.DependencyInjection.AutofacRegistration.Register(ContainerBuilder builder, IServiceCollection services, Object lifetimeScopeTagForSingletons)
   at Autofac.Extensions.DependencyInjection.AutofacRegistration.Populate(ContainerBuilder builder, IServiceCollection services, Object lifetimeScopeTagForSingletons)
   at Autofac.Extensions.DependencyInjection.AutofacRegistration.Populate(ContainerBuilder builder, IServiceCollection services)
   at Volo.Abp.Autofac.AbpAutofacServiceProviderFactory.CreateBuilder(IServiceCollection services)
   at Microsoft.AspNetCore.Components.WebAssembly.Hosting.WebAssemblyHostBuilder.<>c__DisplayClass25_0`1[[Autofac.ContainerBuilder, Autofac, Version=7.0.0.0, Culture=neutral, PublicKeyToken=17863af14b0044da]].&lt;ConfigureContainer&gt;b__0()
   at Microsoft.AspNetCore.Components.WebAssembly.Hosting.WebAssemblyHostBuilder.Build()
   at APro.Inspector.Blazor.Program.Main(String[] args) in E:\projects\APro\APro.Inspector\src\APro.Inspector.Blazor\Program.cs:line 25
   --- End of inner exception stack trace ---
  • Steps to reproduce the issue:

*I tried to upgrade my abp framework blazor application from version 7.3.3 to version 7.4.2. I did it by updating the versions of packages for all the layers and then cleared yarn cache and installed the abp libraries using command "abp install-libs". Now when I run the project, the swagger api runs successfully but I am getting a console error in Blazor ui application. and Nothing appears on screen. The error occurs in Program.cs file on the line:

var host = builder.build();

Please check screenshots for more information.

Affichage de 21 à 27 sur 27 entrées
Made with ❤️ on ABP v8.2.0-preview Updated on mars 25, 2024, 15:11