DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Runtime error

  1. #1
    seye Guest

    Runtime error


    hello
    I need help on been able to handle and interprete errors. i have this error
    come up while using the data report to pull up some data through data environment.
    Run time error '-2147417848(80010108)'
    Automation error
    I have tried debugging but can't pick where the problem is!



  2. #2
    Bob Rouse Guest

    Re: Runtime error


    This means that you have an ActiveX component that either isn't registered
    correctly, or is missing (or has a version mismatch) with another component
    or DLL.

    Put this code in the procedure generating the error:

    On Error Goto ErrorHandler

    <code>

    Exit sub (or function)

    ErrorHandler:
    Msgbox err.description
    Exit Sub
    Resume
    End Sub

    Put a breakpoint on the "Exit Sub" below the message box. When it gets there,
    set the program flow to the "resume" line (using CTRL+F9), then hit F8 to
    see which line is generating the error. You should be able to figure out
    which control is not initializing properly.

    From a DOS prompt, try to register the control ("regsrvr32 <control name>").
    This will either correctly reregister the control, or give an error that
    will (hopefully) point you in the correct direction.


    "seye" <@.com> wrote:
    >
    >hello
    >I need help on been able to handle and interprete errors. i have this error
    >come up while using the data report to pull up some data through data environment.
    > Run time error '-2147417848(80010108)'
    > Automation error
    >I have tried debugging but can't pick where the problem is!
    >
    >



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center