Activities of "scdev01"

Hi

Thank you very much. The errors have disappeared but the layout is slightly different. For example the big logo is missing.

Hi,

Yes, you need to add using to the _ViewImports.cshtml file.

@using System.Globalization 
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers 
@addTagHelper *, Volo.Abp.AspNetCore.Mvc.UI.Bootstrap 
@addTagHelper *, Volo.Abp.AspNetCore.Mvc.UI.Bundling 

Hi @liangshiwei Only @using System.Globalization line was missing in that file. It still returning the same errors after adding it. The error references $ which I presume is jquery. So it looks like jquery is not bundled or loaded somehow.

Question
  • ABP Framework version: v7.2.2
  • UI Type: Angular
  • Database System: EF Core (PostgreSQL)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace:
  • Steps to reproduce the issue:
  • The solution is based on microservice template. We have copied the login page "Volo.Abp.LeptonXTheme.Pro\src\Volo.Abp.AspNetCore.Mvc.UI.Theme.LeptonX\Themes\LeptonX\Layouts\Account\Default.cshtml" from LeptonX theme project to "Themes\LeptonX\Layouts\Account\Default.cshtml" in our AuthServer project.While navigating to the page we are getting the previous errors. Are we missing some references? Please advice

Does this happen even if you keep refreshing the page?

Hi @IanW, can I email you a link to the staging application please? By navigating to that link with developer tools opened you can check the network timeline.

Hi,

Chrome developer tools are showing slow preflight queries as seen on the 2 pictures. Fetching application configuration is slow as well.

Hi,

Could you share the full application logs?

Hi,

Our solution is a multiservice app based on the commercial multiservice template.

ABP Framework version: 7.2.2

  • UI Type: Angular
  • Database System: EF Core (PostgreSQL)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes

We are are experiencing slow initial connection of preflight request and some requests taking tong time to return a response. The following pictures show the performance in developer tools:

with docker compose build

Does it work without docker-compose? eg dotnet restore or dotnet build

Yes dotnet build works on command line or in VS IDE. But it is not working with docker build. I am getting the following error:

[#35](https://support.abp.io/QA/Questions/35) 8.867 /src/apps/public-web/src/MyProject.PublicWeb/MyProject.PublicWeb.csproj : error NU1202: Package Volo.Abp.Commercial.Core 5.1.2 is not compatible with net6.0 (.NETCoreApp,Version=v6.0). Package Volo.Abp.Commercial.Core 5.1.2 supports: netstandard2.0 (.NETStandard,Version=v2.0)
[#35](https://support.abp.io/QA/Questions/35) 8.917   Failed to restore /src/apps/public-web/src/MyProject.PublicWeb/MyProject.PublicWeb.csproj (in 3.2 sec).
[#35](https://support.abp.io/QA/Questions/35) 8.926   3 of 7 projects are up-to-date for restore.
  • ABP Framework version: v5.1.2
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:

#0 142.8 /src/apps/public-web/src/MyProject.PublicWeb/MyProject.PublicWeb.csproj : error NU1101: Unable to find package Volo.Abp.AspNetCore.Mvc.UI.Theme.Lepton. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, nuget.org [/src/MyProject.sln] #0 143.0 Failed to restore /src/apps/public-web/src/MyProject.PublicWeb/MyProject.PublicWeb.csproj (in 16.44 sec). #0 143.0 Restored /src/services/administration/src/MyProject.AdministrationService.HttpApi.Host/MyProject.AdministrationService.HttpApi.Host.csproj (in 1.9 min). #0 143.1 Restored /src/services/MyService1/src/MyProject.MyService1Service.HttpApi.Host/MyProject.MyService1Service.HttpApi.Host.csproj (in 1.66 sec). #0 145.1 /src/apps/auth-server/src/MyProject.AuthServer/MyProject.AuthServer.csproj : error NU1101: Unable to find package Volo.Abp.AspNetCore.Mvc.UI.Theme.Lepton. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, nuget.org [/src/MyProject.sln] #0 145.1 /src/apps/auth-server/src/MyProject.AuthServer/MyProject.AuthServer.csproj : error NU1101: Unable to find package Volo.Abp.Account.Pro.Public.Application. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, nuget.org [/src/MyProject.sln] #0 145.2 Failed to restore /src/apps/auth-server/src/MyProject.AuthServer/MyProject.AuthServer.csproj (in 1.94 min).

failed to solve: executor failed running [/bin/sh -c dotnet restore "MyProject.sln"]: exit code: 1

  • Steps to reproduce the issue:" Building microservice solution generated from Abp Suite with docker compose build

We are experiencing the same issue

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