Wcf Service With Bartender 追蹤

0
Avatar
Legacy Poster

I'm trying to use a WCF service to create a print job in BarTender 2016, but getting the error:

 

Could not load file or assembly 'Seagull.BarTender.Print, Version=11.0.2.1, Culture=neutral, PublicKeyToken=109ff779a1b4cbc7' or one of its dependencies. The system cannot find the file specified.

 

I've checked the install and .NET SDK is installed, I'm using .NET Framework 4.0, WCF Service. All I have added to the service is the below line, using statement and a line in the config file to reference the assembly

Engine engine = new Engine();

<add assembly="Seagull.BarTender.Print, Version=11.0.2.1, Culture=neutral, PublicKeyToken=109FF779A1B4CBC7"/>

 

I have successfully produced a print job using a windows forms application with no issues. Has anybody else experience issues using WCF / Web services?

 

Thanks

2 意見

0
Avatar
Ian Cummings
版主
評論操作 永久連結

I suggest you take a look at the .NET SDK that you can install as a component of the BarTender suite.  One example Visual Studio project in the SDK is a web application, which should prove helpful.

 

I assume you're running either the Automation or Enterprise Automation editions?  Or failing that, a Trial edition with some trial days left.

0
Avatar
Legacy Poster
評論操作 永久連結

Hi Ian,

 

I am running the Enterprise Automation edition, but had this problem in the trial version until last week too. I've run the WebLabelPrint project, but I'm getting the same error:

 

Could not load file or assembly 'Seagull.BarTender.Print, Version=11.0.2.1, Culture=neutral, PublicKeyToken=109ff779a1b4cbc7' or one of its dependencies. The system cannot find the file specified.

 

Has anybody come across this before?

 

Thanks

登入寫評論。