I came across that link in my search, thanks.

In the end, recreating the interop assemblies from the type libraries did the 
trick. (tlbimp)

-Rob

From: [email protected] [mailto:[email protected]]
Sent: Tuesday, May 03, 2011 3:38 PM
To: [email protected]
Cc: [email protected]
Subject: Re: [talkbws] Bss9.NET Solution ComException


A quick search on Google for that error turns this up on msdn website:
http://social.msdn.microsoft.com/forums/en-US/vbgeneral/thread/88a6ea68-f476-4231-822f-27fabe59f458/

Sounds like you may need the VB runtime installed on the pc.

^^^^^^^^^^^^^^^^^^^^^^^
James Walker
Systems Analyst
Mercy Medical Center
Knoxville, TN
Office       (865)647-2906
Mobile    (865)323-7378
Fax          (865)545-3007
^^^^^^^^^^^^^^^^^^^^^^^

[email protected]<mailto:[email protected]>

05/03/2011 05:56 PM
Please respond to
[email protected]<mailto:[email protected]>


To

[email protected]<mailto:[email protected]>

cc

Subject

[talkbws] Bss9.NET Solution ComException







Does anyone have experience with Interop for BWS? I'm trying to get started by 
running the .NET example solution and am getting a ComException when creating 
the BostonWorkstation70.BostonWorkstation object.

System.Runtime.InteropServices.COMException was unhandled
  ErrorCode=-2147221164
  Message=Retrieving the COM class factory for component with CLSID 
{A34F13B1-C8A8-4249-A5DF-2D840C1D5960} failed due to the following error: 
80040154.
  Source=Bss9
  StackTrace:
       at Bss6.Bss9.ObjectScript() in C:\Bss70\Bss9.NET\Bss9\Bss9\Bss9.vb:line 
11
       at Bss6.Bss9.cmdObject_Click(Object sender, EventArgs e) in 
C:\Bss70\Bss9.NET\Bss9\Bss9\Bss9.vb:line 61
       at System.Windows.Forms.Control.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
       at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons 
button, Int32 clicks)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ButtonBase.WndProc(Message& m)
       at System.Windows.Forms.Button.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, 
Int32 msg, IntPtr wparam, IntPtr lparam)
       at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
       at 
System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32
 dwComponentID, Int32 reason, Int32 pvLoopData)
       at 
System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 
reason, ApplicationContext context)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 
reason, ApplicationContext context)
       at 
Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()
       at 
Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
       at 
Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[]
 commandLine)
       at Bss6.My.MyApplication.Main(String[] Args) in 
17d14f5c-a337-4978-8281-53493378c1071.vb:line 81
       at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       at System.Threading.ExecutionContext.Run(ExecutionContext 
executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()
  InnerException:

Environment is Windows 7 64bit. I've tried to create a new solution and set the 
Build Platform target to x86 with the same result.

-Rob

---  To post a message to this list, send mail to: 
[email protected]<mailto:[email protected]>    You are currently subscribed as: 
[email protected]<mailto:[email protected]>    Unsubscribe in the customer 
center on our website: 
http://www.bostonworkstation.com/customer_center/virtual_user_group_talk.aspx   
<http://www.bostonworkstation.com/customer_center/virtual_user_group_talk.aspx>



CONFIDENTIALITY NOTICE:  This message, including any attachments, is for
the sole use of the intended recipient(s) and may contain confidential and
privileged information.  Any unauthorized review, use, disclosure or 
distribution
is prohibited.  If you are not the intended recipient, please contact the
sender by reply e-mail and destroy all copies of the original message.

---  To post a message to this list, send mail to: 
[email protected]<mailto:[email protected]>    You are currently subscribed as: 
[email protected]<mailto:[email protected]>    Unsubscribe in the 
customer center on our website: 
http://www.bostonworkstation.com/customer_center/virtual_user_group_talk.aspx

---  To post a message to this list, send mail to: [email protected]    You are 
currently subscribed as: [email protected]    Unsubscribe in the 
customer center on our website: 
http://www.bostonworkstation.com/customer_center/virtual_user_group_talk.aspx   

Reply via email to