小妹 跪求解决办法!

mindyou_44 2012-03-27 12:46:50
Server Error in '/' Application.
--------------------------------------------------------------------------------

Unable to find the requested .Net Framework Data Provider. It may not be installed.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentException: Unable to find the requested .Net Framework Data Provider. It may not be installed.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[ArgumentException: Unable to find the requested .Net Framework Data Provider. It may not be installed.]
System.Data.EntityClient.EntityConnection.GetFactory(String providerString) +251

[ArgumentException: The specified store provider cannot be found in the configuration, or is not valid.]
System.Data.EntityClient.EntityConnection.GetFactory(String providerString) +10983191
System.Data.EntityClient.EntityConnection.ChangeConnectionString(String newConnectionString) +641
System.Data.Objects.ObjectContext..ctor(String connectionString, String defaultContainerName) +84
CCTOnlineBusPro.TJ_2007Entities1..ctor() in D:\TravelOnlineWeb\CCTOnlineBusPro\tj2007.Designer.cs:34
CCTOnlineBusPro.AdvertProcess.FirAdvertTwolist(String no, String noo) in D:\TravelOnlineWeb\CCTOnlineBusPro\AdvertProcess.cs:61
TravelOnlineWeb.Index.Page_Load(Object sender, EventArgs e) in D:\TravelOnlineWeb\TravelOnlineWeb\Index.aspx.cs:19
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25
System.Web.UI.Control.LoadRecursive() +71
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3048




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1
...全文
1217 39 打赏 收藏 转发到动态 举报
写回复
用AI写文章
39 条回复
切换为时间正序
请发表友善的回复…
发表回复
WDYDXF 2013-10-22
  • 打赏
  • 举报
回复
http://blog.csdn.net/wdydxf/article/details/12952593
憧憬z 2012-04-01
  • 打赏
  • 举报
回复
看到小妹就滚进来了 程序猿狠饥渴
大户翁 2012-04-01
  • 打赏
  • 举报
回复
不是安装问题,就是配置问题!
Name_456 2012-04-01
  • 打赏
  • 举报
回复
很可能是配置文件的问题。。
HelloNet 2012-04-01
  • 打赏
  • 举报
回复
小妹一来果然魅力四射
mindyou_44 2012-04-01
  • 打赏
  • 举报
回复
你说的这个办法我做过了 但是依旧还是这个问题

[Quote=引用 28 楼 的回复:]

曾经我也遇到过这个问题,发布到服务器后报错都差不多
解决办法,选择Framework版本4.0的
如果选择后再报找不到页面的话
注册下Framework4.0就完事了

当然前提是发布后的webconfig这些文件都是正确的!!!
[/Quote]
七爷 2012-03-31
  • 打赏
  • 举报
回复
裸求啊,在上图啊
uupoweb 2012-03-28
  • 打赏
  • 举报
回复
我是英文盲啊
CalvinR 2012-03-28
  • 打赏
  • 举报
回复
你的配置有问题吧 把你的Webconfig里的东西发出来看下
CalvinR 2012-03-28
  • 打赏
  • 举报
回复
你的配置有问题吧 把你的Webconfig里的东西发出来看下
七爷 2012-03-28
  • 打赏
  • 举报
回复
[Quote=引用 1 楼 hhqsy 的回复:]

小妹,哥帮顶了,
[/Quote]
往哪儿顶呀
laokaizzz 2012-03-28
  • 打赏
  • 举报
回复
!妹子上图
  • 打赏
  • 举报
回复
这么多人解决,我就来围观吧
zhangdaowu5 2012-03-28
  • 打赏
  • 举报
回复
检查一下config里面的配置连接字符串。
zhangdaowu5 2012-03-28
  • 打赏
  • 举报
回复
检查一下配置连接字符串看看是否有问题。
天齐贺少 2012-03-28
  • 打赏
  • 举报
回复
曾经我也遇到过这个问题,发布到服务器后报错都差不多
解决办法,选择Framework版本4.0的
如果选择后再报找不到页面的话
注册下Framework4.0就完事了

当然前提是发布后的webconfig这些文件都是正确的!!!
  • 打赏
  • 举报
回复
学会自己搜索。
web.config中:

<system.data>
<DbProviderFactories>
<remove invariant="System.Data.SQLite"/>
<add name="SQLite Data Provider" invariant="System.Data.SQLite" description=".Net Framework Data Provider for SQLite" type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite, Version=1.0.57.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139" />
</DbProviderFactories>
</system.data>
记得引用System.Data.SQLite.Linq
mngzilin 2012-03-27
  • 打赏
  • 举报
回复
对了,以后千万别“跪求”了,这里本来就是相互讨论学习提高的地方,没必要这样。

以前版主说过如果“跪求”这类的字眼出现会删帖子的,现在阿飞上来了,不知道政策怎么样了。我也是很久没来过这里了,刚来两三天了
mngzilin 2012-03-27
  • 打赏
  • 举报
回复
你这个系统中是根据web.config中的配置来选择数据库提供服务的,里面的反射工厂找不到正确的配置信息,无法正确创建数据库操作实例,这个可能性比较大,我想你不至于忘记安装sqlsever了吧。
FounderSG 2012-03-27
  • 打赏
  • 举报
回复
跪求诚意够吗?这么难的问题好像需要裸跪求的。
加载更多回复(13)

62,268

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术交流专区
javascript云原生 企业社区
社区管理员
  • ASP.NET
  • .Net开发者社区
  • R小R
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

.NET 社区是一个围绕开源 .NET 的开放、热情、创新、包容的技术社区。社区致力于为广大 .NET 爱好者提供一个良好的知识共享、协同互助的 .NET 技术交流环境。我们尊重不同意见,支持健康理性的辩论和互动,反对歧视和攻击。

希望和大家一起共同营造一个活跃、友好的社区氛围。

试试用AI创作助手写篇文章吧