服务器操作系统是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页面测试,数据库连接很顺利,各种操作也都能完成实在无法解决了,上来请教各位高手,江湖救急啊.....

解决方案 »

  1.   

    webconfig文件里面和数据库有关的都检查下
      

  2.   

    webconfig文件我查了好多遍,没问题啊
    网络连接应该也没问题,静态.net页面和asp页面都很正常
      

  3.   

    你可以修改程序,看看连接数据库是否正常(比如在建立连接或者关掉连接弄个label显示一下)看看是哪里出错了
      

  4.   

    如果你访问SQL Server,就把连接字符串贴出来。
      

  5.   

    是sql数据库 public static SqlConnection conopen()
        {
            SqlConnection con = new SqlConnection("server=10.0.0.8;database=abc;uid=sa;pwd=");
            con.Open();
            return con;
        }
      

  6.   

    直接在web.config中配置数据库连接文件。然后取这个路径就可以了。
      

  7.   

    最大的可能是,你的空间根本就不支持asp.net2.0,甚至于不支持asp.net1.1