Hi
This was working, have gone back to it to make a few small changes and now getting the following error whenever I click the form ....
Server Error in '/' Application. Collection was modified; enumeration operation may not execute. 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: System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
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:
[InvalidOperationException: Collection was modified; enumeration operation may not execute.] System.Web.UI.ControlCollectionEnumerator.MoveNext() +2059842 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +139 System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +24 System.Web.UI.Page.Render(HtmlTextWriter writer) +26 System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +25 System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +121 System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +22 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1896
Have spent a day looking at it and cannot resolve it. Can you point me in the right direction please .... it is on a new server.
Also, is it possible to save the Thumbnails into a different directory to the images?
Thanks, John |
|
|