EntityFramework.SqlServer.dll中出现“System.Data.Entity.Core.EntityException”类型的异常,但未在用户代码中处理 [英] An exception of type 'System.Data.Entity.Core.EntityException' occurred in EntityFramework.SqlServer.dll but was not handled in user code

查看:428
本文介绍了EntityFramework.SqlServer.dll中出现“System.Data.Entity.Core.EntityException”类型的异常,但未在用户代码中处理的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

推荐答案

这是一个EF问题,需要在那里发布。 我会移动它。

This is an EF question and needs to be posted there.  I'll move it.

关于你的错误,最后一行告诉你问题 - 提供程序无法打开。这意味着它无法连接到您的数据库。您需要验证您的连接字符串信息并确保其有效。

As to your error the last line tells you the issue - provider failed to open. That means it was unable to connect to your DB. You need to verify your connection string information and ensure it is valid.

Michael Taylor

http://www.michaeltaylorp3.net

Michael Taylor
http://www.michaeltaylorp3.net


这篇关于EntityFramework.SqlServer.dll中出现“System.Data.Entity.Core.EntityException”类型的异常,但未在用户代码中处理的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