public AllManagerFactory ManagerFactory
{
get
{
var webApplicationContext =
ContextRegistry.GetContext() as WebApplicationContext;
AllManagerFactory manager =
webApplicationContext.GetObject("ManagerFactory") as AllManagerFactory;
return manager;
}
}
Resource handler for the 'web' protocol is not defined.
说明: 执行当前 Web 请求期间,出现未经处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。
异常详细信息: System.UriFormatException: Resource handler for the 'web' protocol is not defined.
源错误:
行 14: get
行 15: {
行 16: var webApplicationContext =
行 17: ContextRegistry.GetContext() as WebApplicationContext;
行 18: AllManagerFactory manager =
UriFormatException: Resource handler for the 'web' protocol is not defined.]
Spring.Core.IO.ConfigurableResourceLoader.GetResource(String resourceName) in c:\_svn\spring-net\tags\spring-net-1.3.1\src\Spring\Spring.Core\Core\IO\ConfigurableResourceLoader.cs:146
Spring.Objects.Factory.Support.AbstractObjectDefinitionReader.LoadObjectDefinitions(String location) in c:\_svn\spring-net\tags\spring-net-1.3.1\src\Spring\Spring.Core\Objects\Factory\Support\AbstractObjectDefinitionReader.cs:218
用VS2010自带的IIS使用没任何问题
部署上去就出错,哪位大侠遇到过这种问题.