Creating an instance of the COM component with CLSID {...} from the IClassFactory failed due to the following error: 800706ba The RPC server is unavailable when printing in ASP.Net Follow

0

Hi,

I created an ASP.NET page that attempts to open a BarTender document and print it out.  However, I am getting the above exception.

I have already checked the following things:

  1. BarTender 2021 is installed on the IIS Server
  2. I've already ran bartend.exe /register
  3. Made sure that the RPC service is running on the IIS machine
  4. Made sure that my current user is allowed to run BarTender
  5. Tweaked the DCOM settings to allow IIS users to run local and remote

I am running BarTender 2021 R5 ver 11.2/166048 (64-bit), albeit on a Trial license.

1 comments

0
Avatar
Xabier Clemente
Moderator
Comment actions Permalink

Hello John,

Thank you for reaching us in our Community Forums.

I understand this might be a late response; however, for future reference and for those having similar issues, the first thing we would need to check is whether BarTender still has a trial period left. Check this via the "Help>About" menu item in BarTender. Certain features, such as Automation, will only work while there are trial days left.

Once we've verified we do indeed have some trial days left, we would need to open a command prompt (DOS) window, then navigate to the directory to where BarTender is installed (eg. "C:\Program Files\Seagull\BarTender Suite"), and enter in the command line: bartend.exe /register

Hopefully, this does the trick.

Please sign in to leave a comment.