加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 编程开发 > asp.Net > 正文

asp.net – 无法加载文件或程序集

发布时间:2020-12-16 00:23:30 所属栏目:asp.Net 来源:网络整理
导读:当我在Visual Studio 2008中尝试调试时,我收到以下错误。我已经清理了ASP.NET临时文件夹并重新启动了VS。我也删除了据称打破的参考,并将其添加回来。但似乎没有任何工作。有没有人遇到类似的情况,有解决办法吗? Could not load file or assembly ‘”GCS
当我在Visual Studio 2008中尝试调试时,我收到以下错误。我已经清理了ASP.NET临时文件夹并重新启动了VS。我也删除了据称打破的参考,并将其添加回来。但似乎没有任何工作。有没有人遇到类似的情况,有解决办法吗?

Could not load file or assembly
‘”GCS.Common (asif mohammed’s
conflicted copy 2010-01-29)”‘ or one
of its dependencies. The given
assembly name or codebase was invalid.
(Exception from HRESULT: 0x80131047)

[FileLoadException: Could not load
file or assembly ‘”GCS.Common (asif
mohammed’s conflicted copy
2010-01-29)”‘ or one of its
dependencies. The given assembly name
or codebase was invalid. (Exception
from HRESULT: 0x80131047)]
System.Reflection.AssemblyName.nInit(Assembly&
assembly,Boolean forIntrospection,
Boolean raiseResolveEvent) +0
System.Reflection.Assembly.InternalLoad(String
assemblyString,Evidence
assemblySecurity,StackCrawlMark&
stackMark,Boolean forIntrospection)
+114 System.Reflection.Assembly.Load(String
assemblyString) +28
System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String
assemblyName,Boolean starDirective)
+46

[ConfigurationErrorsException: Could
not load file or assembly ‘”GCS.Common
(asif mohammed’s conflicted copy
2010-01-29)”‘ or one of its
dependencies. The given assembly name
or codebase was invalid. (Exception
from HRESULT: 0x80131047)]
System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String
assemblyName,Boolean starDirective)
+613 System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory()
+203 System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo
ai) +105
System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection
compConfig) +178
System.Web.Compilation.BuildProvidersCompiler..ctor(VirtualPath
configPath,Boolean
supportLocalization,String
outputAssemblyName) +54
System.Web.Compilation.CodeDirectoryCompiler.GetCodeDirectoryAssembly(VirtualPath
virtualDir,CodeDirectoryType dirType,
String assemblyName,StringSet
excludedSubdirectories,Boolean
isDirectoryAllowed) +8809426
System.Web.Compilation.BuildManager.CompileCodeDirectory(VirtualPath
virtualDir,StringSet
excludedSubdirectories) +128
System.Web.Compilation.BuildManager.CompileCodeDirectories()
+265 System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled()
+320

[HttpException (0x80004005): Could not
load file or assembly ‘”GCS.Common
(asif mohammed’s conflicted copy
2010-01-29)”‘ or one of its
dependencies. The given assembly name
or codebase was invalid. (Exception
from HRESULT: 0x80131047)]
System.Web.Compilation.BuildManager.ReportTopLevelCompilationException()
+58 System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled()
+512 System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager
appManager,IApplicationHost appHost,
IConfigMapPathFactory
configMapPathFactory,
HostingEnvironmentParameters
hostingParameters) +729

[HttpException (0x80004005): Could not
load file or assembly ‘”GCS.Common
(asif mohammed’s conflicted copy
2010-01-29)”‘ or one of its
dependencies. The given assembly name
or codebase was invalid. (Exception
from HRESULT: 0x80131047)]
System.Web.HttpRuntime.FirstRequestInit(HttpContext
context) +8890735
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext
context) +85
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest
wr) +259

解决方法

” * * * * * * * * ‘s conflicted copy with #### – ## – ## “

好像你正在使用dropbox来同步文件,这个“冲突的副本”文件保存框创建如果2台计算机改变相同的文件离线..当他们获得在线的Dropbox同步算法cofuses谁是正确的,所以它保持两个文件重命名一个到这个名字。

在你的情况下

这发生在您项目的bin目录中,只需使用“冲突复制”部分删除该文件,并保留另一个。或者如果您的项目从其他位置引用dll并重新构建解决方案,则删除它们。

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读