I have another problem with the new forms. I created a contact-form with a e-Mail notification and it works fine. Still I get the following error message displayed:
Just remembered that I had a datepicker issue also with 4.1.4 and this is the fix that support sent me. I figured they'd include it in 4.1.5 but I guess not. This is \Views\Partials\Forms\Fieldtypes\FieldType.DatePicker.cshtml. Notice the try catch around casting. This solved my problem with 4.1.5.
Form loads correctly, but error message appears
Hey
I have another problem with the new forms. I created a contact-form with a e-Mail notification and it works fine. Still I get the following error message displayed:
Error loading Partial View script (file: ~/Views/MacroPartials/InsertUmbracoForm.cshtml)
Anyone got a solution for that?
Also the entry in my log:
2015-01-12 13:27:44,794 [29] WARN umbraco.macro - [Thread 35] Error loading Partial View (file: ~/Views/MacroPartials/InsertUmbracoForm.cshtml). Exception: System.FormatException: Unrecognized Guid format.
at System.Guid.GuidResult.SetFailure(ParseFailureKind failure, String failureMessageID, Object failureMessageFormatArgument, String failureArgumentName, Exception innerException)
at System.Guid.TryParseGuid(String g, GuidStyles flags, GuidResult& result)
at System.Guid..ctor(String g)
at ASP._Page_Views_MacroPartials_InsertUmbracoForm_cshtml.Execute() in c:\~~~\Views\MacroPartials\InsertUmbracoForm.cshtml:line 8
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()
at System.Web.Mvc.WebViewPage.ExecutePageHierarchy()
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)
at Umbraco.Core.Profiling.ProfilingView.Render(ViewContext viewContext, TextWriter writer)
at Umbraco.Web.Mvc.ControllerExtensions.RenderViewResultAsString(ControllerBase controller, ViewResultBase viewResult)
at Umbraco.Web.Macros.PartialViewMacroEngine.Execute(MacroModel macro, IPublishedContent content)
at umbraco.macro.LoadPartialViewMacro(MacroModel macro)
at umbraco.macro.renderMacro(Hashtable pageElements, Int32 pageId)
I have the same issue. Did you get it resolved?
Hi guys
Which versions of Umbraco and Forms are you running?
/Jan
Hi,
I am also getting the same issue. Anyone managed to solve it?
I am running Umbraco 7.2.1
Regards, Ahsinah
I have the same error message, but a different log entry.
Im running Umbraco version 7.2.4 assembly: 1.0.5557.19139
The form shows up, but when I hit submit I get "Error loading Partial View script (file: ~/Views/MacroPartials/InsertUmbracoForm.cshtml)"
And the log entry shows:
2015-05-13 10:08:37,822 [15] WARN umbraco.macro - [Thread 62] Error loading Partial View (file: ~/Views/MacroPartials/InsertUmbracoForm.cshtml). Exception: System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.Collections.Generic.Dictionary`2.Enumerator.MoveNext()
at System.Web.Mvc.ModelStateDictionary.Merge(ModelStateDictionary dictionary)
at Umbraco.Web.Mvc.ControllerExtensions.EnsureViewObjectDataOnResult(ControllerBase controller, ViewResultBase result)
at Umbraco.Web.Mvc.ControllerExtensions.RenderViewResultAsString(ControllerBase controller, ViewResultBase viewResult)
at Umbraco.Web.Macros.PartialViewMacroEngine.Execute(MacroModel macro, IPublishedContent content)
at umbraco.macro.LoadPartialViewMacro(MacroModel macro)
at umbraco.macro.renderMacro(Hashtable pageElements, Int32 pageId)
Hi,
Removing the captcha in my case (temporarily) solved the issue.
Hope this helps.
Ahsinah
can you please let me know in detail about this
Hi,
Same issue, but I dont have any captcha in the form :(
Any other suggestion?
Thanks
Resolved!
I had to add:
in web.config
Thanks
Just had this issue with a recent 7.2.8 install and fortunately found this quickly and it saved me tons of time.
Many thanks
t
I'm using umbraco 7.2.8 and Umbraco forms 4.1.4
I have added a comment to this issue:
http://issues.umbraco.org/issue/CON-814#comment=67-23065
Does anybody have an idea of what I can try?
Thanks Jakob
Has anyone found a solution to this problem yet?, I'm using Umbraco 7.3.0 and Form 4.1.4?
Nathan
the same here
I have the same problem. Not even Alex´s solution worked for me. Anyone found a solution / explanation for this?
Same problem here. It only happens when I fill in the date picker. Adding System.Net.Http.Formatting didn't help.
Just remembered that I had a datepicker issue also with 4.1.4 and this is the fix that support sent me. I figured they'd include it in 4.1.5 but I guess not. This is \Views\Partials\Forms\Fieldtypes\FieldType.DatePicker.cshtml. Notice the try catch around casting. This solved my problem with 4.1.5.
Hi
Adding the following did it for me
Tried doing examine index didnt work. please suggest on this
is working on a reply...