C# access2010新建表报错。求解。

C# access2010新建表出错。。求解。。
RT,建立2个表studentid(id(pk),email,snippet,fname,attachmentpath) 和stuemail(email(pk),sname)

运行到这一步时,老时提示错误。。。求解

C# access2010新建表报错。求解。


  Catalog cat = new Catalog();
                //string accesscon = @"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" + datapath;
                cat.Create("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" + datapath+";");
               //conn = new OleDbConnection();
                //conn.Open(accesscon,null,null,-1);
                Table studentid = new Table();
                studentid.ParentCatalog = cat;
                studentid.Name = "studentid";
                Column col = new Column();   //新增id字段
                col.ParentCatalog = cat;
                col.Type = DataTypeEnum.adVarChar;
                col.Name = "id";
                //col.Properties["AutoIncrement"].Value = false;
                studentid.Columns.Append(col, DataTypeEnum.adVarChar, 100);



                Column col1 = new Column();   
                col1.ParentCatalog = cat;
                col1.Type = DataTypeEnum.adVarChar;
                col1.Name = "snippet";
                studentid.Columns.Append(col1, DataTypeEnum.adVarChar, 200);


                Column col2 = new Column();   
                col2.ParentCatalog = cat;
                col2.Type = DataTypeEnum.adVarChar;
                col2.Name = "email";
                studentid.Columns.Append(col2, DataTypeEnum.adVarChar, 100);

                Column col3 = new Column();   
                col3.ParentCatalog = cat;
                col3.Type = DataTypeEnum.adVarChar;
                col3.Name = "fname";
                studentid.Columns.Append(col3, DataTypeEnum.adVarChar, 100);


                Column col4 = new Column();  
                col4.ParentCatalog = cat;
                col4.Type = DataTypeEnum.adVarChar;
                col4.Name = "attachmentpath";
                studentid.Columns.Append(col4, DataTypeEnum.adVarChar, 200);

                studentid.Keys.Append("PrimaryKey", KeyTypeEnum.adKeyPrimary, "id","","");
                cat.Tables.Append(studentid);
                System.Runtime.InteropServices.Marshal.ReleaseComObject(studentid);
              //  System.Runtime.InteropServices.Marshal.ReleaseComObject(cat);
                studentid = null;