http://www.china-askpro.com/msg2/qa56.shtml

解决方案 »

  1.   

    http://www.china-askpro.com/msg2/qa56.shtml
      

  2.   

    开发环境有问题重新安装一下excel试试
      

  3.   

    可能是开发环境的问题,但是重新安装了OFFice2003还是老样子
      

  4.   

    strCon = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + Server.MapPath("FileName1.xls") + "; Extended Properties=Excel 8.0;HDR=yes;";
    string strConn= "Provider=Microsoft.Jet.OleDb.4.0;" +   "Data Source=" + Server.MapPath("FileName1.xls") + ";Extended Properties=Excel 8.0;IMEX=1;";
      

  5.   

    string strConn= "Provider=Microsoft.Jet.OleDb.4.0; Data Source=" + Server.MapPath("FileName1.xls") + ";Extended Properties=Excel 8.0;";
      

  6.   

    参考:
    http://support.microsoft.com/default.aspx?scid=kb;zh-cn;257819
      

  7.   

    Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\MyExcel.xls;Extended Properties="Excel 8.0;HDR=Yes;IMEX=1";如果不行,检查注册表里jet oledb 下是否有excel
      

  8.   

    没有jet oledb 这个项,只有 jey>>4.0>>Engines>>Excel>>C:\WINDOWS\system32\msexcl40.dll