adodb.dll fails to run on windows7 64bit RRS feed

  • Question

  • I have a winform application and use adodb.ll to generate files ,  it runs fine on 32bit, but when moving to 64bit, it will cause the System.Runtime.InteropServices.COMException] = {"The following system error occurred:  Invalid class string.

    could you tell me why?

    the following is the related code:

            ADODB.Connection AdoConn = new ADODB.Connection();
            AdoConn.Provider = "MSOLAP";

            sConnection = "location=C:\Ex4e\bi\outputcubes\Stationery  Computer Mart UK\FinReps.cub;

    SOURCE_DSN="Provider=Microsoft.Jet.OLEDB.4.0;User ID=Admin;Data source=C:\Ex4e\bi\outputcubes\Stationery  Computer Mart UK\models\BI50FinRep.mdb;Extended Properties=;jet oledb:database password=B1owfish;;jet oledb:system database=C:\Ex4e\bi\outputcubes\Stationery  Computer Mart UK\models\BI50FinRep.mdw;;;";"
            AdoConn.Open(sConnection, "", "", 0);

    • Moved by Larcolais Gong Wednesday, December 1, 2010 6:14 AM (From:Visual Studio Setup and Installation)
    Monday, November 29, 2010 10:00 AM


All replies