C# 重新创建数据模型后MVC5应用程序中出现服务器错误

C# 重新创建数据模型后MVC5应用程序中出现服务器错误,c#,asp.net-mvc,iis,C#,Asp.net Mvc,Iis,我刚刚删除并重新创建了实体framwork数据模型(.edmx文件),因为“从数据库更新模型”选项工作不正常,从数据库中删除时在模型中留下了一些表列。 问题是,现在我的项目被破坏了,当我运行我的应用程序时,我遇到了这个错误。有什么好主意吗?我怎么修 “/MonitoreoIntegrado”应用程序中出现服务器错误 没有任何一个实体框架(1)是独立的。关于恩萨姆布拉多的最终决定与关于恩萨姆布拉多的参考意见不一致。(例外情况:0x8013100) 描述:执行当前web请求期间发生未处理的异常。请查

我刚刚删除并重新创建了实体framwork数据模型(.edmx文件),因为“从数据库更新模型”选项工作不正常,从数据库中删除时在模型中留下了一些表列。 问题是,现在我的项目被破坏了,当我运行我的应用程序时,我遇到了这个错误。有什么好主意吗?我怎么修

“/MonitoreoIntegrado”应用程序中出现服务器错误

没有任何一个实体框架(1)是独立的。关于恩萨姆布拉多的最终决定与关于恩萨姆布拉多的参考意见不一致。(例外情况:0x8013100)

描述:执行当前web请求期间发生未处理的异常。请查看堆栈跟踪以了解有关错误的更多信息以及错误在代码中的起源

异常详细信息:System.IO.FileLoadException:No se puede cargar el archivo o ensamblado“EntityFramework(1)”不存在依赖关系。关于恩萨姆布拉多的最终决定与关于恩萨姆布拉多的参考意见不一致。(例外情况:0x8013100)

源错误:

在执行当前web请求期间生成了未经处理的异常。有关异常的起源和位置的信息可以使用下面的异常堆栈跟踪来识别

程序集加载跟踪:以下信息有助于确定无法加载程序集“EntityFramework(1)”的原因

AVS:El registro del enlace de ensamblado estádesactivato。 在ensamblado的错误登记册中,登记册的价值[HKLM\Software\Microsoft\Fusion!EnableLog](DWORD)como 1。 注:目前存在着一个消除恐怖主义登记处。 在característica,elimine el valor de Registro[HKLM\Software\Microsoft\Fusion!EnableLog]的网站上发布了最新信息

堆栈跟踪:

[FileLoadException:No se puede cargar el archivo o ensamblado'EntityFramework(1)'ni una de sus dependencias.La finiticón del manifies to del ensamblado No see puede cargar el archivo o ensamblado'EntityFramework(1)'ni una de sus dependencias.La definiticón del manifies to del ensamblado de Ensam System.Reflection.RuntimeAssembly.\u nLoad(AssemblyName文件名、字符串代码基、证据assemblySecurity、RuntimeAssembly位置提示、StackCrawlMark和stackMark、IntPtr pPrivHostBinder、Boolean throwOnFileNotFound、Boolean For Inspection、Boolean suppressSecurityChecks)+0 System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef,证据assemblySecurity,RuntimeAssembly reqAssembly,StackScrawMark&stackMark,IntPtr pPrivHostBinder,Boolean throwOnFileNotFound,Boolean For Inspection,Boolean suppressSecurityChecks)+234 System.Reflection.RuntimeAssembly.InternalLoad(字符串assemblyString、证据assemblySecurity、StackScrawMark和stackMark、IntPtr pPrivHostBinder、布尔值用于内省)+108 System.Reflection.RuntimeAssembly.InternalLoad(字符串assemblyString、证据assemblySecurity、StackScrawMark和stackMark、布尔值ForInterspection)+25 System.Reflection.Assembly.Load(字符串assemblyString)+34 System.Web.Configuration.CompliationSection.LoadAssemblyHelper(字符串assemblyName,布尔starDirective)+49

[ConfigurationErrorsException:No se puede cargar el archivo o ensamblado'EntityFramework(1)'ni una de sus dependencias.La definición del manifies to del ensamblado不符合ensamblado的参考要求。(HRESULT除外:0x8013100)] System.Web.Configuration.CompliationSection.LoadAssemblyHelper(字符串assemblyName,布尔starDirective)+772 System.Web.Configuration.CompliationSection.LoadAllAssembliesFromAppDomainBindDirectory()+259 System.Web.Configuration.CompilementSection.LoadAssembly(AssemblyInfo ai)+163 System.Web.Compilation.BuildManager.GetReferencedAssembly(CompilationSection compConfig)+230 System.Web.Compilation.BuildManager.GetPrestartinitMethodsFromReferencedAssemblys()+76 System.Web.Compilation.BuildManager.CallPreStartInitMethods(字符串preStartInitListPath,布尔值&isRefAssemblyLoaded)+343 System.Web.Compilation.BuildManager.ExecuteRepapStart()+176 System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager、IApplicationHost appHost appHost、IConfigMapPathFactory configMapPathFactory、HostingEnvironmentParameters hostingParameters、PolicyLevel PolicyLevel、Exception appDomainCreationException)+734

[HttpException(0x80004005):不存在实体框架(1)中的cargar el archivo o ensamblado。不存在与ensamblado参考一致的ensamblado定义(0x8013100除外)] System.Web.HttpRuntime.FirstRequestInit(HttpContext上下文)+579 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext上下文)+112 System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequestWR,HttpContext上下文)+716


版本信息:Microsoft.NET Framework版本:4.0.30319;ASP.NET版本:4.6.1073.0

好的,这很奇怪。我的项目中有一个名为
\u bin\u deployableAssemblies
的文件夹。我从本地磁盘删除了这个文件夹,然后从我的项目中排除了这个文件夹,现在一切又恢复正常了