本机装了vs2005,连接其自带数据库sql express,运行正常,把部署后的文件放到测试机器上时出现如下错误,其测试机器仅装.net2.0的框架。Server Error in '/' Application.
--------------------------------------------------------------------------------An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)
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.Data.SqlClient.SqlException: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)请各位指教!!谢谢
--------------------------------------------------------------------------------An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)
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.Data.SqlClient.SqlException: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)请各位指教!!谢谢
解决方案 »
- aspxTreeList点击+或排序后无显示
- 开发记录?该如何记录??
- 无法将类型为“System.Web.UI.WebControls.CheckBox”
- 关于跨页发送(Cross-Page Posting)
- 这b/s的oa后台的树状菜单怎么不能显示了?请问有哪些原因啊?谢谢!
- 编译过程中出现的异常现象:警告: 不能将项目“Web”中的依赖项复制到运行目录,因为它将改写引用......
- 关于label显示的问题
- 谁能给我一个简单的asp.net程序,具体要求请进..
- 参数传递的问题,解决问题马上给分.
- 老大,如何在DataGrid中,定义每列的宽度???
- asp.net2.0分页代码
- 有达人吗?如何让IIS6支持XSSI(高级SSI)
就是InstallShield 使用说明不多,大部分靠自己阅读示例,全英文而且,需要11.5以上版本的InstallShield SP1才行,但一旦安装成功,打包还是很方便的