log file emailed as requested
Many thanks,
--Dave
Sorry, im not sure how. This textbox limits the amount of text I can copy/paste into here. Please advise, --Dave
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<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.
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<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
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
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.
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
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