COMException using with Business Objects

Posted on 2007-08-03
Last Modified: 2008-01-09
I am running the following and get the error on the first line when it tries to start the new BO application.

Imports System.IO
Imports busobj
Imports Designer
Imports Microsoft.Office.Interop.Excel

Public Class Form1

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Dim BusObjApp As New busobj.Application
        Dim promptName, promptValue As String

The error is:
COMException was unhandled

Retrieving the COM class factory for component with CLSID {DCDC6F02-5766-11D0-AF14-00A0C912DCDD} failed due to the following error: 80080005.

Any ideas what may be causing this?

Question by:collages
    LVL 6

    Accepted Solution

    go hkey_classes_root\clsid\{DCDC6F02-5766-11D0-AF14-00A0C912DCDD}  in the registry
    note the uid of the application that it is referencing, search the registry for that string. Note the application name.
    open administrative panel, component services, go to dcom and find the apllication get the properties and open up the permissions to the user of the application (if it's a web app, you'll need IIS_WPG or if that's not there then Network Service)
    Also check that the folder that the application referenced above has ntfs file security permissions to read and execute.
    LVL 1

    Author Comment

    Ok...I see if I can do that.
    So what exactly is the problem here?
    LVL 6

    Expert Comment

    you probably have either of 2 permission not set for the user running the application.  Either file permissions or com permissions.
    This is a guess as I'm assuming it's not a coding issue.
    LVL 1

    Author Comment

    I think the problem may be that I need to create a wrapper for the COM....I am going to post as another question.

    Thanks for your help on this.

    Featured Post

    Highfive + Dolby Voice = No More Audio Complaints!

    Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

    Join & Write a Comment

    1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
    The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (…
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now