-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update-database 报错(dotnet ef database update也一样的错误提示) #13
Comments
我也出现这样的错误,连接字符串是正确的 |
好的,谢谢大家的反馈,我这边会建立一个干净的环境测试一下,同时新的版本很快会发布到主分支(正在 Developer-RazorPage 分支下快速更新),请关注。 |
@tiger2014 @jackhuazai @xclyisen 感谢!已经修正并发布到 master 分支,近期 SCF 底层进行了比较大的更新(见 https://github.com/SenparcCoreFramework/SCF/tree/Developer-RazorPage 分支),为进一步提高生产效率和进行 DDD 的优化实践,请关注! |
这个错误应该是nuget(dll)的版本不匹配导致的,我会看一下。 |
@tiger2014 看一下是不是有依赖版本之间不匹配的情况,如果升级的话建议统一一起升级,我这边下载代码可以直接运行,完成Install和进入后台 |
@tiger2014 刚装完是会500的,你要马上运行 /Install 目录,另外建议看 |
切换到 DDD分支后 问题依旧啊。。 SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) |
连接字符串如下 , 通过控制台输出 |
好吧。。appsettings.json 里面的字符串没用的哦 |
对的,参考我们教程里面,目前是由统一的 App_Data/Database/下的配置文件决定的。 |
连接字符串好多啊。。这有点不按套路出牌 ~ |
修改哪个 Full,取决于您引用的是哪个配置,这个在 appsettings.json 下面有 |
确实,我马上会进行一下清理。 |
The text was updated successfully, but these errors were encountered: