COM Error Code: 80040e10

This is a discussion on COM Error Code: 80040e10 within the Windows Programming forums, part of the Platform Specific Boards category; Hi All, My appln component (VC++ com server) uses ADO to connect to an MS access DB file (access 2000 ...

  1. #1
    Registered User
    Join Date
    Jun 2005
    Posts
    4

    COM Error Code: 80040e10

    Hi All,

    My appln component (VC++ com server) uses ADO to connect to an MS access DB file (access 2000 format). we are using Microsoft.Jet.OLEDB.4.0. now, we are changing the provider to MSDASQL. in doing so, one of the query to read the DB file is failing.

    it throws the exception:

    COM Error Code: 80040e10 Message: IDispatch error #3088 Source: Microsoft OLE DB Provider for ODBC Drivers Description: [Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 30.

    The same query works perfect with the old provider.

    Is this any version/compatibility issue with MSDASQL?

    Please help me with your suggestions.

    thanks,
    raj.

  2. #2
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,691
    You may have qutation marks that now need to be a single tick " -> '

    Found here: http://support.microsoft.com/default.aspx/kb/181832

    gg

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21