Starts in:
1 DAY
16 HRS
35 MIN
20 SEC
Starts in:
1 D
16 H
35 M
20 S

Activities of "shobhit"

Answer

Hello @alpher, Today with ABP 4.0.2 i am adding source code moduel "Volo.Account.Pro" and got below error. So can someone help me to resolve this problem so that i can use the ABP module source code in my project. Below is the ABP console logs:

                  Writing C:\Users\shobhit\AppData\Local\Temp\tmp691E.tmp

info : Adding PackageReference for package 'Volo.Abp.Account.Pro.Shared.Application' into project 'D:\Projile\EzpandCC\EzpandCC\aspnet-core\src\EzpandCC.Application\EzpandCC.Application.csproj'. info : Restoring packages for D:\Projile\EzpandCC\EzpandCC\aspnet-core\src\EzpandCC.Application\EzpandCC.Application.csproj... info : Package 'Volo.Abp.Account.Pro.Shared.Application' is compatible with all the specified frameworks in project 'D:\Projile\EzpandCC\EzpandCC\aspnet-core\src\EzpandCC.Application\EzpandCC.Application.csproj'. info : PackageReference for package 'Volo.Abp.Account.Pro.Shared.Application' version '4.0.2' added to file 'D:\Projile\EzpandCC\EzpandCC\aspnet-core\src\EzpandCC.Application\EzpandCC.Application.csproj'. info : Committing restore... info : Writing assets file to disk. Path: D:\Projile\EzpandCC\EzpandCC\aspnet-core\src\EzpandCC.Application\obj\project.assets.json log : Restored D:\Projile\EzpandCC\EzpandCC\aspnet-core\src\EzpandCC.Application\EzpandCC.Application.csproj (in 2.96 sec). Determining projects to restore... Writing C:\Users\shobhit\AppData\Local\Temp\tmp8716.tmp info : Adding PackageReference for package 'Volo.Abp.Account.Pro.Shared.Application.Contracts' into project 'D:\Projile\EzpandCC\EzpandCC\aspnet-core\src\EzpandCC.Application.Contracts\EzpandCC.Application.Contracts.csproj'. info : Restoring packages for D:\Projile\EzpandCC\EzpandCC\aspnet-core\src\EzpandCC.Application.Contracts\EzpandCC.Application.Contracts.csproj... info : Package 'Volo.Abp.Account.Pro.Shared.Application.Contracts' is compatible with all the specified frameworks in project 'D:\Projile\EzpandCC\EzpandCC\aspnet-core\src\EzpandCC.Application.Contracts\EzpandCC.Application.Contracts.csproj'. info : PackageReference for package 'Volo.Abp.Account.Pro.Shared.Application.Contracts' version '4.0.2' added to file 'D:\Projile\EzpandCC\EzpandCC\aspnet-core\src\EzpandCC.Application.Contracts\EzpandCC.Application.Contracts.csproj'. info : Committing restore... info : Writing assets file to disk. Path: D:\Projile\EzpandCC\EzpandCC\aspnet-core\src\EzpandCC.Application.Contracts\obj\project.assets.json log : Restored D:\Projile\EzpandCC\EzpandCC\aspnet-core\src\EzpandCC.Application.Contracts\EzpandCC.Application.Contracts.csproj (in 1.73 sec). [14:11:39 ERR] Error occured while adding the module Volo.Account.Prowith source-code to the solution "64cbc651-d627-4153-910d-9dca54127e77".. System.ArgumentNullException: Value cannot be null. (Parameter 'path') at System.IO.Path.GetFullPath(String path) at System.IO.DirectoryInfo..ctor(String path) at Volo.Abp.Cli.ProjectModification.SolutionModuleAdder.RemoveProjectByPostFix(ModuleWithMastersInfo module, String moduleSolutionFile, String targetFolder, String postFix) in D:\github\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectModification\SolutionModuleAdder.cs:line 186 at Volo.Abp.Cli.ProjectModification.SolutionModuleAdder.RemoveUnnecessaryProjectsAsync(String solutionDirectory, ModuleWithMastersInfo module, String[] projectFiles) in D:\github\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectModification\SolutionModuleAdder.cs:line 144 at Volo.Abp.Cli.ProjectModification.SolutionModuleAdder.AddAsync(String solutionFile, String moduleName, String startupProject, String version, Boolean skipDbMigrations, Boolean withSourceCode, Boolean addSourceCodeToSolutionFile, Boolean newTemplate, Boolean newProTemplate) in D:\github\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectModification\SolutionModuleAdder.cs:line 98 at Volo.Abp.Cli.Commands.AddModuleCommand.ExecuteAsync(CommandLineArgs commandLineArgs) in D:\github\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Commands\AddModuleCommand.cs:line 59 at Volo.Abp.Suite.Controllers.AbpSuiteController.AddModuleAsync(AddModuleInput input)

Ok. So my feedback is:

1- yekalkan last response fix the first issue of creating mongoDB classes. 2- In 4.0.2 multiple namespaces has been changed so any new entity creation is breaking the build. This is the bug so needs to get fixed 3- In ABP suite if you don't run ABP suite without "migrate database" then classes get created with bug as line no 2. Fix the bug. Now run the ABP suite with "Migrate database" option only. Wola.... success...

Now i am sure your team knows what is the problem and how to solve this in the framework.

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.

  • ABP Framework version: v4.0.2
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Seperated (Angular): yes
  • Exception message and stack trace: NA
  • Steps to reproduce the issue: NA

