Server Error in '/' Application.
Object reference not set to an instance of an object.
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.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
Line 56: public IEnumerable<Portal> ListPortals()
Line 57: {
Line 58: return (from c in _entities.PortalSet
Line 59: .Include("DefaultLanguage")
Line 60: .Include("PortalResources")
Source File: C:\RkWork\Samples\mvccms-56618\MvcCms 2.0\MvcCms.Data\EntityPortalRepository.cs Line: 58
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
MvcCms.Data.EntityPortalRepository.ListPortals() in C:\RkWork\Samples\mvccms-56618\MvcCms 2.0\MvcCms.Data\EntityPortalRepository.cs:58
MvcCms.Web.Ioc.WindsorServiceLocator.DoGetInstance(Type serviceType, String key) in C:\RkWork\Samples\mvccms-56618\MvcCms 2.0\MvcCms.Web\MvcCms.Web\Ioc\WindsorServiceLocator.cs:35
Microsoft.Practices.ServiceLocation.ServiceLocatorImplBase.GetInstance(Type serviceType, String key) +76
[ActivationException: Activation error occured while trying to get instance of type ICmsService, key ""]
Microsoft.Practices.ServiceLocation.ServiceLocatorImplBase.GetInstance(Type serviceType, String key) +157
Microsoft.Practices.ServiceLocation.ServiceLocatorImplBase.GetInstance() +113
MvcCms.Web.Code.Routing.SetAppRoutes() in C:\RkWork\Samples\mvccms-56618\MvcCms 2.0\MvcCms.Web\MvcCms.Web\Code\Routing.cs:40
MvcCms.Web.MvcApplication.Application_Start() in C:\RkWork\Samples\mvccms-56618\MvcCms 2.0\MvcCms.Web\MvcCms.Web\Global.asax.cs:97
Object reference not set to an instance of an object.
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.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
Line 56: public IEnumerable<Portal> ListPortals()
Line 57: {
Line 58: return (from c in _entities.PortalSet
Line 59: .Include("DefaultLanguage")
Line 60: .Include("PortalResources")
Source File: C:\RkWork\Samples\mvccms-56618\MvcCms 2.0\MvcCms.Data\EntityPortalRepository.cs Line: 58
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
MvcCms.Data.EntityPortalRepository.ListPortals() in C:\RkWork\Samples\mvccms-56618\MvcCms 2.0\MvcCms.Data\EntityPortalRepository.cs:58
...admin edit for length
MvcCms.Web.Ioc.WindsorServiceLocator.DoGetInstance(Type serviceType, String key) in C:\RkWork\Samples\mvccms-56618\MvcCms 2.0\MvcCms.Web\MvcCms.Web\Ioc\WindsorServiceLocator.cs:35
Microsoft.Practices.ServiceLocation.ServiceLocatorImplBase.GetInstance(Type serviceType, String key) +76
[ActivationException: Activation error occured while trying to get instance of type ICmsService, key ""]
Microsoft.Practices.ServiceLocation.ServiceLocatorImplBase.GetInstance(Type serviceType, String key) +157
Microsoft.Practices.ServiceLocation.ServiceLocatorImplBase.GetInstance() +113
MvcCms.Web.Code.Routing.SetAppRoutes() in C:\RkWork\Samples\mvccms-56618\MvcCms 2.0\MvcCms.Web\MvcCms.Web\Code\Routing.cs:40
MvcCms.Web.MvcApplication.Application_Start() in C:\RkWork\Samples\mvccms-56618\MvcCms 2.0\MvcCms.Web\MvcCms.Web\Global.asax.cs:97
1 years 7 months 11 days
ago by
hellobrk
