Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "sumitshah"

Prerequisites

Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

  • What is your product version-11.0.0
  • What is your product type (Angular or MVC)-Angular(13.0)
  • What is product framework type (.net framework or .net core)-6.0

Hi After Db migration we are trying to run the application and getting error regarding the redis server

  • What is your product version?
  • Net6.0
  • What is your product type (Angular or MVC)? Angular
  • What is product framework type (.net framework or .net core)?
  • .net Core

If issue related with ABP Framework

  • What is ABP Framework version?
  • ABP.AspNetCore(7.0.1)
  • ABP.AspNetZeroCore(4.0.l0)

Description : We are migrating application from .Net Core 2.2 to 6.0. While running application it is throwing exception from Startup.cs file. Please find below screenshots.

Please let us know what should I need to reference to resolve this and what should I need to add/update in Startup.cs file.

Hello @ismcagdas, Yes we have resolved it.Thanks

Hello @ismcagdas, Thank you for response. we are using following connection string, I have removed all the values for respective key while sharing, "ConnectionStrings": { "Default": "Server=; Database=; Trusted_Connection=False;User ID=;Password=;" },

And in SQL Server we have entered above values in object explorer to connect the server,

To Connect server from SQL server management Studio, entered server name from connection string,Login is nothing but User ID from connection string and kept password as it is. It is connecting successfully to the server and database from SQL server management Studio.

  • What is your product version- 11.0.0
  • What is your product type (Angular or MVC)- Angular 13
  • What is product framework type (.net framework or .net core)- .net core 6.0

We have upgraded our application to latest version( .net core(6.0) & angular (13)). We are trying update/migrate database so for this we tried to publish(run) migrator application it is giving following error. "There is already an object named 'AbpAuditLogs' in the database."

also we tried to run Infogroup.IDMS.EntityCoreFramework using Package Manager Console and by running cmd "update-database" which is giving follwing error- "There is already an object named 'AbpAuditLogs' in the database."

seems it is not trying to update database instead of this it is trying to create new tables related to ABP framework. Please let us know on this how can we proceed?

Yes, I got it. Thanks.

  • What is your product version - 11.0.0
  • What is your product type (Angular or MVC) - Angular 13
  • What is product framework type (.net framework or .net core) - .net core 6.0

We are trying migrate version from .net core 2.2 to 6.0 Trying update database by runnig migrator project. it's giving following newtwork-instance related error. Attaching screenshot of the same. We checked the connectionstring with microsoft SQL Server studio it's working fine over there. We are using same connectionstring in appsettings.

Could you please let us know DB migration and updation steps.

Hello @ismcagdas , Thanks for help. Could you please guide us a specific steps to add a migration for project and how can I proceed to update a database?

  • What is your product version- AspNetZero 11.0.0
  • What is your product type (Angular or MVC) - Angular
  • What is product framework type (.net framework or .net core) - .net core 6.0

We have migrated code from .net core 2.2 to .net core 6.0 . Tried to build and run backend(.net) application, getting following error in browser.

SqlException: Invalid column name 'ExceptionMessage'. Microsoft.Data.SqlClient.SqlCommand+<>c.<ExecuteDbDataReaderAsync>b__188_0(Task<SqlDataReader> result)

DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details. Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)

Hello,

Please find the below screen-shot.

This "Context" object has reference from "Abp.EntityFrameworkCore.Repositories".

Showing 31 to 40 of 105 entries