Hi Team, We have to create muliple entities in our Sql DB. Currently entity definition is in excel sheet. Please confirm if there is any way we can create all these entities from excel sheet so that all capabilities of ABP suite can be used i.e. UI, API and DB entities. If no what is the best alternate to achive the objective.

:)

Not Working

But yes i more bug i found. MS Build is broken as muliple namespaces changed.

For a new entity, i endup changing 69 files and end result is still my angular ui is throwing error. WOW....

yes

Answer

Sorry Alper. This is too chaotic for me to keep upgrading framework and keep breaking some functionality. I am feeling i am doing ABP testing but not building my product.

Now i cannot upgrade framework until you sure me that it will not break anything else. I need confirmation before upgrade.

Above problem solved. Now i am getting new error in ABP suite. I created a new entity "Notification". Click on "Save and Generate" button. Got below error in ABP suite console:

[16:03:13 ERR] Cannot find the Entity Framework Core Module D:\Projile\EzpandCC\EzpandCC\aspnet-core\download\Volo.Saas\src\Volo.Saas.MongoDB\MongoDB\EzpandCCMongoDbModule.cs

Even after error i got success message in ABP suite web UI. While running the web app 'GetList' of Notificaiton is throwing below error:

Can someoen guide me.

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.

  • ABP Framework version: v4.0.2
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Seperated (Angular): yes
  • Exception message and stack trace:

2020-12-23 08:12:34.212 +00:00 [INF] Route matched with {area = "abp", action = "Get", controller = "AbpApplicationConfiguration", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.ApplicationConfigurationDto] GetAsync() on controller Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationController (Volo.Abp.AspNetCore.Mvc). 2020-12-23 08:12:34.329 +00:00 [ERR] ---------- RemoteServiceErrorInfo ---------- { "code": null, "message": "An internal error occurred during your request!", "details": null, "data": {}, "validationErrors": null }

2020-12-23 08:12:34.329 +00:00 [ERR] Object reference not set to an instance of an object. System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.Extensions.FileProviders.Embedded.Manifest.ManifestFileInfo.CreateReadStream() at Volo.Abp.Localization.VirtualFiles.VirtualFileLocalizationResourceContributorBase.CreateDictionaryFromFile(IFileInfo file) at Volo.Abp.Localization.VirtualFiles.VirtualFileLocalizationResourceContributorBase.CreateDictionaries() at Volo.Abp.Localization.VirtualFiles.VirtualFileLocalizationResourceContributorBase.GetDictionaries() at Volo.Abp.Localization.VirtualFiles.VirtualFileLocalizationResourceContributorBase.Fill(String cultureName, Dictionary2 dictionary) at Volo.Abp.Localization.LocalizationResourceContributorList.Fill(String cultureName, Dictionary2 dictionary) at Volo.Abp.Localization.AbpDictionaryBasedStringLocalizer.GetAllStrings(String cultureName, Boolean includeParentCultures, Boolean includeBaseLocalizers) at Volo.Abp.Localization.AbpDictionaryBasedStringLocalizer.GetAllStrings(Boolean includeParentCultures) at Microsoft.Extensions.Localization.StringLocalizer1.GetAllStrings(Boolean includeParentCultures) at Microsoft.Extensions.Localization.StringLocalizerExtensions.GetAllStrings(IStringLocalizer stringLocalizer) at Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationAppService.GetLocalizationConfigAsync() at Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationAppService.GetAsync() at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo) at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue1.ProceedAsync() at Volo.Abp.Auditing.AuditingInterceptor.InterceptAsync(IAbpMethodInvocation invocation) at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func3 proceed) at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo) at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue1.ProceedAsync() at Volo.Abp.Validation.ValidationInterceptor.InterceptAsync(IAbpMethodInvocation invocation) at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func3 proceed) at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo) at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue1.ProceedAsync() at Volo.Abp.Uow.UnitOfWorkInterceptor.InterceptAsync(IAbpMethodInvocation invocation) at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func3 proceed) at Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationController.GetAsync() at lambda_method855(Closure , Object ) at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.

  • Steps to reproduce the issue: 1- Build the API 2- Deploy into server 3- got the error for both servers, identity server and api server

NOTE: my local is running fine.

My QA env. is completely down now. Please consider it urgent.

Answer

Hi Team, Today i have created a new entity via ABP Suite 4.0.0 with Angular. As i run the ABP suite, got below error:

Even though i am using the SQL DB, not sure why i am getting Mongo DB module? Please help

D:\Projile\EzpandCC\EzpandCC>abp suite

[10:40:36 INF] ABP CLI (https://abp.io) [10:40:37 INF] Version 4.0.0 (Stable) [10:40:46 WRN] ABP CLI has a newer stable version 4.0.2, please update to get the latest features and fixes. [10:40:46 WRN] [10:40:46 WRN] Update Command: [10:40:46 WRN] dotnet tool update -g Volo.Abp.Cli [10:40:46 WRN] Starting Suite v4.0.0 ... Opening http://localhost:3000 Press Ctrl+C to shut down. [11:43:58 ERR] Cannot find the Entity Framework Core Module D:\Projile\EzpandCC\EzpandCC\aspnet-core\download\Volo.Saas\src\Volo.Saas.MongoDB\MongoDB\EzpandCCMongoDbModule.cs

Answer

Thanks a lot @yekalkan. Will wait for new release.

Showing 301 to 310 of 349 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06