“/”应用程序中的服务器错误。
--------------------------------------------------------------------------------
WebSupportModule not initialized. Did you forget to add <add name="Spring" type="Spring.Context.Support.WebSupportModule, Spring.Web"/> to your web.config's <httpModules>-section?
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。
异常详细信息: System.Configuration.ConfigurationErrorsException: WebSupportModule not initialized. Did you forget to add <add name="Spring" type="Spring.Context.Support.WebSupportModule, Spring.Web"/> to your web.config's <httpModules>-section?
源错误:
执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。
堆栈跟踪:
[ConfigurationErrorsException: WebSupportModule not initialized. Did you forget to add <add name="Spring" type="Spring.Context.Support.WebSupportModule, Spring.Web"/> to your web.config's <httpModules>-section?]
Spring.Util.VirtualEnvironment.AssertInitialized() +41
Spring.Util.VirtualEnvironment.add_EndRequest(RequestEventHandler value) +26
Spring.Objects.Factory.Support.WebObjectFactory.EnsureEventHandlersRegistered() +97
Spring.Objects.Factory.Support.WebObjectFactory..cctor() +33
[TypeInitializationException: “Spring.Objects.Factory.Support.WebObjectFactory”的类型初始值设定项引发异常。]
Spring.Context.Support.WebApplicationContext.CreateObjectFactory() +105
Spring.Context.Support.AbstractXmlApplicationContext.RefreshObjectFactory() +60
Spring.Context.Support.AbstractApplicationContext.Refresh() +62
Spring.Context.Support.WebApplicationContext..ctor(String name, Boolean caseSensitive, IApplicationContext parentContext, String[] configurationLocations) +54
Spring.Context.Support.WebApplicationContext..ctor(String name, Boolean caseSensitive, String[] configurationLocations) +17
[TargetInvocationException: 调用的目标发生了异常。]
System.RuntimeMethodHandle._InvokeConstructor(Object[] args, SignatureStruct& signature, IntPtr declaringType) +0
System.RuntimeMethodHandle.InvokeConstructor(Object[] args, SignatureStruct signature, RuntimeTypeHandle declaringType) +13
System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +366
Spring.Util.ObjectUtils.InstantiateType(ConstructorInfo constructor, Object[] arguments) +157
[FatalReflectionException: Cannot instantiate Type [Spring.Context.Support.WebApplicationContext] using ctor [Void .ctor(System.String, Boolean, System.String[])] : '调用的目标发生了异常。']
Spring.Util.ObjectUtils.InstantiateType(ConstructorInfo constructor, Object[] arguments) +324
Spring.Context.Support.RootContextInstantiator.InvokeContextConstructor(ConstructorInfo ctor) +99
Spring.Context.Support.ContextInstantiator.InstantiateContext() +31
Spring.Context.Support.ContextHandler.InstantiateContext(IApplicationContext parentContext, Object configContext, String contextName, Type contextType, Boolean caseSensitive, String[] resources) +137
Spring.Context.Support.WebContextHandler.InstantiateContext(IApplicationContext parent, Object configContext, String contextName, Type contextType, Boolean caseSensitive, String[] resources) +307
Spring.Context.Support.ContextHandler.Create(Object parent, Object configContext, XmlNode section) +285
[ConfigurationErrorsException: Error creating context 'spring.root': WebSupportModule not initialized. Did you forget to add <add name="Spring" type="Spring.Context.Support.WebSupportModule, Spring.Web"/> to your web.config's <httpModules>-section?]
System.Configuration.BaseConfigurationRecord.EvaluateOne(String[] keys, SectionInput input, Boolean isTrusted, FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult) +178
System.Configuration.BaseConfigurationRecord.Evaluate(FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult, Boolean getLkg, Boolean getRuntimeObject, Object& result, Object& resultRuntimeObject) +896
System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject) +1200
System.Configuration.BaseConfigurationRecord.GetSection(String configKey, Boolean getLkg, Boolean checkPermission) +56
System.Configuration.BaseConfigurationRecord.GetSection(String configKey) +8
System.Web.Configuration.HttpConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection(String configKey) +65
System.Configuration.ConfigurationManager.GetSection(String sectionName) +107
Spring.Context.Support.ContextRegistry.InitializeContextIfNeeded() +97
Spring.Context.Support.ContextRegistry.GetContext() +42
Agile.Framework.Service.ServiceContainer..cctor() +5
[TypeInitializationException: “Agile.Framework.Service.ServiceContainer”的类型初始值设定项引发异常。]
Agile.Framework.Service.ServiceContainer.GetService() +0
Agile.OA.Web.Login.Password_ServerValidate(Object source, ServerValidateEventArgs args) +15
System.Web.UI.WebControls.CustomValidator.OnServerValidate(String value) +132
System.Web.UI.WebControls.CustomValidator.EvaluateIsValid() +111
System.Web.UI.WebControls.BaseValidator.Validate() +86
System.Web.UI.Page.Validate() +133
System.Web.UI.Page.Validate(String validationGroup) +2049995
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +81
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1746
--------------------------------------------------------------------------------
版本信息: Microsoft .NET Framework 版本:2.0.50727.1434; ASP.NET 版本:2.0.50727.1434
回复 引用 查看