Hi @ismcagdas
I have resolved this issue by removing an unwanted dependency on IWebHostEnvironment in {ProjectName}CoreModule.cs that was added by mistake.
However, I had misinterpreted the use of Migrator project. Actually I would like to migrate the data from one daabase to another. Normal processes like backup & restore or import/export of data would not work due to referntial integrity constraints. Can you please recommend any way to achieve this?
Thanks in advance.
Hi @ismcagdas,
Thanks for the reply.
Regarding database connection string in appsettings.json, it is clear now. Thanks.
Regarding the other error, it is not occuring in the default 10.2 project. The error is thrown before {ProjectName}CoreModule.PreInitialize method is called. So I am trying to check the dependencies in {ProjectName}.Core project and its dependencies. Could there be any other reason it is trying to load 'Microsoft.AspNetCore.Hosting.IWebHostEnvironment'?
The dependencies for {ProjectName}.EntityFrameworkCore is as follows:
Thanks.
Hi,
I am getting following error while running Migration project
Castle.MicroKernel.Handlers.HandlerException: 'Can't create component 'GrowthPlan.GrowthPlanCoreModule' as it has dependencies to be satisfied.
'GrowthPlan.GrowthPlanCoreModule' is waiting for the following dependencies:
- Service 'Microsoft.AspNetCore.Hosting.IWebHostEnvironment' which was not registered.
'
Also what connection string should I specify in app settings for Migrator project (source or destination database)?
Thanks in advance.
What is your product version?
What is your product type (Angular or MVC)?
What is product framework type (.net framework or .net core)?
What is ABP Framework version?
We are trying to update the project version to ASP.Net Zero 8.9. While following the steps from the following link - Version-Updating, we are able to complete the merge process but the files are not merged correctly.
It seems that the default git merge strategy (recursive) is not able to handle the merging in this case. Other git merge strategies also did not work properly in any case. We have tried following two approaches for merging
The merge process complete successully but the code in destination branch gets removed in both the cases mentioned above. Can you please let us know a version update process that can work seamlessly?
Thanks in advance.
Hi @demirmusa ,
We are verifying the solution that you have mentioned above and it seems to be working fine. We'll do some more testing and update accordingly.
Thank you so much for your time and help.
Hi @demirmusa,
Thank you for your reply.
Pleaes find below the database details from the database backup that we had sent attached in the email (GrowthPlanDB.bak).
Please let me know if we are misinterpreting or misunderstanding something.
Thanks.
Hi @ismcagdas,
Thank you for the update.
Hi @ismcagdas,
Thank you for the reply. I have sent an email with required details as you have requested to [email protected]
Please let me know if you need anything else from our side.
Thanks again.
Following image shows the problem clearly
Can anybody please explain what is wrong with this or what am I missing? Thanks in advance.
This behavior is consistent for all the permissions that are tenant-specific (i.e. defined with multiTenancySides: MultiTenancySides.Tenant). All the permissions common to both host and tenant are retrieved correctly from GetGrantedPermissionsAsync.