Ticket

An optional parameter must be a reference type, a nullable type, or be declared as an optional parameter.

I am new to Content Management Systems and Orchard as well. I get the below error:

"The parameters dictionary contains a null entry for parameter 'x' of non-nullable type 'System.Boolean' for method 'System.Web.Mvc.ActionResult Index(System.String, System.String, Boolean)' in 'yController'. An optional parameter must be a reference type, a nullable type, or be declared as an optional parameter. Parameter name: parameters System.ArgumentException: The parameters dictionary contains a null entry for parameter 'x' of non-nullable type 'System.Boolean' for method 'System.Web.Mvc.ActionResult Index(System.String, System.String, Boolean)' in 'yController'."

Please how can I resolve this.

Re: An optional parameter must be a reference type, a nullable type, or be declared as an optional parameter.

You get that error when you do what?

Thursday, October 15, 2015 11:35:28 PM bybleroy
  • bleroy
  • Lv. 08 Rookie
  • Total EXP: 527

Post a reply

You need to be signed in to post a reply.

Sign In