实体框架sql server 2005,iis6.0连接问题 [英] entity framework sql server 2005,iis6.0 connection problem

查看:66
本文介绍了实体框架sql server 2005,iis6.0连接问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,该网站是使用asp.net mvc和实体框架开发的。它的工作正常。 

但是 我收到此错误消息   在3-4天内,当我更换web.config时,我们的网站开始工作,即使在周末,该公司表示它可以在2小时内工作 本身,但我不认为这是关于web.config
 
错误信息是:  "执行命令需要开放且可用的连接。
连接的当前状态被破坏。""它可能是从sql server 2005或iis 6或我的DataContext实体发生的任何想法?


Hi,

the web site is developed with asp.net mvc and entity framework. it's working fine in general. 

but  i got this error message   in 3-4 four days when i replace the web.config the the we site starts to work , even in weekend the firm said it works in 2 hours  by itself but i don't think it is about web.config
 
the error message is:  "Execution of the command requires an open and available connection.
The connection's current state is broken."
 
it may cause from sql server 2005 or iis 6 or my DataContext entity

any ideas?


推荐答案

你好drengarc,

Hi drengarc,

我似乎已经完成了和你一样的问题。你找到了解决方案吗?非常欢迎任何信息。

I seem to have exectly the same problem as you had. Did you find any solution for it? Any information would be very welcome.

谢谢。


这篇关于实体框架sql server 2005,iis6.0连接问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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