AddGallery.aspx throws a Silverlight Error when Web application security validation is turned off
-
Monday, May 10, 2010 7:16 PM
When trying to create a new list or library after Web Page Security Validation is changed from On-Off in web application general settings a silverlight error is thrown when clicking the create button: Error: and unhandeled exception occured in Silverlight application.
Turning web page security on again fixes the issue. is this expected behaviour?
In Silverlight spy I captued the following stack trace:
03:11:46 [Interop] System.InvalidOperationException: Failed to Invoke: WebForm_OnSubmit.
at System.Windows.Browser.ScriptObject.Invoke(String name, Object[] args)
at Microsoft.SharePoint.Solutions.AddGallery.SharePoint.PropertiesFromJS.get_FormDigest()
at Microsoft.SharePoint.Solutions.AddGallery.UI.CreationOptions.StartCreateRequest()
at Microsoft.SharePoint.Solutions.AddGallery.UI.CreationOptions.CreateItem()
at Microsoft.SharePoint.Solutions.AddGallery.UI.DetailsPane.ClickAddButton()
at Microsoft.SharePoint.Solutions.AddGallery.UI.DetailsPane.AddButton_Click(Object sender, RoutedEventArgs e)
at System.Windows.Controls.Primitives.ButtonBase.OnClick()
at System.Windows.Controls.Button.OnClick()
at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
at System.Windows.Controls.Control.OnMouseLeftButtonUp(Control ctrl, EventArgs e)
at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, String eventName)
Ted Ogrean
All Replies
-
Monday, May 17, 2010 3:17 PM
Oh I was looking for a solution to this!
THANK YOU VERY MUCH!
I doubt this is expected behavior as "unhandeled exceptions" rarely are.
- Marked As Answer by TedOooooooo Monday, March 14, 2011 1:49 AM

