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.
If you're creating a bug/problem report, please include followings:
- ABP Framework version: v6.0.0
- UI type: MVC
- DB provider: EF Core
- Tiered (MVC) or Identity Server Separated (Angular): yes
Hi,
I am opening another ticket on my issue because at this point I have exhausted all ideas/attempts at getting a new record into the database from an application service. Previously you told me that you had no issue with this sample project however when I run it although it may work the first and second time, but eventually it gives me a 'Volo.Abp.Http.Client.AbpRemoteCallException: An error occurred during the ABP remote HTTP request. (The operation was canceled).' error. At this point I'm out of ideas and need assistance getting this test solution to work consistently every time.
See the below link for the git repo and the steps to reproduce. What does not make sense is that I can call my custom application services and subsequent associated repository methods when the logic is in a class inherited from AbpViewComponent (Which is in the web project too) but not from just a normal class (DashboardStorageExtension). Make sure you get the latest version of this project from github please.
Run the migrations associated with the solution Login as host user/admin From the Setup Menu click 'Setup' From the resulting Dashboard list page choose the 'New Dashboard' button on the right. Click 'Create' in the middle of the screen Drag a dashboard control onto the main part of the designer From the hamburger menu in the upper left click the 'Save' option
The error occurs in the DashboardAppService class on the below highlighted line. For some reason it cannot insert a new record into the table. I was able to get past the previous issue of the service itself not being injected properly but now it seems like I cannot do anything database related from my injected service.
I've given access to https://github.com/maliming for the git repository that contains the example project showing the issue
13 Answer(s)
-
0
however when I run it although it may work the first and second time, but eventually it gives me a 'Volo.Abp.Http.Client.AbpRemoteCallException: An error occurred during the ABP remote HTTP request. (The operation was canceled).' error. At this point I'm out of ideas and need assistance getting this test solution to work consistently every time.
I have tried several times, but can't reproduce the problem. Is there another way?
-
0
Hi,
Ok then this is indicating it’s an environment issue. Can you tell me what versions of redid and postgresql you are using?
Thanks
-
0
-
0
Hi,
You are using the latest code from https://github.com/spospisil/ABPSampleDashboard correct?
-
0
-
0
Hi,
I don't see anything in either log but I sent you an email with both log files attached
Steve
-
0
-
0
-
0
Hi,
Any other things I can try? It does not make sense that it works for you but not for me.
-
0
Hi,
When I create a ViewComponent inheriting from ABPViewComponent the exact same call I'm trying to do works just fine. Is there an ABP class I should be inheriting from for the DashboardStorageExtension class to get this to work?
-
0
-
0
Hi,
Yup! That was the issue!!!! Thank you!!! I'm going to write up a post for the 'community' on how to implement the DevExpress Dashboard control within the ABP framework as I know there are others trying to do what I am trying to do.
Thank you so much for your help!
-
0
😉