"mostafa_ibrahem22@hotmail.com" 'in aktiviteleri

  • ABP Framework version: v5.1.3
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

OS : Window 10

Operations Error. Operations Error. Result: 1. Method: ldap_parse_result. Details: ErrorMessage: 000004DC: LdapErr: DSID-0C090A71, comment: In order to perform this operation a successful bind must be completed on the connection., data 0, v3839

  • ABP Framework version: v5 commercial
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes

How to set the default culture "ar" in (API, Identity Server, Angular) with default layout (RTL) and I support multi-languages like "en" with layout (LTR)?

  • ABP Framework version: v5 commercial
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes

hi,

I want to test my api by sending all parameters with null value to check DataAnnotationsLocalization

[06:04:47 INF] Request starting HTTP/2 POST https://localhost:44358/api/main-core/country application/json 198
[06:04:47 INF] CORS policy execution failed.
[06:04:47 INF] Request origin https://localhost:44358 does not have permission to access the resource.
[06:04:47 DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:15b4826b-9071-fdae-7b4a-3a017f5c2255,n:MainCore.Countries
[06:04:47 DBG] Found in the cache: pn:U,pk:15b4826b-9071-fdae-7b4a-3a017f5c2255,n:MainCore.Countries
[06:04:47 DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:MainCore.Countries
[06:04:47 DBG] Found in the cache: pn:R,pk:admin,n:MainCore.Countries
[06:04:47 DBG] PermissionStore.GetCacheItemAsync: pn:C,pk:Naama_Swagger,n:MainCore.Countries
[06:04:47 DBG] Found in the cache: pn:C,pk:Naama_Swagger,n:MainCore.Countries
[06:04:47 DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:15b4826b-9071-fdae-7b4a-3a017f5c2255,n:MainCore.Countries.Create
[06:04:47 DBG] Found in the cache: pn:U,pk:15b4826b-9071-fdae-7b4a-3a017f5c2255,n:MainCore.Countries.Create
[06:04:47 DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:MainCore.Countries.Create
[06:04:47 DBG] Found in the cache: pn:R,pk:admin,n:MainCore.Countries.Create
[06:04:47 DBG] PermissionStore.GetCacheItemAsync: pn:C,pk:Naama_Swagger,n:MainCore.Countries.Create
[06:04:47 DBG] Found in the cache: pn:C,pk:Naama_Swagger,n:MainCore.Countries.Create
[06:04:47 INF] Executing endpoint 'Naama.MainCore.Lookups.Countries.CountryController.CreateAsync (Naama.MainCore.HttpApi)'
[06:04:47 INF] Route matched with {area = "mainCore", action = "Create", controller = "Country", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[Naama.MainCore.Lookups.Countries.CountryDto] CreateAsync(Naama.MainCore.Lookups.Countries.CreateUpdateCountryDto) on controller Naama.MainCore.Lookups.Countries.CountryController (Naama.MainCore.HttpApi).
[06:04:47 INF] Entity Framework Core 6.0.0 initialized 'LanguageManagementDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer:6.0.0' with options: QuerySplittingBehavior=SplitQuery 
[06:04:47 INF] Executed DbCommand (2ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__KrJwKRUZe_0='?' (Size = 128), @__FacERZtJZ_1='?' (Size = 10)], CommandType='Text', CommandTimeout='30']
SELECT [a].[Id], [a].[CreationTime], [a].[CreatorId], [a].[CultureName], [a].[LastModificationTime], [a].[LastModifierId], [a].[Name], [a].[ResourceName], [a].[TenantId], [a].[Value]
FROM [AbpLanguageTexts] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND (([a].[ResourceName] = @__KrJwKRUZe_0) AND ([a].[CultureName] = @__FacERZtJZ_1))
[06:04:47 DBG] Added 0 entity changes to the current audit log
[06:04:47 ERR] ---------- RemoteServiceErrorInfo ----------
{
  "code": null,
  "message": "An internal error occurred during your request!",
  "details": null,
  "data": {},
  "validationErrors": null
}
[06:04:47 ERR] Cannot retrieve property 'Name' because localization failed.  Type 'Naama.MainCore.Localization.MainCoreResource' is not public or does not contain a public static string property with the name 'ArabicName'.
System.InvalidOperationException: Cannot retrieve property 'Name' because localization failed.  Type 'Naama.MainCore.Localization.MainCoreResource' is not public or does not contain a public static string property with the name 'ArabicName'.
   at System.ComponentModel.DataAnnotations.LocalizableString.<>c__DisplayClass12_1.<GetLocalizableValue>b__2()
   at System.ComponentModel.DataAnnotations.LocalizableString.GetLocalizableValue()
   at Microsoft.AspNetCore.Mvc.DataAnnotations.DataAnnotationsMetadataProvider.CreateDisplayMetadata(DisplayMetadataProviderContext context)
   at Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultCompositeMetadataDetailsProvider.CreateDisplayMetadata(DisplayMetadataProviderContext context)
   at Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultModelMetadata.get_DisplayMetadata()
   at Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultModelMetadata.get_Order()
   at System.Linq.EnumerableSorter`2.ComputeKeys(TElement[] elements, Int32 count)
   at System.Linq.OrderedEnumerable`1.ToList()
   at Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultModelMetadata.get_Properties()
   at Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata.get_BoundProperties()
   at Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultModelMetadata.CalculateHasValidators(HashSet`1 visited, ModelMetadata metadata)
   at Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultModelMetadata.get_HasValidators()
   at Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationVisitor.VisitImplementation(ModelMetadata& metadata, String& key, Object model)
   at Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationVisitor.Visit(ModelMetadata metadata, String key, Object model)
   at Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationVisitor.Validate(ModelMetadata metadata, String key, Object model, Boolean alwaysValidateAtTopLevel, Object container)
   at Microsoft.AspNetCore.Mvc.ModelBinding.ObjectModelValidator.Validate(ActionContext actionContext, ValidationStateDictionary validationState, String prefix, Object model, ModelMetadata metadata, Object container)
   at Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder.EnforceBindRequiredAndValidate(ObjectModelValidator baseObjectValidator, ActionContext actionContext, ParameterDescriptor parameter, ModelMetadata metadata, ModelBindingContext modelBindingContext, ModelBindingResult modelBindingResult, Object container)
   at Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder.BindModelAsync(ActionContext actionContext, IModelBinder modelBinder, IValueProvider valueProvider, ParameterDescriptor parameter, ModelMetadata metadata, Object value, Object container)
   at Microsoft.AspNetCore.Mvc.Controllers.ControllerBinderDelegateProvider.<>c__DisplayClass0_0.<<CreateBinderDelegate>g__Bind|0>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
[06:04:47 INF] Executing ObjectResult, writing value of type 'Volo.Abp.Http.RemoteServiceErrorResponse'.
[06:04:47 INF] Executed action Naama.MainCore.Lookups.Countries.CountryController.CreateAsync (Naama.MainCore.HttpApi) in 10.3301ms
[06:04:47 INF] Executed endpoint 'Naama.MainCore.Lookups.Countries.CountryController.CreateAsync (Naama.MainCore.HttpApi)'
[06:04:47 DBG] Added 0 entity changes to the current audit log
[06:04:47 INF] Entity Framework Core 6.0.0 initialized 'AbpAuditLoggingDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer:6.0.0' with options: QuerySplittingBehavior=SplitQuery 
[06:04:47 INF] Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (Size = 96), @p2='?' (Size = 512), @p3='?' (Size = 64), @p4='?' (Size = 64), @p5='?' (Size = 128), @p6='?' (Size = 256), @p7='?' (Size = 40), @p8='?' (Size = 64), @p9='?' (Size = 4000), @p10='?' (DbType = Int32), @p11='?' (DbType = DateTime2), @p12='?' (Size = 4000), @p13='?' (Size = 16), @p14='?' (DbType = Int32), @p15='?' (DbType = Guid), @p16='?' (DbType = Guid), @p17='?' (DbType = Guid), @p18='?' (Size = 4000), @p19='?' (Size = 256), @p20='?' (DbType = Guid), @p21='?' (Size = 256)], CommandType='Text', CommandTimeout='30']
SET NOCOUNT ON;
INSERT INTO [AbpAuditLogs] ([Id], [ApplicationName], [BrowserInfo], [ClientId], [ClientIpAddress], [ClientName], [Comments], [ConcurrencyStamp], [CorrelationId], [Exceptions], [ExecutionDuration], [ExecutionTime], [ExtraProperties], [HttpMethod], [HttpStatusCode], [ImpersonatorTenantId], [ImpersonatorUserId], [TenantId], [TenantName], [Url], [UserId], [UserName])
VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17, @p18, @p19, @p20, @p21);
[06:04:47 DBG] Added 0 entity changes to the current audit log
[06:04:47 DBG] Added 0 entity changes to the current audit log
[06:04:47 INF] Request finished HTTP/2 POST https://localhost:44358/api/main-core/country application/json 198 - 500 - application/json;+charset=utf-8 31.7985ms

Volo.FileManagement - Volo.Chat - Volo.Blogging don't have angualr code

  • ABP Framework version: v5 commercial
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes

Ex: abp get-source Volo.FileManagement

and abp suite "Add as project" not working with angualr

  • ABP Framework version: V5.0 commercial
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes

I publish the three sites on IIS Identity Server Host: https://mabuhamad.mowe.gov.sa:12345/ API Host: https://mabuhamad.mowe.gov.sa:12346/swagger/index.html Angular Host: https://mabuhamad.mowe.gov.sa:4400/ everything working ok

but I want to publish the three sites on IIS on port 443 with a subdirectory Identity Server Host: https://mabuhamad.mowe.gov.sa/NaamaIdentityServer API Host: https://mabuhamad.mowe.gov.sa/NaamaAPI Angular Host: https://mabuhamad.mowe.gov.sa/NaamaAngular after these settings, the Identity Server not working

Internal Server Error - UNAUTHORIZED_CLIENT invalid issuer in discovery document expected: https://mabuhamad.mowe.gov.sa/NaamaIdentityServer current: https://mabuhamad.mowe.gov.sa/naamaidentityserver

and some resources not found 404

  • ABP Framework version: v5.0 commercial
  • UI type: Angular & MVC [identity server]
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes

In the documentation, there is no information on how to use all our company brand colors with ABP commercial Lapton Theme. https://docs.abp.io/en/commercial/latest/themes/customizing-lepton-theme?UI=NG

I want to create a new template lepton7.scss in Angular & MVC [identity server] projects

how add lepton7.scss as Style7 Angular & MVC [identity server] projects Volo.Abp.LeptonTheme.Style => Style7 Volo.Abp.LeptonTheme.Style.PublicLayout=> Style7

  • ABP Framework version: commercial v 5rc.1
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes

I want to add external Idsrv4 to the abp Idsrv In Project "XXXX.IdentityServer.csproj" I added two Packages <PackageReference Include="Microsoft.AspNetCore.Authentication.OpenIdConnect" Version="6.0.0" /> <PackageReference Include="IdentityModel" Version="5.1.0" />

and I configure authentication, but still user can not login,

    context.Services.AddAuthentication()
            .AddJwtBearer(options =>
            {
                options.Authority = configuration["AuthServer:Authority"];
                options.RequireHttpsMetadata = Convert.ToBoolean(configuration["AuthServer:RequireHttpsMetadata"]);
                options.Audience = configuration["AuthServer:ApiName"];
            }).AddOpenIdConnect("oidc", options =>
            {
                options.Authority = "https://localhost:44382/";
                options.ClientId = "main_core_idsrv";
                options.ClientSecret = "main_core_idsrv_secret_mvc";
                options.ResponseType = OpenIdConnectResponseType.Code;
                options.SaveTokens = true;
                options.GetClaimsFromUserInfoEndpoint = true;   
                options.TokenValidationParameters = new TokenValidationParameters
                {
                    ValidateAudience = false
                };
                options.Scope.Clear();
                options.Scope.Add("openid");
                options.Scope.Add("profile");
                options.Scope.Add("ApiOne");
                options.Scope.Add("offline_access");
                options.Events = new OpenIdConnectEvents
                {
                    OnTokenValidated = context =>
                    {
                        var userID = context.Principal.FindFirstValue("sub");
                        return Task.CompletedTask;
                    }};
            });
            

=> click OpenIdConnect button

=> login in external ids4

=> return to code to check every thing OK

=> still login page apper

Hi, can you assist me on how to download the source code for @volo/abp.commercial.ng.ui? I use abp V5 preview

Adding new layouts to Angular application #5832

https://github.com/abpframework/abp/issues/5832

how make these

// configureLayouts factory in LayoutProvider layouts.add(['admin', 'MyNameSpace.Layouts.AdminLayoutComponent'])

// route provider routes.add([ { ..., name: 'Admin', layout: 'admin', }]

I can't add the next line,please where can add the next line layouts.add(['admin', 'MyNameSpace.Layouts.AdminLayoutComponent'])

after add " layout: 'admin'," show these error Error: projects/main-core/config/src/providers/route.provider.ts:21:9 - error TS2322: Type '"cusomlayout"' is not assignable to type 'eLayoutType'.

21 layout: 'cusomlayout', ~~~~~~

node_modules/@abp/ng.core/lib/models/common.d.ts:59:9 59 layout?: eLayoutType; ~~~~~~ The expected type comes from property 'layout' which is declared here on type 'Route'

  • ABP Framework version: commercial 5.0.0-rc.1
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

When I try to execute

ABP Suite install
or ABP Suite update or ABP Suite install -v 4.4.4 or ABP Suite update -v 4.4.4

but I receive this error. Failed to create shell shim for tool 'volo.abp.suite': Failed to create tool shim for command 'abp-suite'

i show the url "https://support.abp.io/QA/Questions/587/ABP-Suite-Issues" but steps not solve the problem

OS : Win 10 pro Visual studio 2022

only command ABP Suite install -p run success but after install can't start ABP Suite error : apb suite Volo.Abp.AbpException: Could not find the bundle file '/libs/datatables.net-bs5/css/dataTables.bootstrap5.css' for the bundle 'Lepton.Global'!

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