Hi,
Here are some of the same topics, can you check them? https://stackoverflow.com/questions/62763225/i-get-an-error-when-i-add-migration-using-entity-framework-core
now i have this error:
AbpException: Could not find the bundle file '/libs/datatables.net-bs5/css/dataTables.bootstrap5.css' for the bundle 'Lepton.Global'!
Hello,
Now I manage to build my project successfully, but I cannot start my application. How to solve the following error?
PublicKeyToken=adb9793829ddae60' does not have an implementation.
at Microsoft.EntityFrameworkCore.InMemory.Infrastructure.Internal.InMemoryOptionsExtension.get_Info()
at Microsoft.EntityFrameworkCore.DbContextOptions.GetHashCode()
at System.Collections.Concurrent.ConcurrentDictionary2.GetOrAdd[TArg](TKey key, Func
3 valueFactory, TArg factoryArgument)
at Microsoft.EntityFrameworkCore.Internal.ServiceProviderCache.GetOrAdd(IDbContextOptions options, Boolean providerRequired)
at Microsoft.EntityFrameworkCore.DbContext..ctor(DbContextOptions options)
at lambda_method34(Closure , Object[] )
at Autofac.Core.Activators.Reflection.BoundConstructor.Instantiate()
--- End of inner exception stack trace ---
at Autofac.Core.Activators.Reflection.BoundConstructor.Instantiate()
at Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable1 parameters) at Autofac.Core.Activators.Reflection.ReflectionActivator.<ConfigurePipeline>b__11_0(ResolveRequestContext ctxt, Action
1 next)
at Autofac.Core.Resolving.Middleware.DelegateMiddleware.Execute(ResolveRequestContext context, Action1 next) at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt) at Autofac.Core.Resolving.Middleware.DisposalTrackingMiddleware.Execute(ResolveRequestContext context, Action
1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute(ResolveRequestContext context, Action1 next) --- End of inner exception stack trace --- at Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute(ResolveRequestContext context, Action
1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Core.Pipeline.ResolvePipeline.Invoke(ResolveRequestContext ctxt)
at Autofac.Core.Resolving.Middleware.RegistrationPipelineInvokeMiddleware.Execute(ResolveRequestContext context, Action1 next) at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt) at Autofac.Core.Resolving.Middleware.SharingMiddleware.<>c__DisplayClass5_0.<Execute>b__0() at Autofac.Core.Lifetime.LifetimeScope.CreateSharedInstance(Guid id, Func
1 creator)
at Autofac.Core.Lifetime.LifetimeScope.CreateSharedInstance(Guid primaryId, Nullable1 qualifyingId, Func
1 creator)
at Autofac.Core.Resolving.Middleware.SharingMiddleware.Execute(ResolveRequestContext context, Action1 next) at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt) at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt) at Autofac.Core.Resolving.Middleware.CircularDependencyDetectorMiddleware.Execute(ResolveRequestContext context, Action
1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Core.Pipeline.ResolvePipeline.Invoke(ResolveRequestContext ctxt)
at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, ResolveRequest request)
at Autofac.Core.Resolving.ResolveOperation.ExecuteOperation(ResolveRequest request)
at Autofac.Core.Resolving.ResolveOperation.Execute(ResolveRequest request)
at Autofac.Core.Lifetime.LifetimeScope.ResolveComponent(ResolveRequest request)
at Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable1 parameters, Object& instance) at Autofac.ResolutionExtensions.ResolveService(IComponentContext context, Service service, IEnumerable
1 parameters)
at Autofac.ResolutionExtensions.Resolve(IComponentContext context, Type serviceType, IEnumerable`1 parameters)
at Autofac.ResolutionExtensions.Resolve(IComponentContext context, Type serviceType)
at Autofac.Extensions.DependencyInjection.AutofacServiceProvider.GetRequiredService(Type serviceType)
at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)
at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)
at HealthChecks.UI.Core.HostedService.UIInitializationHostedService.InitializeDatabase(IServiceProvider sp)
at HealthChecks.UI.Core.HostedService.UIInitializationHostedService.StartAsync(CancellationToken cancellationToken)
at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.Run(IHost host)
at Dashboard.Web.Program.Main(String[] args) in /Users/pisethsan/Documents/projects/dashboard/src/Dashboard.Web/Program.cs:line 31
The program '[15549] dotnet' has exited with code 0 (0x0).
Hello,
Now i manage to restore its packages successfully.
However, i get the follow 3 errors:/Users/pisethsan/Documents/projects/dashboard/src/Dashboard.Domain/IdentityServer/IdentityServerDataSeedContributor.cs(54,54): Error CS1061: 'IApiScopeRepository' does not contain a definition for 'GetByNameAsync' and no accessible extension method 'GetByNameAsync' accepting a first argument of type 'IApiScopeRepository' could be found (are you missing a using directive or an assembly reference?) (CS1061) (Dashboard.Domain)
/Users/pisethsan/Documents/projects/dashboard/test/Dashboard.HttpApi.Client.ConsoleTestApp/ClientDemoService.cs(26,26): Error CS0246: The type or namespace name 'IProfileAppService' could not be found (are you missing a using directive or an assembly reference?) (CS0246) (Dashboard.HttpApi.Client.ConsoleTestApp)
/Users/pisethsan/Documents/projects/dashboard/test/Dashboard.HttpApi.Client.ConsoleTestApp/ClientDemoService.cs(13,13): Error CS0246: The type or namespace name 'IProfileAppService' could not be found (are you missing a using directive or an assembly reference?) (CS0246) (Dashboard.HttpApi.Client.ConsoleTestApp)
Hello,
I manage to solve the above 3 errors, but now i get this following error:
/Users/pisethsan/Documents/projects/dashboard/src/Dashboard.Domain/IdentityServer/IdentityServerDataSeedContributor.cs(54,54): Error CS1061: 'IApiScopeRepository' does not contain a definition for 'GetByNameAsync' and no accessible extension method 'GetByNameAsync' accepting a first argument of type 'IApiScopeRepository' could be found (are you missing a using directive or an assembly reference?) (CS1061) (Dashboard.Domain)
Hello,
Now i manage to restore its packages successfully. However, i get the follow 3 errors:
/Users/pisethsan/Documents/projects/dashboard/src/Dashboard.Domain/IdentityServer/IdentityServerDataSeedContributor.cs(54,54): Error CS1061: 'IApiScopeRepository' does not contain a definition for 'GetByNameAsync' and no accessible extension method 'GetByNameAsync' accepting a first argument of type 'IApiScopeRepository' could be found (are you missing a using directive or an assembly reference?) (CS1061) (Dashboard.Domain)
/Users/pisethsan/Documents/projects/dashboard/test/Dashboard.HttpApi.Client.ConsoleTestApp/ClientDemoService.cs(26,26): Error CS0246: The type or namespace name 'IProfileAppService' could not be found (are you missing a using directive or an assembly reference?) (CS0246) (Dashboard.HttpApi.Client.ConsoleTestApp)
/Users/pisethsan/Documents/projects/dashboard/test/Dashboard.HttpApi.Client.ConsoleTestApp/ClientDemoService.cs(13,13): Error CS0246: The type or namespace name 'IProfileAppService' could not be found (are you missing a using directive or an assembly reference?) (CS0246) (Dashboard.HttpApi.Client.ConsoleTestApp)
Hello,
In the root folder of my existing project, i run the command "abp update" in terminal. It shows success. When I open my existing project in the Visual Studio, it restore packages. However, i get the following error. Please help me.
*Detected package downgrade: Microsoft.Extensions.FileProviders.Embedded from 6.0.0 to 5.0.13. Reference the package directly from the project to select a different version. Dashboard.Domain.Shared -> Volo.Abp.FeatureManagement.Domain.Shared 5.1.1 -> Microsoft.Extensions.FileProviders.Embedded (>= 6.0.0) Dashboard.Domain.Shared -> Microsoft.Extensions.FileProviders.Embedded (>= 5.0.0) Detected package downgrade: Microsoft.Extensions.FileProviders.Embedded from 6.0.0 to 5.0.13. Reference the package directly from the project to select a different version. Dashboard.Domain.Shared -> Volo.Abp.Identity.Pro.Domain.Shared 5.1.1 -> Microsoft.Extensions.FileProviders.Embedded (>= 6.0.0) Dashboard.Domain.Shared -> Microsoft.Extensions.FileProviders.Embedded (>= 5.0.0) Detected package downgrade: Microsoft.Extensions.FileProviders.Embedded from 6.0.0 to 5.0.13. Reference the package directly from the project to select a different version. Dashboard.Domain.Shared -> Volo.Abp.LanguageManagement.Domain.Shared 5.1.1 -> Microsoft.Extensions.FileProviders.Embedded (>= 6.0.0) Dashboard.Domain.Shared -> Microsoft.Extensions.FileProviders.Embedded (>= 5.0.0) Detected package downgrade: Microsoft.Extensions.FileProviders.Embedded from 6.0.0 to 5.0.13. Reference the package directly from the project to select a different version. Dashboard.Domain.Shared -> Volo.Abp.LeptonTheme.Management.Domain.Shared 5.1.1 -> Microsoft.Extensions.FileProviders.Embedded (>= 6.0.0) Dashboard.Domain.Shared -> Microsoft.Extensions.FileProviders.Embedded (>= 5.0.0) Detected package downgrade: Microsoft.Extensions.FileProviders.Embedded from 6.0.0 to 5.0.13. Reference the package directly from the project to select a different version. Dashboard.Domain.Shared -> Volo.Abp.PermissionManagement.Domain.Shared 5.1.1 -> Microsoft.Extensions.FileProviders.Embedded (>= 6.0.0) Dashboard.Domain.Shared -> Microsoft.Extensions.FileProviders.Embedded (>= 5.0.0) Detected package downgrade: Microsoft.Extensions.FileProviders.Embedded from 6.0.0 to 5.0.13. Reference the package directly from the project to select a different version. Dashboard.Domain.Shared -> Volo.Abp.SettingManagement.Domain.Shared 5.1.1 -> Microsoft.Extensions.FileProviders.Embedded (>= 6.0.0) Dashboard.Domain.Shared -> Microsoft.Extensions.FileProviders.Embedded (>= 5.0.0) Detected package downgrade: Microsoft.Extensions.FileProviders.Embedded from 6.0.0 to 5.0.13. Reference the package directly from the project to select a different version. Dashboard.Domain.Shared -> Volo.Abp.TextTemplateManagement.Domain.Shared 5.1.1 -> Microsoft.Extensions.FileProviders.Embedded (>= 6.0.0) Dashboard.Domain.Shared -> Microsoft.Extensions.FileProviders.Embedded (>= 5.0.0) Detected package downgrade: Microsoft.Extensions.FileProviders.Embedded from 6.0.0 to 5.0.13. Reference the package directly from the project to select a different version. Dashboard.Domain.Shared -> Volo.Saas.Domain.Shared 5.1.1 -> Microsoft.Extensions.FileProviders.Embedded (>= 6.0.0) Dashboard.Domain.Shared -> Microsoft.Extensions.FileProviders.Embedded (>= 5.0.0) Detected package downgrade: Microsoft.Extensions.FileProviders.Embedded from 6.0.0 to 5.0.13. Reference the package directly from the project to select a different version. Dashboard.Domain.Shared -> Volo.Abp.GlobalFeatures 5.1.1 -> Volo.Abp.VirtualFileSystem 5.1.1 -> Microsoft.Extensions.FileProviders.Embedded (>= 6.0.0) Dashboard.Domain.Shared -> Microsoft.Extensions.FileProviders.Embedded (>= 5.0.0) Detected package downgrade: Microsoft.Extensions.FileProviders.Embedded from 6.0.0 to 5.0.13. Reference the package directly from the project to select a different version. Dashboard.Domain.Shared -> Volo.Abp.AuditLogging.Domain.Shared 5.1.1 -> Volo.Abp.Localization 5.1.1 -> Volo.Abp.VirtualFileSystem 5.1.1 -> Microsoft.Extensions.FileProviders.Embedded (>= 6.0.0) Dashboard.Domain.Shared -> Microsoft.Extensions.FileProviders.Embedded (>= 5.0.0) Detected package downgrade: Microsoft.Extensions.FileProviders.Embedded from 6.0.0 to 5.0.13. Reference the package directly from the project to select a different version. Dashboard.Domain.Shared -> Volo.Abp.BlobStoring.Database.Domain.Shared 5.1.1 -> Volo.Abp.Validation 5.1.1 -> Volo.Abp.Localization 5.1.1 -> Volo.Abp.VirtualFileSystem 5.1.1 -> Microsoft.Extensions.FileProviders.Embedded (>= 6.0.0) Dashboard.Domain.Shared -> Microsoft.Extensions.FileProviders.Embedded (>= 5.0.0) Detected package downgrade: Microsoft.Extensions.FileProviders.Embedded from 6.0.0 to 5.0.13. Reference the package directly from the project to select a different version. Dashboard.Domain.Shared -> Volo.Abp.IdentityServer.Domain.Shared 5.1.1 -> Volo.Abp.Validation 5.1.1 -> Volo.Abp.Localization 5.1.1 -> Volo.Abp.VirtualFileSystem 5.1.1 -> Microsoft.Extensions.FileProviders.Embedded (>= 6.0.0) Dashboard.Domain.Shared -> Microsoft.Extensions.FileProviders.Embedded (>= 5.0.0) Restore failed. *
Hello sir,
Happy New Year.
The new version of Volo.Abp.EntityFrameworkCore.Oracle is now available?
Thanks
Hello, Please don't close this ticket yet. I will use this ticket for checking and verifying the new version of ORACLE Thanks
As you may have noticed, we are getting this error right now because of the
Volo.Abp.EntityFrameworkCore.Oracle
package is not available forABP 5.0.*
.Let's leave this issue open if you want so you can reply after the package is available for
ABP 5.0.*
?
Yes, please leave this ticket open. Currently i am busy. When i am abit free i will upgrade to ABP 5 again and do more checking and testing. By the way, is it mandatory to use Volo.Abp.EntityFrameworkCore.Oracle version 5 with ABP 5.0 and dotnet 6?
Hi 👋
Volo.Abp.EntityFrameworkCore.Oracle
is not currently available forABP 5.0
. It will probably be available in the next version.I have two questions:
- Do you get an error when you run
YourProjectName.DbMigrator
project after successfully running thedotnet ef migrations add ...
command?- Do you get the error only when using the
Oracle
database in ABP 5.0?
1/ It was error like the following because i run from Visual Studio for Mac. Your startup project 'MyProject.EntityFrameworkCore' doesn't reference Microsoft.EntityFrameworkCore.Design. This package is required for the Entity Framework Core Tools to work. Ensure your startup project is correct, install the package, and try again.
To manage adding migration, i have to run the following command:
myname@MacBook-Pro MyProject.EntityFrameworkCore% dotnet ef migrations add Created_Table_Entity --startup-project ../MyProject.Web --project ../MyProject.EntityFrameworkCore.DbMigrations -c MyProjectMigrationsDbContext
myname@MacBook-Pro MyProject.EntityFrameworkCore % dotnet ef database update --startup-project ../MyProject.Web --project ../MyProject.EntityFrameworkCore.DbMigrations -c MyProjectMigrationsDbContext
I think this is no issue for me.
2/ when i upgrade to ABP 5 and dotnet 6, i run abp suite and choosing Oracle database. I get the following error:
Unable to find package Volo.Abp.EntityFrameworkCore.Oracle with version (>=5.0.0) I don't test the rest of other existing dependencies in my Abp project yet (for the version 5)