What steps will reproduce the problem?
1. ASP.Net 4.0 Web Application using autofac
2. Failure occurs before application_start
3.
What is the expected output? What do you see instead?
Before Global.asax::Application_start starts the the website throws this
exception:Object of type 'System.String[]' cannot be converted to type
'System.String[,]'.
What version of Autofac are you using? On what version of .NET/Silverlight?
AutoFac version 2.6.3.862 Version
This used to work. I'm trying to find what has changed.
Please provide any additional information below.
Stack Trace:
[ArgumentException: Object of type 'System.String[]' cannot be converted to
type 'System.String[,]'.]
System.RuntimeType.TryChangeType(Object value, Binder binder, CultureInfo culture, Boolean needsSpecialCast) +6427304
System.RuntimeType.CheckValue(Object value, Binder binder, CultureInfo culture, BindingFlags invokeAttr) +12716505
System.Reflection.MethodBase.CheckArguments(Object[] parameters, Binder binder, BindingFlags invokeAttr, CultureInfo culture, Signature sig) +129
System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) +522
System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +38
System.Reflection.RuntimePropertyInfo.SetValue(Object obj, Object value, Object[] index) +44
Autofac.Core.Activators.Reflection.AutowiringPropertyInjector.InjectProperties(IComponentContext context, Object instance, Boolean overrideSetValues) +649
Autofac.ResolutionExtensions.InjectProperties(IComponentContext context, TService instance) +41
Autofac.Integration.Web.Forms.PageInjectionBehaviour.InjectUserControls(Func`2 injector, Control parent) +182
Autofac.Integration.Web.Forms.PageInjectionBehaviour.InjectUserControls(Func`2 injector, Control parent) +193
Autofac.Integration.Web.Forms.PageInjectionBehaviour.InjectUserControls(Func`2 injector, Control parent) +193
Autofac.Integration.Web.Forms.PageInjectionBehaviour.InjectUserControls(Func`2 injector, Control parent) +193
System.EventHandler.Invoke(Object sender, EventArgs e) +0
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2548
Original issue reported on code.google.com by bcbea...@gmail.com on 7 Feb 2013 at 10:56
Original issue reported on code.google.com by
bcbea...@gmail.com
on 7 Feb 2013 at 10:56