Activities of "davidc@educlarity.com"

Greetings; The documentation should reflect this issue. I just spent three days trying to figure this issue out, after first going through the training docuenttion (turning MulitTenant=false), and trying to create new applications.

Something to the extent of:

Note: After settings MulitTenancy=false, a cookie is created. If you are in a development environment working with multiple instances of ABP.IO, you may need to delete cookies on your browser.

Many thanks,

--Dave

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.2.1
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): unknown
  • Exception message and stack trace:
  • src/app/book/book.component.ts:5:16 5 templateUrl: './book.component.html', ~~~~~~~~~~~~~~~~~~~~~~~ Error occurs in the template of component BookComponent. src/app/book/book.component.html:13:49 - error TS2339: Property 'book' does not exist on type 'BookComponent'.

13 <ngx-datatable [rows]="book.items" [count]="book.totalCount" [list]="list" default> ~~~~

src/app/book/book.component.ts:5:16 5 templateUrl: './book.component.html', ~~~~~~~~~~~~~~~~~~~~~~~ Error occurs in the template of component BookComponent. src/app/book/book.component.html:13:74 - error TS2339: Property 'list' does not exist on type 'BookComponent'.

13 <ngx-datatable [rows]="book.items" [count]="book.totalCount" [list]="list" default> ~~~~

src/app/book/book.component.ts:5:16 5 templateUrl: './book.component.html', ~~~~~~~~~~~~~~~~~~~~~~~ Error occurs in the template of component BookComponent.

Also I believe there is an error in the book.component.ts file as there is no import statement for BookType
  • Steps to reproduce the issue:
  • following the tutorial up to the book detail page : https://docs.abp.io/en/abp/latest/Tutorials/Part-2?UI=NG&DB=EF

Greetings;

Have you been able to successfully implement DevExpress Reports inside abp.io (commecial). I've followed the directions as best as possible (for implementing DevExtreme controls), but still can't view a report.

Im not sure if it's something with the last part (making changes to the Startup.cs) class...

Do you have any commens, suggestions, or dare say, some documentation?

Any help would be greatly appreicated.

--Dave davidc@educlarity.com

It looks as if the app is not looking for the fonts in /wwwroot/icons as cotur noted above

So we can create mapping for this also,

"@node_modules/devextreme/dist/css/icons/**/*": "wwwroot/icons/"

These are the error messages Im receiving below.

So I changed it to

"@node_modules/devextreme/dist/css/icons/**/*": "@libs/devextreme/css/icons/"

--error messages

GEThttps://localhost:44375/libs/devextreme/css/icons/dxicons.woff2 [HTTP/2 404 Not Found 121ms]

downloadable font: download failed (font-family: "DXIcons" style:normal weight:400 stretch:100 src index:2): status=2147746065 source: https://localhost:44375/libs/devextreme/css/icons/dxicons.woff2 GEThttps://localhost:44375/libs/devextreme/css/icons/dxicons.woff [HTTP/2 404 Not Found 33ms]

GEThttps://localhost:44375/libs/devextreme/css/icons/dxicons.ttf [HTTP/2 404 Not Found 26ms]

downloadable font: download failed (font-family: "DXIcons" style:normal weight:400 stretch:100 src index:3): status=2147746065 source: https://localhost:44375/libs/devextreme/css/icons/dxicons.woff downloadable font: download failed (font-family: "DXIcons" style:normal weight:400 stretch:100 src index:4): status=2147746065 source: https://localhost:44375/libs/devextreme/css/icons/dxicons.ttf

The error that I am receiving is as follows:

POSThttps://localhost:44375/DXXRDV [HTTP/2 500 Internal Server Error 170ms]

POST https://localhost:44375/DXXRDV Status500 Internal Server Error VersionHTTP/2 Transferred346 B (132 B size) Referrer Policystrict-origin-when-cross-origin

_abperrorformat true content-type application/json; charset=utf-8 date Tue, 20 Apr 2021 00:25:07 GMT server Microsoft-IIS/10.0 X-Firefox-Spdy h2 x-powered-by ASP.NET

Accept / Accept-Encoding gzip, deflate, br Accept-Language en-US,en;q=0.5 Connection keep-alive Content-Length 302 Content-Type application/x-www-form-urlencoded; charset=UTF-8 Cookie .AspNetCore.Antiforgery.XO8D3hq-S8g=CfDJ8K9HF9cs-6FAs_eT0iSMR9cnFcEWleCVC9hZJtTpz7iQW7y-zFByPHMIiHpk6V3evq2-fHQRtOOlL-yzqywhV2nNWTkbIUlenT_eKnBq0V764WKeaIfgNqq-NygWt56pt2aJk2e9QhbFb46dZJkwBwk; XSRF-TOKEN=CfDJ8K9HF9cs-6FAs_eT0iSMR9fo453o4ScMZoVSPWWZ6keNkMcoHnlKmaw4-SJ8yjMwdTiwAyKwp6o_4J0UV3c6i1L0vJBoUcdPZOhhMHLKNhgLLIwWFS2CtO0UWPO66tT_zJhpAH0iE7NO7GCoIR3ewk Host localhost:44375 Origin https://localhost:44375 Referer https://localhost:44375/Reports RequestVerificationToken CfDJ8K9HF9cs-6FAs_eT0iSMR9f7JEIBBnxi0kGDMwV1_YA9_UfhcWLrIqznO-QqWnoYeG2NZDC0NgCZlms1ZCoFiphPt6fMywM5c_db9ZdNNSdVq35Gs8P0bE4NhXgh8XvEPaEV7-OWfzkbFNwFiBLcQwI TE Trailers User-Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:87.0) Gecko/20100101 Firefox/87.0

