I have 2 c# usercontrols that are checkboxlists. They are working fine except when the save and publish button is clicked it crashes and gives this error.
Server Error in '/' Application.
The best overloaded method match for 'Umbraco.Core.Models.ContentBase.SetPropertyValue(string, string)' has some invalid arguments
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: Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: The best overloaded method match for 'Umbraco.Core.Models.ContentBase.SetPropertyValue(string, string)' has some invalid arguments
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[RuntimeBinderException: The best overloaded method match for 'Umbraco.Core.Models.ContentBase.SetPropertyValue(string, string)' has some invalid arguments]
CallSite.Target(Closure , CallSite , Object , String , Object ) +280
System.Dynamic.UpdateDelegates.UpdateAndExecuteVoid3(CallSite site, T0 arg0, T1 arg1, T2 arg2) +372
Umbraco.Core.Models.ContentBase.SetValue(String propertyTypeAlias, Object value) +387
umbraco.cms.businesslogic.web.Document.SaveAndPublishWithResult(User u) +310
umbraco.cms.presentation.editContent.Publish(Object sender, EventArgs e) +90
System.Web.UI.WebControls.ImageButton.OnClick(ImageClickEventArgs e) +134
System.Web.UI.WebControls.ImageButton.RaisePostBackEvent(String eventArgument) +204
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3804
we are using umbraco 6.2. Any help would be approciated.
custom datatype crashes on publish
I have 2 c# usercontrols that are checkboxlists. They are working fine except when the save and publish button is clicked it crashes and gives this error.
Server Error in '/' Application.
The best overloaded method match for 'Umbraco.Core.Models.ContentBase.SetPropertyValue(string, string)' has some invalid arguments
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: Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: The best overloaded method match for 'Umbraco.Core.Models.ContentBase.SetPropertyValue(string, string)' has some invalid arguments
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
Hi SWalker
Do you mind sharing the code? It will make it easier for people to try and help you out :)
Cheers, Jan
is working on a reply...