asp.net连接interbase出错,请大家帮忙解决,谢谢!!!使用的sibprovider驱动。
代码如下:
<%@ Page Language="C#" runat="server" debug="true" %>
<%@ Import Namespace="System" %>
<%@ import Namespace="System.Data" %>
<%@ import Namespace="System.Data.OleDb" %>
<script runat="server">    private OleDbConnection cn;     void Page_Load()
 {
  string cnstr;
cnstr="provider=sibprovider;location=localhost:;data source=d:\temp.gdb;user id=SYSDBA;password=masterkey;role=DIGITADORES";
             cn = new OleDbConnection(cnstr)  ;
             cn.Open();
 string sql="Select code,name from Goods";
             OleDbDataAdapter da = new OleDbDataAdapter(sql,cn);
 DataSet ds=new DataSet();
 da.Fill(ds,"temp");
           
             DG.DataSource=ds.Tables[0];
             DG.DataBind();
 cn.Close();
          
     }</script><html>
<head>
    <title>ADO DataReader</title>
</head>
<body text="#000000" bgcolor="#ffffff"><form runat="server">
<table border="1">
<Tr><td>test2</td></Tr>
<Tr><td><asp:DataGrid ID="DG" runat="server"></asp:DataGrid></td></Tr></table>    
</form>
</body>
</html>错误信息如下:No error information available: REGDB_E_CLASSNOTREG(0x80040154).