Re: SerializationException / Windsor 3.1

2013-11-18 Thread Krzysztof Kozmic
it’s a known issue.

please update to latest version from nuget  

--  
Krzysztof Kozmic


On Sunday, 17 November 2013 at 2:37 am, Scott_M wrote:

 Have an MVC 4 app and we use Windsor 3.1 for dependency injection.  Recently 
 started to see this error.  Anyone else run into this error with Windsor 3.1?
  
 System.Runtime.Serialization.SerializationException: Type is not resolved for 
 member 
 'Castle.MicroKernel.Lifestyle.Scoped.CallContextLifetimeScope+SerializationReference,Castle.Windsor,
  Version=3.1.0.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc'.\r\n   at 
 CassiniDev.Server.GetProcessToken()\r\n   at 
 CassiniDev.Host.GetProcessToken()\r\n   at 
 CassiniDev.Request.GetUserToken()\r\n   at 
 CassiniDev.Request.GetServerVariable(String name)\r\n   at 
 System.Web.HttpRequest.AddServerVariableToCollection 
 (http://Web.HttpRequest.AddServerVariableToCollection)(String name)\r\n   at 
 System.Web.HttpRequest.FillInServerVariablesCollection 
 (http://Web.HttpRequest.FillInServerVariablesCollection)()\r\n   at 
 System.Web.HttpServerVarsCollection.Populate 
 (http://Web.HttpServerVarsCollection.Populate)()\r\n   at 
 System.Web.HttpServerVarsCollection.get_Count 
 (http://Web.HttpServerVarsCollection.get_Count)()\r\n   at 
 System.Collections.Specialized.NameValueCollection.Add(NameValueCollection 
 c)\r\n   at System.Web.HttpRequest.FillInParamsCollection 
 (http://Web.HttpRequest.FillInParamsCollection)()\r\n   at 
 System.Web.HttpRequest.GetParams (http://Web.HttpRequest.GetParams)()\r\n   
 at System.Web.HttpRequest.get_Params 
 (http://Web.HttpRequest.get_Params)()\r\n   at 
 System.Web.HttpRequestWrapper.get_Params 
 (http://Web.HttpRequestWrapper.get_Params)()\r\n   at 
 AINC.Acme.Apps.Web.Search.Contr (http://Web.Search.Contr)
 ollers.SearchController.ExecuteSearch(Int32 repoId, Int32 searchId, String 
 unencryptedSearchValues, Int32 maxHits) in 
 c:\\code\\Apps\\Web\\Search\\Search\\Controllers\\SearchController.cs:line 
 157\r\n   at lambda_method(Closure , ControllerBase , Object[] )\r\n   at 
 System.Web.Mvc.ActionMethodDispatcher.Execute 
 (http://Web.Mvc.ActionMethodDispatcher.Execute)(ControllerBase controller, 
 Object[] parameters)\r\n   at 
 System.Web.Mvc.ReflectedActionDescriptor.Execute 
 (http://Web.Mvc.ReflectedActionDescriptor.Execute)(ControllerContext 
 controllerContext, IDictionary`2 parameters)\r\n   at 
 System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod 
 (http://Web.Mvc.ControllerActionInvoker.InvokeActionMethod)(ControllerContext 
 controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 
 parameters)\r\n   at System.Web.Mvc.ControllerActionInvoker 
 (http://Web.Mvc.ControllerActionInvoker).c__DisplayClass13.InvokeActionMethodWithFiltersb__10()\r\n
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter 
 (http://Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter)(IActionFilter
  filter, ActionExecutingContext preContext, Func`1 continuation)\r\n   at 
 System.Web.Mvc.ControllerActionInvoker 
 (http://Web.Mvc.ControllerActionInvoker).c__DisplayClass13.c__DisplayClass15.InvokeA
 ctionMethodWithFiltersb__12()\r\n   at 
 System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodWithFilters 
 (http://Web.Mvc.ControllerActionInvoker.InvokeActionMethodWithFilters)(ControllerContext
  controllerContext, IList`1 filters, ActionDescriptor actionDescriptor, 
 IDictionary`2 parameters)\r\n   at 
 AINC.Acme.Apps.Web.Utilities.Mvc.Impl.ControllerActionResultInvoker.InvokeActionMethodWithFilters
  
 (http://Web.Utilities.Mvc.Impl.ControllerActionResultInvoker.InvokeActionMethodWithFilters)(ControllerContext
  controllerContext, IList`1 filters, ActionDescriptor actionDescriptor, 
 IDictionary`2 parameters) in 
 c:\\code\\Apps\\Web\\Utilities\\Mvc\\Impl\\ControllerActionResultInvoker.cs:line
  105\r\n   at System.Web.Mvc.ControllerActionInvoker.InvokeAction 
 (http://Web.Mvc.ControllerActionInvoker.InvokeAction)(ControllerContext 
 controllerContext, String actionName)
 
  
  
  
 scott  
  
 --  
 You received this message because you are subscribed to the Google Groups 
 Castle Project Users group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to castle-project-users+unsubscr...@googlegroups.com 
 (mailto:castle-project-users+unsubscr...@googlegroups.com).
 To post to this group, send email to castle-project-users@googlegroups.com 
 (mailto:castle-project-users@googlegroups.com).
 Visit this group at http://groups.google.com/group/castle-project-users.
 For more options, visit https://groups.google.com/groups/opt_out.

-- 
You received this message because you are subscribed to the Google Groups 
Castle Project Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to castle-project-users+unsubscr...@googlegroups.com.
To post to this group, send email to castle-project-users@googlegroups.com.
Visit this group at 

SerializationException / Windsor 3.1

2013-11-16 Thread Scott_M
Have an MVC 4 app and we use Windsor 3.1 for dependency injection. 
 Recently started to see this error.  Anyone else run into this error with 
Windsor 3.1?

System.Runtime.Serialization.SerializationException: Type is not resolved 
for member 
'Castle.MicroKernel.Lifestyle.Scoped.CallContextLifetimeScope+SerializationReference,Castle.Windsor,
 
Version=3.1.0.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc'.\r\n   
at CassiniDev.Server.GetProcessToken()\r\n   at 
CassiniDev.Host.GetProcessToken()\r\n   at 
CassiniDev.Request.GetUserToken()\r\n   at 
CassiniDev.Request.GetServerVariable(String name)\r\n   at 
System.Web.HttpRequest.AddServerVariableToCollection(String name)\r\n   at 
System.Web.HttpRequest.FillInServerVariablesCollection()\r\n   at 
System.Web.HttpServerVarsCollection.Populate()\r\n   at 
System.Web.HttpServerVarsCollection.get_Count()\r\n   at 
System.Collections.Specialized.NameValueCollection.Add(NameValueCollection 
c)\r\n   at System.Web.HttpRequest.FillInParamsCollection()\r\n   at 
System.Web.HttpRequest.GetParams()\r\n   at 
System.Web.HttpRequest.get_Params()\r\n   at 
System.Web.HttpRequestWrapper.get_Params()\r\n   at 
AINC.Acme.Apps.Web.Search.Contr
ollers.SearchController.ExecuteSearch(Int32 repoId, Int32 searchId, String 
unencryptedSearchValues, Int32 maxHits) in 
c:\\code\\Apps\\Web\\Search\\Search\\Controllers\\SearchController.cs:line 
157\r\n   at lambda_method(Closure , ControllerBase , Object[] )\r\n   at 
System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, 
Object[] parameters)\r\n   at 
System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext 
controllerContext, IDictionary`2 parameters)\r\n   at 
System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext 
controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 
parameters)\r\n   at 
System.Web.Mvc.ControllerActionInvoker.c__DisplayClass13.InvokeActionMethodWithFiltersb__10()\r\n
 
  at 
System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter 
filter, ActionExecutingContext preContext, Func`1 continuation)\r\n   at 
System.Web.Mvc.ControllerActionInvoker.c__DisplayClass13.c__DisplayClass15.InvokeA
ctionMethodWithFiltersb__12()\r\n   at 
System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodWithFilters(ControllerContext
 
controllerContext, IList`1 filters, ActionDescriptor actionDescriptor, 
IDictionary`2 parameters)\r\n   at 
AINC.Acme.Apps.Web.Utilities.Mvc.Impl.ControllerActionResultInvoker.InvokeActionMethodWithFilters(ControllerContext
 
controllerContext, IList`1 filters, ActionDescriptor actionDescriptor, 
IDictionary`2 parameters) in 
c:\\code\\Apps\\Web\\Utilities\\Mvc\\Impl\\ControllerActionResultInvoker.cs:line
 
105\r\n   at 
System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext 
controllerContext, String actionName)



scott

-- 
You received this message because you are subscribed to the Google Groups 
Castle Project Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to castle-project-users+unsubscr...@googlegroups.com.
To post to this group, send email to castle-project-users@googlegroups.com.
Visit this group at http://groups.google.com/group/castle-project-users.
For more options, visit https://groups.google.com/groups/opt_out.