Base solution for your next web application

Activities of "zyrel.sermon"

Answer

Hi,

heres' a screenshot of the host

and here's a copy for the tenant

Answer

Hi,

Here's a sample of what we are trying to do

tenant 1

  • eng
  • chinese

tenant 2

  • eng
  • eng-UK

tenant 3

  • eng

we tried disabling the languages on the tenant db but still it doesn't limit the languages avaible per tenant

Question

Hi,

We are having issues changing languages on version 8.2 of aspnetzero, our setup is multi-tenant with different default languages. What we need is to limit certain languages per tenant but we are having issues doing it, we've tried bypassing it on the database but still it doesn't work.

Please advise,Thanks.

Hi @ismcagdas

I've already sent the updated project file via email. Thanks

Hi @ismcagdas

Project file sent to [email protected]

Kindly check on your end, Thanks

Hi @ismcagdas,

I'm running the command on the package manager console of visual studio, as you can see the the build started and succeeded but encounters and error

PM> add-migration
cmdlet Add-Migration at command pipeline position 1
Supply values for the following parameters:
Name: test
Build started...
Build succeeded.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
 ---> System.TypeLoadException: Could not load type 'Microsoft.EntityFrameworkCore.Internal.SemanticVersionComparer' from assembly 'Microsoft.EntityFrameworkCore, Version=6.0.3.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'.
   at Microsoft.EntityFrameworkCore.Design.OperationExecutor..ctor(IOperationReportHandler reportHandler, IDictionary args)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Span`1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
   at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture)
   at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
   at System.Activator.CreateInstance(Type type, Object[] args)
   at Microsoft.EntityFrameworkCore.Tools.ReflectionOperationExecutor..ctor(String assembly, String startupAssembly, String projectDir, String dataDirectory, String rootNamespace, String language)
   at Microsoft.EntityFrameworkCore.Tools.Commands.ProjectCommandBase.CreateExecutor()
   at Microsoft.EntityFrameworkCore.Tools.Commands.MigrationsAddCommand.Execute()
   at Microsoft.EntityFrameworkCore.Tools.Commands.CommandBase.<>c__DisplayClass0_0.<Configure>b__0()
   at Microsoft.DotNet.Cli.CommandLine.CommandLineApplication.Execute(String[] args)
   at Microsoft.EntityFrameworkCore.Tools.Program.Main(String[] args)
Exception has been thrown by the target of an invocation.

it is possible that there are packages affected internally when we updated the ff:?

Update your ABP pacakges to 6.6.2 or to latest 7.x version.
Implement changes in https://github.com/aspnetzero/aspnet-zero-core/pull/4234

Please advise, thanks

Hi @ismcagdas

tried injecting the item based on what you've suggested but after building the project here's what i've got tried adding migration also, its possible that it's just missing a migration but here's the error when adding migration Am i missing something?

Please advise, Thanks

Hi @ismcagdas

i've already updated the version of the packages but when building the project i've encounter this issue please advise, Thanks

Hi @ismcagdas

We already remove the Abp.Web.SignalR since our project is an ASP.NET Core (.NET Core) but we still encountered some issues Please advise. Thanks

Hi @ismcagdas

Code changes are applied and abp packages are already updated but we've encountered some errors when building the project. Attached is the screenshot of the error, please advise, thanks

Showing 1 to 10 of 38 entries