X-Requested-With
	XMLHttpRequest

Cannot create a document for the current report: [object Object] dx-analytics-core.min.js:8:149298

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

I am unable to execute the Public Website using a new install of abp.io 4.3 I was able to run the DbMigrator and the MVC administrator application fine. And was able to authenticate.

But when I set the Web.Public application as startup, and run in Debug and Start Without Debugging, it just sits there. After 5 minutes, nothing. I go into Web Developer Tools - Console and nothing is showing up at all.

Any guidance?

--Dave

Im not able to copy the entier stack trace but this i think is the most important part

23:18:44 INF] Request starting HTTP/2 GET https://localhost:44304/ - - [23:18:44 INF] Executing endpoint '/Index' [23:18:44 INF] Route matched with {page = "/Index", action = "", controller = "", area = ""}. Executing page /Index [23:18:44 INF] Skipping the execution of current filter as its not the most effective filter implementing the policy Microsoft.AspNetCore.Mvc.ViewFeatures.IAntiforgeryPolicy [23:18:44 INF] Executing handler method EduClarity.AbpPlay.Web.Public.Pages.IndexModel.OnGet - ModelState is Valid [23:18:44 INF] Executed handler method OnGet, returned result . [23:18:44 INF] Executing an implicit handler method - ModelState is Valid [23:18:44 INF] Executed an implicit handler method, returned result Microsoft.AspNetCore.Mvc.RazorPages.PageResult. [23:18:45 WRN] It was not possible to connect to the redis server(s). UnableToConnect on 127.0.0.1:6379/Interactive, Initializing/NotStarted, last: NONE, origin: BeginConnectAsync, outstanding: 0, last-read: 2s ago, last-write: 2s ago, keep-alive: 60s, state: Connecting, mgr: 10 of 10 available, last-heartbeat: never, global: 85s ago, v: 2.0.593.37019 StackExchange.Redis.RedisConnectionException: It was not possible to connect to the redis server(s). UnableToConnect on 127.0.0.1:6379/Interactive, Initializing/NotStarted, last: NONE, origin: BeginConnectAsync, outstanding: 0, last-read: 2s ago, last-write: 2s ago, keep-alive: 60s, state: Connecting, mgr: 10 of 10 available, last-heartbeat: never, global: 85s ago, v: 2.0.593.37019 at StackExchange.Redis.ConnectionMultiplexer.ConnectImpl(Object configuration, TextWriter log) in C:\projects\stackexchange-redis\src\StackExchange.Redis\ConnectionMultiplexer.cs:line 941 at StackExchange.Redis.ConnectionMultiplexer.Connect(String configuration, TextWriter log) in C:\projects\stackexchange-redis\src\StackExchange.Redis\ConnectionMultiplexer.cs:line 903 at Microsoft.Extensions.Caching.StackExchangeRedis.RedisCache.Connect() at Microsoft.Extensions.Caching.StackExchangeRedis.RedisCache.Set(String key, Byte[] value, DistributedCacheEntryOptions options) at Volo.Abp.Caching.DistributedCache`2.<>c__DisplayClass50_0.

Ahhh okay... Im coming from AspNetZero where we don't have to do such things. I'll look into it.... But it might be helpful having a section for using the Public Website.

Thanks

Answer

Greetings;

I am going through the Bookstore tutorial with a fresh download of Abp.io 4.3 Angular EF

After adding the entity Book, as per the directions I am setting the Default project to src&lt;MyAppName>.EntityFrameworkCore.DbMigrations

running the command: Add-Migration "MyMigrationName"

I receive the following error:

More than one DbContext was found. Specific which one to use. Use the '-Context' parameter for PowerShell commands and the '--context' parameter for dotnet commands.

I think in your latest release documentation you state you have dynamic dbContext options now... Would this have anything to do with this?

Please advise,

--Dave

Answer

Greetings;

I am going through the Bookstore tutorial with a fresh download of Abp.io 4.3 Angular EF

After adding the entity Book, as per the directions I am setting the Default project to src&lt;MyAppName>.EntityFrameworkCore.DbMigrations

running the command: Add-Migration "MyMigrationName"

I receive the following error:

More than one DbContext was found. Specific which one to use. Use the '-Context' parameter for PowerShell commands and the '--context' parameter for dotnet commands.

I think in your latest release documentation you state you have dynamic dbContext options now... Would this have anything to do with this?

Please advise,

--Dave

hi the samples are being updated. you can set the context with the -Context parameter

I was able to fix the issue using the following commands: PM>Add-Migration "MyMigrationName" -context MyAppNameMigrationsDbContext PM>update-database -context MyAppNameMigrationsDbContext

Thank you.

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