错误:SqlException:Identity Server 4项目中的无效的对象名称“客户端” [英] Error: SqlException: Invalid object name 'Clients' in Identity Server 4 Project
本文介绍了错误:SqlException:Identity Server 4项目中的无效的对象名称“客户端”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想在我的Asp.net核心AuthServer项目中将Identity Server连接到Sql Server。但是我在InitlizeDatabase(app)步骤中遇到了错误,如下图所示。
I would like to connect Identity Server to the Sql Server in my Asp.net core AuthServer project. But I am getting the error in the InitlizeDatabase(app) step as shown in the image below.
推荐答案
这是EF Core版本的问题。
It was the EF Core version issue.
当我使用ef时以及文档中给出的ef工具版本,它可以正常工作:)
When I used the ef and the ef tool version as given in the documentation and it worked :)
所以我的代码适用于以下版本:
Microsoft.EntityFrameworkCore.Tools : 1.0.0-preview2-final
So my code works with the version below: "Microsoft.EntityFrameworkCore.Tools": "1.0.0-preview2-final"
这篇关于错误:SqlException:Identity Server 4项目中的无效的对象名称“客户端”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文