Starts in:
2 DAYS
4 HRS
54 MIN
1 SEC
Starts in:
2 D
4 H
54 M
1 S

Activities of "gvnuysal"

Hi @bunyamin

It worked when I added the following lines to the respective layers

app-routing.module.ts file . . . ,{ path: 'file-management', loadChildren: () => import('@volo/abp.ng.file-management').then(m => m.FileManagementModule.forLazy()), }, . . .

route-provider.ts { path: '/file-management', name: 'FileManagement::Menu:FileManagement' /* FileManagement /, layout: eLayoutType.application , parentName: 'AbpUiNavigation::Menu:Administration' / Administration /, order: 6, requiredPolicy: 'FileManagement.DirectoryDescriptor' / DirectoryDescriptor */, },

Application Layer [DependsOn(typeof(FileManagementApplicationModule))]

EntityFrameworkCoreModule Layer [DependsOn( typeof(BlobStoringDatabaseEntityFrameworkCoreModule), typeof(FileManagementEntityFrameworkCoreModule) )]

Hi @bunyamin, Thanks your answer.

https://docs.abp.io/en/commercial/3.2/modules/file-management I did the steps on this link step by step.

Angular is works.but I get server side errors.I installed the @ volo/file-management and @volo/abp.ng.file-management packages

Also, how can I add File Management to the menu in angular project?

What is your suggestions?

2020-10-01 14:46:45.634 +03:00 [ERR] ---------- RemoteServiceErrorInfo ---------- { "code": null, "message": "Sayfa işlenirken sunucu tarafında beklenmedik bir hata oluştu!", "details": null, "data": { "ActivatorChain": "Volo.FileManagement.Directories.DirectoryDescriptorController -> Volo.FileManagement.Directories.DirectoryDescriptorAppService" }, "validationErrors": null }

2020-10-01 14:46:45.634 +03:00 [ERR] An exception was thrown while activating Volo.FileManagement.Directories.DirectoryDescriptorController -> Volo.FileManagement.Directories.DirectoryDescriptorAppService. Autofac.Core.DependencyResolutionException: An exception was thrown while activating Volo.FileManagement.Directories.DirectoryDescriptorController -> Volo.FileManagement.Directories.DirectoryDescriptorAppService. ---> Autofac.Core.DependencyResolutionException: None of the constructors found with 'Autofac.Core.Activators.Reflection.DefaultConstructorFinder' on type 'Volo.FileManagement.Directories.DirectoryDescriptorAppService' can be invoked with the available services and parameters: Cannot resolve parameter 'Volo.FileManagement.Directories.IDirectoryDescriptorRepository directoryDescriptorRepository' of constructor 'Void .ctor(Volo.FileManagement.Directories.IDirectoryManager, Volo.FileManagement.Files.IFileManager, Volo.FileManagement.Directories.IDirectoryDescriptorRepository, Volo.FileManagement.Files.IFileDescriptorRepository, Microsoft.Extensions.Options.IOptions1[Volo.FileManagement.Files.FileIconOption])'. at Autofac.Core.Activators.Reflection.ReflectionActivator.GetValidConstructorBindings(ConstructorInfo[] availableConstructors, IComponentContext context, IEnumerable1 parameters) at Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable1 parameters) at Autofac.Core.Resolving.InstanceLookup.CreateInstance(IEnumerable1 parameters) --- End of inner exception stack trace --- at Autofac.Core.Resolving.InstanceLookup.CreateInstance(IEnumerable1 parameters) at Autofac.Core.Resolving.InstanceLookup.Execute() at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, ResolveRequest request) at Autofac.Core.Resolving.ResolveOperation.Execute(ResolveRequest request) at Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable1 parameters, Object& instance) at Autofac.ResolutionExtensions.ResolveService(IComponentContext context, Service service, IEnumerable`1 parameters) at Microsoft.AspNetCore.Mvc.Controllers.ServiceBasedControllerActivator.Create(ControllerContext actionContext) at Microsoft.AspNetCore.Mvc.Controllers.ControllerFactoryProvider.<>c__DisplayClass5_0.

Thanks your answer @gterdem.

Hi @bunyamin

All packages were updated.this time the Administration Menu has disappeared for admin. and abpLocalization pipe fails.

I guess I should wait for version 3.2 to come out :) :)

Hello @gterdem,

I am creating an mvc project with the same tenantd and client id information, I do not get an error, but I get a page not found error in angular project. I get this error if there is no microsoft session in chrome. I couldn't understand :)

hi @bunyamin,

v3.1.2

I wonder if anyone has any suggestions for a solution on this issue?

I am doing an abp commercial mvc project with the same tenant, client and secret information. I can log in azure active directory without any problem.Although there are the same features in the angular project, I get the login page not found error.

Azuere Ad Logs:

Application with identifier '{appIdentifier}' was not found in the directory '{tenantName}'. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You may have sent your authentication request to the wrong tenant.

In my other test case, I have similar problem at my other test system.

when ı clicked the login button,server did not any response and ı could not see login form,ı attached pitcure and configuration file.

import { Config } from '@abp/ng.core';

const baseUrl = 'http://10.0.0.70:4201';

export const environment = { production: false, application: { baseUrl, name: 'AbpView', }, oAuthConfig: { issuer: 'http://10.0.0.70:44376', redirectUri: baseUrl, clientId: 'AbpView_App', responseType: 'code', scope: 'offline_access AbpView', }, apis: { default: { url: 'http://10.0.0.70:44376', rootNamespace: 'AbpView', }, }, } as Config.Environment;

API settings file

{ "App": { "SelfUrl": "http://10.0.0.70:44376", "ClientUrl": "http://10.0.0.70:4201", "CorsOrigins": "http://*.AbpView.com,http://localhost:4200,http://10.0.0.70:4201,http://10.0.0.70:44376" }, "ConnectionStrings": { "Default": "myConnectionString" }, "AuthServer": { "Authority": "http://10.0.0.70:44376" }, "Settings": { "Volo.Abp.LeptonTheme.Style": "Style6", "Abp.Mailing.Smtp.Host": "127.0.0.1", "Abp.Mailing.Smtp.Port": "25", "Abp.Mailing.Smtp.UserName": "", "Abp.Mailing.Smtp.Password": "", "Abp.Mailing.Smtp.Domain": "", "Abp.Mailing.Smtp.EnableSsl": "false", "Abp.Mailing.Smtp.UseDefaultCredentials": "true", "Abp.Mailing.DefaultFromAddress": "noreply@abp.io", "Abp.Mailing.DefaultFromDisplayName": "ABP application" }, "AbpLicenseCode": "My Licence Code" }

Showing 41 to 50 of 56 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06