lfaldanam / sharp-architecture

Automatically exported from code.google.com/p/sharp-architecture
Other
0 stars 0 forks source link

Implementing Rhino Security #113

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Added the Rhino security framework as per the link specified 
http://devlicio.us/blogs/billy_mccafferty/archive/2009/04/30/adding-rhino-
security-support-to-s-arp-projects.aspx
2. Try to run the application following error is received 
System.InvalidOperationException was unhandled by user code
  Message="The container has not been initialized! Please call 
IoC.Initialize(container) before using it."
  Source="Rhino.Commons"
  StackTrace:
       at Rhino.Commons.IoC.get_Container()
       at Rhino.Commons.IoC.Resolve[T]()
       at Rhino.Commons.UnitOfWork.Start(IDbConnection connection, 
UnitOfWorkNestingOptions nestingOptions)
       at Rhino.Commons.UnitOfWork.Start()
       at HesiOps.Web.Controllers.HomeController.Index() in E:\Shared 
Folder\Rhino\HesiOps_Offshore\app\HesiOps.Web.Controllers\HomeController.cs
:line 35
       at lambda_method(ExecutionScope , ControllerBase , Object[] )
       at System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase 
controller, Object[] parameters)
       at System.Web.Mvc.ReflectedActionDescriptor.Execute
(ControllerContext controllerContext, IDictionary`2 parameters)
       at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod
(ControllerContext controllerContext, ActionDescriptor actionDescriptor, 
IDictionary`2 parameters)
       at 
System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClassa.<InvokeActionMeth
odWithFilters>b__7()
       at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter
(IActionFilter filter, ActionExecutingContext preContext, Func`1 
continuation)
  InnerException: 

3.

What is the expected output? What do you see instead?
Expected output-Rhino security should work instead we see 
exceptionMessage="The container has not been initialized! Please call 
IoC.Initialize(container) before using it."

What version of the product are you using? On what operating system?
Windows XP, SharpArchitecture_1.0.48.410_RC2.zip  S#arp Architecture 1.0 
RC 2 with ASP.NET MVC RC 2 and NHibernate 2.0.1  
Please provide any additional information below.

q

Original issue reported on code.google.com by ruchikha...@googlemail.com on 10 Jul 2009 at 10:04

GoogleCodeExporter commented 9 years ago
Hi we have solved the issue it was an application problem.Thanks.Plz ignore the 
issue

Original comment by ruchikha...@googlemail.com on 15 Jul 2009 at 11:16

GoogleCodeExporter commented 9 years ago
Thanks for the update!

Original comment by wmccaffe...@gmail.com on 30 Sep 2009 at 9:24