服务器操作系统是win2003,用的是vs2005发布的网站,在本地测试时一切正常!
上传至服务器测试时,静态页面显示没有问题,可打开有连接数据库的网页时老是显示这个错误:
Internet Explorer cannot display the webpage
Most likely causes:
1,you are not connected to the Internet.
2,The website is encountering problems.
3,There might be a typing error in the address.
What you can try:
1,Check your Internet connection.Try visiting another website to make sure you are connected.
2,Retype the address.
3,go back to the previous page.
More informatin唉,我又用asp页面测试,数据库连接很顺利,各种操作也都能完成实在无法解决了,上来请教各位高手,江湖救急啊.....
上传至服务器测试时,静态页面显示没有问题,可打开有连接数据库的网页时老是显示这个错误:
Internet Explorer cannot display the webpage
Most likely causes:
1,you are not connected to the Internet.
2,The website is encountering problems.
3,There might be a typing error in the address.
What you can try:
1,Check your Internet connection.Try visiting another website to make sure you are connected.
2,Retype the address.
3,go back to the previous page.
More informatin唉,我又用asp页面测试,数据库连接很顺利,各种操作也都能完成实在无法解决了,上来请教各位高手,江湖救急啊.....
网络连接应该也没问题,静态.net页面和asp页面都很正常
{
SqlConnection con = new SqlConnection("server=10.0.0.8;database=abc;uid=sa;pwd=");
con.Open();
return con;
}