使用VS2019开发web项目,使用PM>update-database 进行数据库迁移时出现错误Format of the initialization string does not conform to specification starting at index 0.,具体如下图:
连接字符串如下:"Server=(local)\\SQLSERVERUN;Database=SmartMk;User ID=sa;Password=xxx;MultipleActiveResultSets=true;"
VS运行时可以连接数据库,但迁移数据库时还是上述问题,已查找很多关于字符串的解决方案,都试过了,还是无法解决。
请高手指点,谢谢!