frictionadd
10-12-2003, 08:05 AM
System.Data.OleDb.OleDbException: No error information available: REGDB_E_CLASSNOTREG(0x80040154).
What is this? I am getting it both on my personal web server and on this discountASP.net one. Below is posted the code that creates the error and the web.config information to decipher it. Also, in the user section of the website on discountasp.net it tell's me what my Server.MapPath is so i put that in the web.config. The database is an Access XP mdb in a "database" folder in the root of my site.
Line 26: string connectionString = ConfigurationSettings.AppSettings["ConnectionString"];
Line 27: OleDbConnection Conn1 = new OleDbConnection(connectionString); // The error is on this line.
web.config:
<add key="ConnectionString" value="Provider=Microsoft Access Driver (*.mdb)};Data Source=x:\xxxxx\xxxxxxx\htdocs\database\rockweb.md b" />
Thanks in advance for any responses.
What is this? I am getting it both on my personal web server and on this discountASP.net one. Below is posted the code that creates the error and the web.config information to decipher it. Also, in the user section of the website on discountasp.net it tell's me what my Server.MapPath is so i put that in the web.config. The database is an Access XP mdb in a "database" folder in the root of my site.
Line 26: string connectionString = ConfigurationSettings.AppSettings["ConnectionString"];
Line 27: OleDbConnection Conn1 = new OleDbConnection(connectionString); // The error is on this line.
web.config:
<add key="ConnectionString" value="Provider=Microsoft Access Driver (*.mdb)};Data Source=x:\xxxxx\xxxxxxx\htdocs\database\rockweb.md b" />
Thanks in advance for any responses.