collages
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.E xcel
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-0 0A0C912DCD D} failed due to the following error: 80080005.
Any ideas what may be causing this?
Imports System.IO
Imports busobj
Imports Designer
Imports Microsoft.Office.Interop.E
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-0
Any ideas what may be causing this?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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.
This is a guess as I'm assuming it's not a coding issue.
ASKER
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.
Thanks for your help on this.
ASKER
So what exactly is the problem here?