首页 > 其他分享 >执行migration 提示Instance failure

执行migration 提示Instance failure

时间:2023-01-30 17:12:47浏览次数:48  
标签:abc failure Instance migration True localhost

An error occurred while accessing the Microsoft.Extensions.Hosting services. Continuing without the application service provider. Error: Instance failure.

看了看是数据库连接字符串的问题,连接字符串在appsettings文件中,系统将我的

Server=localhost\\SQLEXPRESS;Database=abc;Trusted_Connection=True;

转义成了

Server=localhost\\\\SQLEXPRESS;Database=abc;Trusted_Connection=True;

斜杠的问题。

标签:abc,failure,Instance,migration,True,localhost
From: https://www.cnblogs.com/tudou365/p/17076663.html

相关文章