Activities of "Sraman"

Alert is not showing on appservice page.

_alertManager.Alerts.Warning( text: L["ExpirationDateValidationMessage"], title: "Service Interruption" );

It is working fine on popup pages. Can you suggest a way to show the userfriendlyexception on index page from appservice without a return type?

  • ABP Framework version: v7.1.0
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace: { "error": { "code": null, "message": "Combination of Identification Number and Toolset Type already exists.", "details": null, "data": {}, "validationErrors": null } }
  • Steps to reproduce the issue: Facing above exception when throwing userfriendlyexception on index.cshtml page. But userfriendlyexception is working fine on create and edit pages.

I'm working with MVC single layer project.

All of sudden facing the below issue.

Is that same you folks are discussing? Any workaround?

Error

he nuget command failed with exit code(1) and error(NU1101: Unable to find package Volo.Abp.Account.Pro.Admin.Application. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, C:\Program Files\dotnet\library-packs, nuget.org NU1101: Unable to find package Volo.Abp.Account.Pro.Admin.HttpApi. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, C:\Program Files\dotnet\library-packs, nuget.org NU1101: Unable to find package Volo.Abp.Account.Pro.Admin.Web. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, C:\Program Files\dotnet\library-packs, nuget.org 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, C:\Program Files\dotnet\library-packs, nuget.org NU1101: Unable to find package Volo.Abp.Account.Pro.Public.HttpApi. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, C:\Program Files\dotnet\library-packs, nuget.org NU1101: Unable to find package Volo.Abp.Account.Pro.Public.Web.IdentityServer. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, C:\Program Files\dotnet\library-packs, nuget.org 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, C:\Program Files\dotnet\library-packs, nuget.org NU1101: Unable to find package Volo.Abp.AuditLogging.Application. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, C:\Program Files\dotnet\library-packs, nuget.org NU1101: Unable to find package Volo.Abp.AuditLogging.HttpApi. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, C:\Program Files\dotnet\library-packs, nuget.org NU1101: Unable to find package Volo.Abp.AuditLogging.Web. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, C:\Program Files\dotnet\library-packs, nuget.org NU1101: Unable to find package Volo.Abp.Commercial.SuiteTemplates. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, C:\Program Files\dotnet\library-packs, nuget.org NU1101: Unable to find package Volo.Abp.Identity.Pro.Application. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, C:\Program Files\dotnet\library-packs, nuget.org NU1101: Unable to find package Volo.Abp.Identity.Pro.EntityFrameworkCore. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, C:\Program Files\dotnet\library-packs, nuget.org NU1101: Unable to find package Volo.Abp.Identity.Pro.HttpApi. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, C:\Program Files\dotnet\library-packs, nuget.org NU1101: Unable to find package Volo.Abp.Identity.Pro.Web. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, C:\Program Files\dotnet\library-packs, nuget.org NU1101: Unable to find package Volo.Abp.LanguageManagement.Application. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, C:\Program Files\dotnet\library-packs, nuget.org NU1101: Unable to find package Volo.Abp.LanguageManagement.EntityFrameworkCore. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, C:\Program Files\dotnet\library-packs, nuget.org NU1101: Unable to find package Volo.Abp.LanguageManagement.HttpApi. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, C:\Program Files\dotnet\library-packs, nuget.org NU1101: Unable to find package Volo.Abp.LanguageManagement.Web. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, C:\Program Files\dotnet\library-packs, nuget.org NU1101: Unable to find package Volo.Abp.LeptonTheme.Management.Application. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, C:\Program Files\dotnet\library-packs, nuget.org NU1101: Unable to find package Volo.Abp.LeptonTheme.Management.HttpApi. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, C:\Program Files\dotnet\library-packs, nuget.org NU1101: Unable to find package Volo.Abp.LeptonTheme.Management.Web. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, C:\Program Files\dotnet\library-packs, nuget.org NU1101: Unable to find package Volo.Abp.TextTemplateManagement.Application. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, C:\Program Files\dotnet\library-packs, nuget.org NU1101: Unable to find package Volo.Abp.TextTemplateManagement.EntityFrameworkCore. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, C:\Program Files\dotnet\library-packs, nuget.org NU1101: Unable to find package Volo.Abp.TextTemplateManagement.HttpApi. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, C:\Program Files\dotnet\library-packs, nuget.org NU1101: Unable to find package Volo.Abp.TextTemplateManagement.Web. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, C:\Program Files\dotnet\library-packs, nuget.org NU1101: Unable to find package Volo.FileManagement.Application. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, C:\Program Files\dotnet\library-packs, nuget.org NU1101: Unable to find package Volo.FileManagement.EntityFrameworkCore. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, C:\Program Files\dotnet\library-packs, nuget.org NU1101: Unable to find package Volo.FileManagement.HttpApi. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, C:\Program Files\dotnet\library-packs, nuget.org NU1101: Unable to find package Volo.FileManagement.Web. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, C:\Program Files\dotnet\library-packs, nuget.org NU1101: Unable to find package Volo.Saas.EntityFrameworkCore. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, C:\Program Files\dotnet\library-packs, nuget.org NU1101: Unable to find package Volo.Saas.Host.Application. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, C:\Program Files\dotnet\library-packs, nuget.org NU1101: Unable to find package Volo.Saas.Host.HttpApi. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, C:\Program Files\dotnet\library-packs, nuget.org NU1101: Unable to find package Volo.Saas.Host.Web. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, C:\Program Files\dotnet\library-packs, nuget.org Errors in D:\a\1\s\Pentapack.MRS\Pentapack.MRS.csproj NU1101: Unable to find package Volo.Abp.Account.Pro.Admin.Application. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, C:\Program Files\dotnet\library-packs, nuget.org NU1101: Unable to find package Volo.Abp.Account.Pro.Admin.HttpApi. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, C:\Program Files\dotnet\library-packs, nuget.org NU1101: Unable to find package Volo.Abp.Account.Pro.Admin.Web. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, C:\Program Files\dotnet\library-packs, nuget.org 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, C:\Program Files\dotnet\library-packs, nuget.org NU1101: Unable to find package Volo.Abp.Account.Pro.Public.HttpApi. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, C:\Program Files\dotnet\library-packs, nuget.org NU1101: Unable to find package Volo.Abp.Account.Pro.Public.Web.IdentityServer. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, C:\Program Files\dotnet\library-packs, nuget.org 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, C:\Program Files\dotnet\library-packs, nuget.org NU1101: Unable to find package Volo.Abp.AuditLogging.Application. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, C:\Program Files\dotnet\library-packs, nuget.org NU1101: Unable to find package Volo.Abp.AuditLogging.HttpApi. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, C:\Program Files\dotnet\library-packs, nuget.org NU1101: Unable to find package Volo.Abp.AuditLogging.Web. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, C:\Program Files\dotnet\library-packs, nuget.org NU1101: Unable to find package Volo.Abp.Commercial.SuiteTemplates. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, C:\Program Files\dotnet\library-packs, nuget.org NU1101: Unable to find package Volo.Abp.Identity.Pro.Application. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, C:\Program Files\dotnet\library-packs, nuget.org NU1101: Unable to find package Volo.Abp.Identity.Pro.EntityFrameworkCore. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, C:\Program Files\dotnet\library-packs, nuget.org NU1101: Unable to find package Volo.Abp.Identity.Pro.HttpApi. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, C:\Program Files\dotnet\library-packs, nuget.org NU1101: Unable to find package Volo.Abp.Identity.Pro.Web. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, C:\Program Files\dotnet\library-packs, nuget.org NU1101: Unable to find package Volo.Abp.LanguageManagement.Application. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, C:\Program Files\dotnet\library-packs, nuget.org NU1101: Unable to find package Volo.Abp.LanguageManagement.EntityFrameworkCore. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, C:\Program Files\dotnet\library-packs, nuget.org NU1101: Unable to find package Volo.Abp.LanguageManagement.HttpApi. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, C:\Program Files\dotnet\library-packs, nuget.org NU1101: Unable to find package Volo.Abp.LanguageManagement.Web. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, C:\Program Files\dotnet\library-packs, nuget.org NU1101: Unable to find package Volo.Abp.LeptonTheme.Management.Application. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, C:\Program Files\dotnet\library-packs, nuget.org NU1101: Unable to find package Volo.Abp.LeptonTheme.Management.HttpApi. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, C:\Program Files\dotnet\library-packs, nuget.org NU1101: Unable to find package Volo.Abp.LeptonTheme.Management.Web. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, C:\Program Files\dotnet\library-packs, nuget.org NU1101: Unable to find package Volo.Abp.TextTemplateManagement.Application. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, C:\Program Files\dotnet\library-packs, nuget.org NU1101: Unable to find package Volo.Abp.TextTemplateManagement.EntityFrameworkCore. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, C:\Program Files\dotnet\library-packs, nuget.org NU1101: Unable to find package Volo.Abp.TextTemplateManagement.HttpApi. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, C:\Program Files\dotnet\library-packs, nuget.org NU1101: Unable to find package Volo.Abp.TextTemplateManagement.Web. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, C:\Program Files\dotnet\library-packs, nuget.org NU1101: Unable to find package Volo.FileManagement.Application. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, C:\Program Files\dotnet\library-packs, nuget.org NU1101: Unable to find package Volo.FileManagement.EntityFrameworkCore. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, C:\Program Files\dotnet\library-packs, nuget.org NU1101: Unable to find package Volo.FileManagement.HttpApi. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, C:\Program Files\dotnet\library-packs, nuget.org NU1101: Unable to find package Volo.FileManagement.Web. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, C:\Program Files\dotnet\library-packs, nuget.org NU1101: Unable to find package Volo.Saas.EntityFrameworkCore. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, C:\Program Files\dotnet\library-packs, nuget.org NU1101: Unable to find package Volo.Saas.Host.Application. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, C:\Program Files\dotnet\library-packs, nuget.org NU1101: Unable to find package Volo.Saas.Host.HttpApi. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, C:\Program Files\dotnet\library-packs, nuget.org NU1101: Unable to find package Volo.Saas.Host.Web. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, C:\Program Files\dotnet\library-packs, nuget.org)

