Looking for some input on how to resolve this error. Seagull support was no help. Any suggestions appreciated!
I dropped their Seagull.Bartender.Print.dl
l in the bin folder of my asp.net vb.net website and get the following error.
Warning 2 Namespace or type specified in the Imports 'Seagull.BarTender.Print' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases. \\web1\c$\inetpub\CassavaT
racker2\Se
eds_SeedPl
anting.asp
x.vb 4 9 CassavaTracker2(1)
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.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.BadImageFormatExcep
tion: 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.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Assembly Load Trace: The following information can be helpful to determine why the assembly 'Seagull.BarTender.Print' could not be loaded.
=== Pre-bind state information ===
LOG: DisplayName = Seagull.BarTender.Print
(Partial)
WRN: Partial binding information was supplied for an assembly:
WRN: Assembly Name: Seagull.BarTender.Print | Domain ID: 3
WRN: A partial bind occurs when only part of the assembly display name is provided.
WRN: This might result in the binder loading an incorrect assembly.
WRN: It is recommended to provide a fully specified textual identity for the assembly,
WRN: that consists of the simple name, version, culture, and public key token.
WRN: See whitepaper
http://go.microsoft.com/fwlink/?LinkId=109270 for more information and common solutions to this issue.
LOG: Appbase = file://web1/c$/inetpub/Cas
savaTracke
r2/
LOG: Initial PrivatePath = \\web1\c$\inetpub\CassavaT
racker2\bi
n
Calling assembly : (Unknown).
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: \\web1\c$\inetpub\CassavaT
racker2\we
b.config
LOG: Using host configuration file: C:\Users\ahelbling\Documen
ts\IISExpr
ess\config
\aspnet.co
nfig
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\F
ramework\v
4.0.30319\
config\mac
hine.confi
g.
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Attempting download of new URL file:///C:/Users/ahelbling
/AppData/L
ocal/Temp/
Temporary ASP.NET Files/vs/7561af33/55aa0dcc
/Seagull.B
arTender.P
rint.DLL.
LOG: Attempting download of new URL file:///C:/Users/ahelbling
/AppData/L
ocal/Temp/
Temporary ASP.NET Files/vs/7561af33/55aa0dcc
/Seagull.B
arTender.P
rint/Seagu
ll.BarTend
er.Print.D
LL.
LOG: Attempting download of new URL file://web1/c$/inetpub/Cas
savaTracke
r2/bin/Sea
gull.BarTe
nder.Print
.DLL.
ERR: Failed to complete setup of assembly (hr = 0x8007000b). Probing terminated.
Stack Trace:
[BadImageFormatException: 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.]
System.Reflection.RuntimeA
ssembly._n
Load(Assem
blyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +0
System.Reflection.RuntimeA
ssembly.nL
oad(Assemb
lyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +36
System.Reflection.RuntimeA
ssembly.In
ternalLoad
AssemblyNa
me(Assembl
yName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +152
System.Reflection.RuntimeA
ssembly.In
ternalLoad
(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection) +77
System.Reflection.RuntimeA
ssembly.In
ternalLoad
(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +21
System.Reflection.Assembly
.Load(Stri
ng assemblyString) +28
System.Web.Configuration.C
ompilation
Section.Lo
adAssembly
Helper(Str
ing assemblyName, Boolean starDirective) +104
[ConfigurationErrorsExcept
ion: 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.]
System.Web.Configuration.C
ompilation
Section.Lo
adAssembly
Helper(Str
ing assemblyName, Boolean starDirective) +1029
System.Web.Configuration.C
ompilation
Section.Lo
adAllAssem
bliesFromA
ppDomainBi
nDirectory
() +360
System.Web.Configuration.C
ompilation
Section.Lo
adAssembly
(AssemblyI
nfo ai) +103
System.Web.Configuration.A
ssemblyInf
o.get_Asse
mblyIntern
al() +62
System.Web.Compilation.Bui
ldManager.
GetReferen
cedAssembl
ies(Compil
ationSecti
on compConfig) +265
System.Web.Compilation.Bui
ldManager.
GetPreStar
tInitMetho
dsFromRefe
rencedAsse
mblies() +77
System.Web.Compilation.Bui
ldManager.
CallPreSta
rtInitMeth
ods(String
preStartInitListPath, Boolean& isRefAssemblyLoaded) +173
System.Web.Compilation.Bui
ldManager.
ExecutePre
AppStart()
+236
System.Web.Hosting.Hosting
Environmen
t.Initiali
ze(Applica
tionManage
r appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParamete
rs hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException
) +1205
[HttpException (0x80004005): 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.]
System.Web.HttpRuntime.Fir
stRequestI
nit(HttpCo
ntext context) +752
System.Web.HttpRuntime.Ens
ureFirstRe
questInit(
HttpContex
t context) +150
System.Web.HttpRuntime.Pro
cessReques
tNotificat
ionPrivate
(IIS7Worke
rRequest wr, HttpContext context) +245