Activities of "Anuradha_Singh"

I have fixed my code ..

I have fixed my cose

I did research and fix my code..

Hi,

I have generated the client proxy as per your suggestion but showing the same error ,

Please check attached screenshot.

The process which I did is :

[1] Run my main application.

[2] Then I have open MyTestApp.OrderService project separately in VS2022 and open console for My.OrderService.HttpApi.Client

I have run both the commands, which you have mentioned,

abp generate-proxy -t csharp -u https://localhost:45127 -m OrderService
abp generate-proxy -t js -u https://localhost:45127 -m OrderService

I can now see ClientProxies folder pls refer screenshot

[3] After this I have stopped my main project .

[4] Again I have started main project.

[5] Again not able to open the order form. Please refer screenshot.

Please check and let me know why my project is not running now. Waiting for your response.

Thanks !

Anuradha

Hi,

I have tried your suggestion, but it is not working

[1] As you have asked to add following in *BlazorHostModule

typeof(AbpAccountAdminBlazorWebAssemblyModule), typeof(AbpIdentityServerBlazorWebAssemblyModule), typeof(AbpAuditLoggingBlazorWebAssemblyModule), typeof(TextTemplateManagementBlazorWebAssemblyModule), typeof(LanguageManagementBlazorWebAssemblyModule), typeof(SaasHostBlazorWebAssemblyModule), typeof(AbpSettingManagementBlazorWebAssemblyModule)

#####You have asked to add above but not mention it's directive /assembly reference. So these lines throwing error -Missing directive and an assembly reference.

[2] You have asked to create this function below in HostMenuContributor

public <YourProjectName>HostMenuContributor(IConfiguration configuration) { _configuration = configuration; }

When we call above function from my blazor project's ProductModuleBlazorHostModule function then what should I pass as inside parameter , right now function code is 

 private void ConfigureMenu(ServiceConfigurationContext context)
    {
        Configure&lt;AbpNavigationOptions&gt;(options =>
        {
            options.MenuContributors.Add(new ProductModuleHostMenuContributor());
        });
    }

####### In above function what I should pass in calling of this-> ProductModuleHostMenuContributor() because it is throwing following error

Error CS7036 There is no argument given that corresponds to the required formal parameter 'configuration' of 'ProductModuleHostMenuContributor.ProductModuleHostMenuContributor(IConfiguration)' IPulse.ProductModule.Blazor.Host E:\2021\host\IPulse.ProductModule.Blazor.Host\ProductModuleBlazorHostModule.cs 71 Active

[3] When we add dependencies in Identity module , the for following dependencies it throw error

typeof(AbpSettingManagementApplicationModule), typeof(AbpSettingManagementHttpApiModule), typeof(AbpSwashbuckleModule), typeof(AbpAspNetCoreSerilogModule)

####  for dealing this What directive /assembly  reference we have to add

[4] You have asked to ----- run abp bundle command in the blazor folder to update resource references.

So I have run this command in in Blazor.Host project.Initially I have tried with blazor project [ which is inside the src folder] but command was not running there because that is library project and it is not have wwwroot folder , and this command is looking for appsetting.json file.

After excecuting above command I get following output


