Link to home
Start Free TrialLog in
Avatar of collages
collagesFlag for United States of America

asked on

COMException using VB.net with Business Objects

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?

ASKER CERTIFIED SOLUTION
Avatar of gjutras
gjutras

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of collages

ASKER

Ok...I see if I can do that.
So what exactly is the problem here?
Avatar of gjutras
gjutras

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.
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.