作业帮 > 综合 > 作业

Description:An unhandled exception occurred during the execu

来源:学生作业帮 编辑:百度作业网作业帮 分类:综合作业 时间:2024/08/13 09:55:59
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.Reflection.ReflectionTypeLoadException:Unable to load one or more of the requested types.Retrieve the LoaderExceptions property for more information.
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:
[ReflectionTypeLoadException:Unable to load one or more of the requested types.Retrieve the LoaderExceptions property for more information.]
System.Reflection.RuntimeModule.GetTypes(RuntimeModule module) +0
System.Reflection.RuntimeModule.GetTypes() +9
System.Reflection.Assembly.GetTypes() +143
System.Data.Metadata.Edm.ObjectItemConventionAssemblyLoader.LoadTypesFromAssembly() +41
System.Data.Metadata.Edm.ObjectItemAssemblyLoader.Load() +32
System.Data.Metadata.Edm.AssemblyCache.LoadAssembly(Assembly assembly,Boolean loadReferencedAssemblies,ObjectItemLoadingSessionData loadingData) +124
System.Data.Metadata.Edm.AssemblyCache.LoadAssembly(Assembly assembly,Boolean loadReferencedAssemblies,KnownAssembliesSet knownAssemblies,EdmItemCollection edmItemCollection,Action`1 logLoadMessage,Object& loaderCookie,Dictionary`2& typesInLoading,List`1& errors) +250
Description:An unhandled exception occurred during the execu
这个没必要翻译吧.
这是用C#写的代码?
你的程序在处理请求的时候出现异常了.
在你相应的程序页面代码,打上断点,调试看看,就知道问题出在哪儿了.
再问: 呵呵,解决了,是发布之后少放了几个DLL,因为做wcf服务更新了几个微软的DLL,把dll放过去就正常了,本来应该编译到类库里面的,不知道怎么就没带上。