COM error in file RRS feed

  • Question

  • User-1549644716 posted

    Really appreciate any help!!

    This is what I get when I try to run a program:

    Caught COM error in file C:\BOSS\Comon\BusinessServices\CashControl\AdoDataAccess.cpp at line 615:


    Code meaning=IDispatch error #3092

    Source=Microsoft OLE DB Provider for ODBC Drivers

    Description=[Microsoft][ODBC SQL Server Driver][SQL Server]Database "msdb" cannot be opened because some of the files could not be actvided.

    Windows 2000 profesional server 

    THANKS !!!

    Friday, March 23, 2018 9:24 AM

All replies

  • User-460007017 posted

    Hi RolBol,

    First of all, you need to check whether the code is written correctly. Secondly the error code 80040e14 and IDispatch error #3092 always occur when you have a syntax error in your sql query string. So you need to ensure it also have enough permission to achieve this.

    Thirdly, you need to ensure both authenticated user and Application pool identity have enough permission to access the cpp. Besides, you need to ensure app pool identity have enough permission to access the sql database.

    Best Regards,

    Yuk Ding

    Monday, March 26, 2018 1:53 AM