Could Not Load File Or Assembly 'seagull.bartender.print' Or One Of Its Dependencies. Follow

0

Could not load file or assembly 'Seagull.BarTender.Print' or one of its dependencies. An attempt was made to load a program with an incorrect format.

 

I am getting this error after deploying our Asp.net MVC site to IIS. Not sure what this is but I see all the assemblies in places. I also tried few of the forms that states to add something in web.config or change to x86 etc. but none helps.

 

Can anyone tell me what this issue is and how can we get over with this error. Also attached the stack trace for more information.

 

Thanks

2 comments

0
Avatar
Shotaro Ito
Comment actions Permalink

First of all, you need to install BarTender with .net SDK on the server. Also BarTender need to be Enterprise Automation edition (or valid Trial), for Web Print Server / .net Print Server SDK.

 

As of Bartender 10.1, BarTender is 32 bit application and requires .net Framework 3.5.

So your web application need to run on Win32 application pool with .net Framework 3.5 (or enable useLegacyV2RuntimeActivationPolicy).

 

For more detail, see topic below:

http://forums.seagullscientific.com/index.php?/topic/1349-unable-to-load-the-seagullbartenderprint-using-aspnet-40

0
Avatar
Legacy Poster
Comment actions Permalink

Thank you for your help. Changing the IIS Applicaiton pool advanced setting "Enable 32 bit application to TRUE worked for me.

Please sign in to leave a comment.