I get this error when I try to open up my asp.net page:
Server Error in '/' Application.
--------------------------
----------
----------
----------
----------
----------
----
The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
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.IO.FileLoadExceptio
n: The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
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.
Stack Trace:
[FileLoadException: The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)]
System.Reflection.Assembly
._nLoad(As
semblyName
fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0
System.Reflection.Assembly
.nLoad(Ass
emblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +54
System.Reflection.Assembly
.InternalL
oad(Assemb
lyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +211
System.Reflection.Assembly
.InternalL
oad(String
assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +141
System.Reflection.Assembly
.Load(Stri
ng assemblyString) +25
System.Web.Configuration.C
ompilation
Section.Lo
adAssembly
Helper(Str
ing assemblyName, Boolean starDirective) +32
[ConfigurationErrorsExcept
ion: The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)]
System.Web.Configuration.C
ompilation
Section.Lo
adAssembly
Helper(Str
ing assemblyName, Boolean starDirective) +596
System.Web.Configuration.C
ompilation
Section.Lo
adAssembly
(AssemblyI
nfo ai) +70
System.Web.Compilation.Bui
ldManager.
GetReferen
cedAssembl
ies(Compil
ationSecti
on compConfig) +177
System.Web.Compilation.Web
DirectoryB
atchCompil
er..ctor(V
irtualDire
ctory vdir) +267
System.Web.Compilation.Bui
ldManager.
BatchCompi
leWebDirec
toryIntern
al(Virtual
Directory vdir, Boolean ignoreErrors) +39
System.Web.Compilation.Bui
ldManager.
BatchCompi
leWebDirec
tory(Virtu
alDirector
y vdir, VirtualPath virtualDir, Boolean ignoreErrors) +429
System.Web.Compilation.Bui
ldManager.
CompileWeb
File(Virtu
alPath virtualPath) +75
System.Web.Compilation.Bui
ldManager.
GetVPathBu
ildResultI
nternal(Vi
rtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +582
System.Web.Compilation.Bui
ldManager.
GetVPathBu
ildResultW
ithNoAsser
t(HttpCont
ext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +93
System.Web.Compilation.Bui
ldManager.
GetVirtual
PathObject
Factory(Vi
rtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert) +111
System.Web.Compilation.Bui
ldManager.
CreateInst
anceFromVi
rtualPath(
VirtualPat
h virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert) +54
System.Web.UI.PageHandlerF
actory.Get
HandlerHel
per(HttpCo
ntext context, String requestType, VirtualPath virtualPath, String physicalPath) +31
System.Web.UI.PageHandlerF
actory.Sys
tem.Web.IH
ttpHandler
Factory2.G
etHandler(
HttpContex
t context, String requestType, VirtualPath virtualPath, String physicalPath) +40
System.Web.HttpApplication
.MapHttpHa
ndler(Http
Context context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) +139
System.Web.MapHandlerExecu
tionStep.S
ystem.Web.
HttpApplic
ation.IExe
cutionStep
.Execute()
+128
System.Web.HttpApplication
.ExecuteSt
ep(IExecut
ionStep step, Boolean& completedSynchronously) +161
--------------------------
----------
----------
----------
----------
----------
----
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
It doesn't even tell me what assembly it is having issues with. Someone please help me out.
Start Free Trial