PS E:\2021\host\IPulse.ProductModule.Blazor.Host> abp bundle [18:31:42 INF] ABP CLI (https://abp.io) [18:31:43 INF] Version 4.3.2 (Stable) [18:31:47 INF] Generating style bundle... [18:31:47 INF] Style bundle has been generated successfully. [18:31:47 INF] Generating script bundle... [18:31:47 WRN] Unable to minify the file: AuthenticationService.js. Adding file to the bundle without minification. [18:31:47 INF] Script bundle has been generated successfully. [18:31:47 INF] Script and style references in the index.html file have been updated.


Still I am getting blank page with Loading..... text

So tell me how to deal with above questions , so that I can fix this.

Thanks in advance !!

Anuradha

Hi @rick@i-pulse.nl , The issue is there with created js/blazor files. We faced the same issue with our MVC template and we fixed that my modifying the respective index.js file.

actually pruler form is being added where as it is singler .

$(function () { var l = abp.localization.getResource("ProductService"); var productService = window.exceego.EHSWatch.appV3.productService.products.products;

Change to

$(function () { var l = abp.localization.getResource("ProductService"); var productService = window.exceego.EHSWatch.appV3.productService.products.products;

In your case it might be

  var brandService = window.company.projectname.brandService.brands.brands; 

to

var brandService = window.company.projectname.brandService.brands.brand;

Hope this helps

Hi Viswajwalith,

After doing that correction, now it works.

Thanks a lot !!

Hi ,

please reply my question related to module.

I have created an independent module and then added 2 entities. I have run migration script and run module as Unified web solution.

follow all the steps which is required , with your last version module with entity was workibg perfectly. but this time it is not allowing to add new record.

you can either see video or can see this screen shot.

Please help me !!!!!!

Q1. In the above message what do you mean by – ABP suite does not support microservice template for now.

A1. ABP Suite supports creating microservice template. ABP Suite doesn't support adding a new microservice in it for now. You need to use CLI for it. Like: abp new OrderService -t microservice-service-pro under microservice template solution directory.

Q2. Just want to confirm - when we run DBMigrator project , we are getting many warnings due to line “MultipleActiveResultSets=true”, Can we remove this “MultipleActiveResultSets=true”?

A2. Yes, you can remove it. Check what MARS is about.

Q3. I have created micro-service solution and now it is running well, after that I have tried to add a new entity (Category ) in product service,

A3. You can not generate code for microservices at the moment. You need to make manual development.

Q4. MODULE ISSUE -I have also tried to create independent module, with previous framework I was able to create independent module and also able to add entities and manage their screens(add/edit/delete) from admin portal , this time with new framework everything works well except in admin portal, I am able to see entity listing screen but I am not able to open screen for adding new record in my entity., when I click on ADD New button at top right it doing nothing....Seems get stucked somewhere.

A4. By Admin portal, do you mean Web application? It is hard to diagnose without seeing server log or the console log when clicking the Add New buton.

Please check newly released microservice docs and create a new issue if there is anything you are having hard time understanding or you come across any problems.

Hi

Attaching link of videos, please play and see issue with my module

this link for showing activity on entity - http://deployment.inwizards.com/apk/add_button_effect.webm

Here I have created first entity Brand , without choosing Multi Tenant option. Second entity I have created with name category, and in this entity I have selected Multi Tenant option

this link for error log -http://deployment.inwizards.com/apk/error.webm

please help me.

Thanks!!

I can't see any eror log. Can you search for ERR and share the error logs?

Also version difference may cause cookie to be invalidated. Can you try clearing browser cache and retry?

Hi,

Please have a look on this

As you can see , my page <b>https://localhost:44322/Account/Login is not loading and showing error..</b> how I can fix this?

Seems login can't be found but it is hard to tell why just looking at a log. Although, this seems a different question than the author's question.

Can you create a new question explaining that your steps from creating the microservice template and running with reproducable steps so that we can troubleshoot easier.

Hi,

As you were asking for my steps , below are steps which I had followed

Create solution

Q1. In the above message what do you mean by – ABP suite does not support microservice template for now.

After creating solution , I build the solution, and changed the connection strings everywhere "Server=XXX.XXX.XX.XXX,1433;Database=IPulse_App_Administration;User Id=sa; Password=XXXXXXXXXXX;MultipleActiveResultSets=true"

After this I have run the project DBMigrator using command line, and get following warnings

Q2. Just want to confirm - when we run DBMigrator project , we are getting many warnings due to line “MultipleActiveResultSets=true”, Can we remove this “MultipleActiveResultSets=true”?

Q3. I have created micro-service solution and now it is running well, after that I have tried to add a new entity (Category ) in product service, But it throwing following error

(a) Initially CRUD entity addition fail and mentioning Volo.Abp.Commercial.SuiteTemplates.dll is missing , I have initially added reference in project IPulse_App.ProductService.Blazor, but then also ABP framework throwing error so and then added a new folder and put required Volo.Abp.Commercial.SuiteTemplates.dll there.

(b) Same issue it asked for Volo.Abp.EntityFrameworkCore.dll in project IPulse_App.ProductService.EntityFrameworkCore, so here also I did the same.

(c) When I again tried to create the CRUD entity then I get error below

Because it is program generated code , tell me How to fix above error?

Q4. MODULE ISSUE -I have also tried to create independent module, with previous framework I was able to create  independent module and also able to add entities and manage their screens(add/edit/delete) from admin portal , this time with new framework everything works well except in admin portal, I am able to see entity listing screen but  I am not able to open screen for adding new record in my entity., when I click on ADD New button at top right it doing nothing....Seems get stucked somewhere.

My initial and actual problem is still there - I want to merge  module with microservice solution ,for that my module should be in running state.

With previous version at-least I was able to create and manage entities inside module but this time it won't work , please help.

I can't see any eror log. Can you search for ERR and share the error logs?

Also version difference may cause cookie to be invalidated. Can you try clearing browser cache and retry?

Hi,

Please have a look on this

As you can see , my page <b>https://localhost:44322/Account/Login is not loading and showing error..</b> how I can fix this?

Showing 1 to 10 of 11 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11