That worked. But after deployment post requests are not working. Throwing below error.

I have implemented data seeding using IDataSeedContributor and it is working fine with ./migrate-database.

But I'm looking to migrate on runtime while deploying using the below code,

var dbContext = serviceScope.ServiceProvider.GetRequiredService<MRSDbContext>(); dbContext.Database.EnsureCreated();

It is creating db and table, but not data.

Any suggestions on this?

Hi, Thanks it fixed that issue and now I'm able to migrate.

But I have one issue while migration, that is I'm trying to create db and tables with default data on deployment by implementing the below code on OnApplicationInitialization in module file,

var dbContext = serviceScope.ServiceProvider.GetRequiredService<MRSDbContext>(); dbContext.Database.EnsureCreated();

It is creating db and their respective tables, but data seeding is not happening. User table looks empty.

Can you please check you mail box

Hi,

I could resolve this exception "Microsoft.Extensions.Hosting.HostAbortedException". But couldn't find any clue on "Autofac.Core.DependencyResolutionException: An exception was thrown while activating Pentapack.MRS.Data.MRSDbMigrationService."

And also this is another exception I'm facing while executing Add-Migration command.

PM> Add-Migration 'Initial' Build started... Build succeeded. [08:20:54 FTL] Pentapack.MRS terminated unexpectedly! Microsoft.Extensions.Hosting.HostAbortedException: The host was aborted. at Microsoft.Extensions.Hosting.HostFactoryResolver.HostingListener.ThrowHostAborted() at Microsoft.Extensions.Hosting.HostFactoryResolver.HostingListener.OnNext(KeyValuePair`2 value) at System.Diagnostics.DiagnosticListener.Write(String name, Object value) at Microsoft.Extensions.Hosting.HostBuilder.ResolveHost(IServiceProvider serviceProvider, DiagnosticListener diagnosticListener) at Microsoft.Extensions.Hosting.HostApplicationBuilder.Build() at Microsoft.AspNetCore.Builder.WebApplicationBuilder.Build() at Pentapack.MRS.Program.Main(String[] args) in D:\Source\Repos\Pentapack.MRS\Pentapack.MRS\Program.cs:line 41

Zobrazeno od 51 do 60 z celkem 67 záznamů
Made with ❤️ on ABP v8.2.0-preview Updated on března 25, 2024, 15:11