The last time I updated BWS on my dev machine, I had to also update on my runtime machines. I got a similar error to your 2nd one. Check the versions on your dev and runtime machines to see if they match.
>>> On 6/8/2012 at 12:09 PM, <[email protected]> wrote: > The license type doesn't matter, just so long as it is licensed - I'd > suggest giving support a call and they can help you with the already > licensed pc issue. > > > > Thom C. Blackwell VP, Technical Services > > Boston Software Systems, Inc. > > Phone: 866.653.5105 x807 > > Mobile: 508.423.8463 > > Fax: 508.319.3015 > > www.bostonsoftwaresystems.com <http://www.bostonsoftwaresystems.com/> > > > > > > The information contained in this message may be confidential and > legally protected under applicable law. The message is intended solely > for the addressee(s). If you are not the intended recipient, you are > hereby notified that any use, forwarding, dissemination, or reproduction > of this message is strictly prohibited and may be unlawful. If you are > not the intended recipient, please contact the sender by return e-mail > and destroy all copies of the original message. > > > > From: [email protected] [mailto:[email protected]] > Sent: Friday, June 08, 2012 3:01 PM > To: Talk > Subject: RE: [talkbws] Using BWS in other programming languages > > > > Thanks for the quick reply Thom. > > > > Does it need a specific license (runtime or developer)? This is being > compiled on a machine that has a BWS dev license. > > > > But when I try to run the compiled program on a machine that has a BWS > runtime license, I get that 2nd error I had mentioned (... Unable to > cast COM object ...) > > > > Regards, > > Tyler > > > > From: [email protected] [mailto:[email protected]] > Sent: Friday, June 08, 2012 2:52 PM > To: [email protected] > Subject: RE: [talkbws] Using BWS in other programming languages > > > > Tyler, > > Any PC that runs code that uses Boston WorkStation objects needs a > license in order to run. > > So you would need to install and license Boston WorkStation on those > other PC's in order for your program to run. > > Regards, > > Thom > > > > Thom C. Blackwell VP, Technical Services > > Boston Software Systems, Inc. > > Phone: 866.653.5105 x807 > > Mobile: 508.423.8463 > > Fax: 508.319.3015 > > www.bostonsoftwaresystems.com <http://www.bostonsoftwaresystems.com/> > > > > > > The information contained in this message may be confidential and > legally protected under applicable law. The message is intended solely > for the addressee(s). If you are not the intended recipient, you are > hereby notified that any use, forwarding, dissemination, or reproduction > of this message is strictly prohibited and may be unlawful. If you are > not the intended recipient, please contact the sender by return e-mail > and destroy all copies of the original message. > > > > From: [email protected] [mailto:[email protected]] > Sent: Friday, June 08, 2012 2:49 PM > To: Talk > Subject: [talkbws] Using BWS in other programming languages > > > > Hello everybody, > > > > Has anybody used BWS in a different programming language? BWS has a few > documents on it in their Knowledge Base and I have BWS working in C#. > I'm able to compile and run a C# program that interfaces with BWS to > automate Meditech Magic. > > > But I'm having difficulty publishing this C# project to other PCs. I'm > unsure if BWS needs to be fully installed on any machine that this C# > program would run on. If I try running the program on a machine that > doesn't have BWS, I get this error: > > System.Runtime.InteropServices.COMException (0x80040154): Retrieving the > COM class factory for component with CLSID > {B3C8BD01-99F3-42A8-B07F-7D94E68053D5} failed due to the following > error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 > (REGDB_E_CLASSNOTREG)). > > > > But I've also tried running it on another machine that has BWS (runtime > license) installed and I get this error: > > System.InvalidCastException: Unable to cast COM object of type > 'System.__ComObject' to interface type > 'BostonWorkStation70.BostonWorkStation'. This operation failed because > the QueryInterface call on the COM component for the interface with IID > '{8C8144EF-ADB7-48FD-A5BB-6E55B8382B3E}' failed due to the following > error: No such interface supported (Exception from HRESULT: 0x80004002 > (E_NOINTERFACE)). > > > > Just wondering if anybody has experience with this and had any tips. The > code (which compiles fine) I'm using is something like: > > using BostonWorkStation70; > > ... > > BostonWorkStation bwsi; > > ... > > bwsi = new BostonWorkStation(); > > ... > > > > Regards, > > Tyler Nielson > > Applications Analyst > > I.S. Department, Saratoga Hospital > > > > > > --- 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 > > > This e-mail communication and any attachments may contain > confidential and privileged information for the use of the > designated recipients named above. > If you are not the intended recipient, you are hereby notified > that you have received this communication in error and that > any review, disclosure, dissemination, distribution or copying > of it or its contents is prohibited. If you have received this > communication in error, please notify Saratoga Hospital > immediately by e-mail at [email protected] and > destroy all copies of this communication and any attachments. > --- 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 > --- 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 > > > This e-mail communication and any attachments may contain > confidential and privileged information for the use of the > designated recipients named above. > If you are not the intended recipient, you are hereby notified > that you have received this communication in error and that > any review, disclosure, dissemination, distribution or copying > of it or its contents is prohibited. If you have received this > communication in error, please notify Saratoga Hospital > immediately by e-mail at [email protected] and > destroy all copies of this communication and any attachments. > > --- 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 CONFIDENTIALITY NOTICE: This e-mail message (including attachments) is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, and is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any unauthorized review, use, disclosure, dissemination, copying, forwarding 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. If you are the intended recipient but do not wish to receive communication through this medium, please advise the sender immediately. --- 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
