Thanks William,
I'm not sure how to run those on a live site.
The error seemed to have gone away at first, but it just happened again. It seems that it's fine if you're clicking quickly through the images... However, if you stop on a gallery view or on a single image view (in popup) for a minute or two... then the critical errors occur when you try to hit "next"
Here are some more errors:
A critical error has occurred.
The process cannot access the file 'E:\inetpub\vhosts\mysite.com\httpdocs\Portals\0\Gallery\MyGallery\_metadata.resources' because it is being used by another process
AssemblyVersion: 5.2.0
PortalID: 0
PortalName: My Site
UserID: 1
UserName: smorla
ActiveTabID: 228
ActiveTabName: Gallery Page
RawURL: /Test/GalleryPage.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://mysite.com/Admin/LogViewer.aspx
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 (.NET CLR 3.5.30729)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 2ad38edd-a3b6-4032-b656-503283b70764
InnerException: The control collection cannot be modified during DataBind, Init, Load, PreRender or Unload phases.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Web.UI.ControlCollection.RemoveAt
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: The control collection cannot be modified during DataBind, Init, Load, PreRender or Unload phases. ---> System.Web.HttpException: The control collection cannot be modified during DataBind, Init, Load, PreRender or Unload phases. at System.Web.UI.ControlCollection.RemoveAt(Int32 index) at System.Web.UI.ControlCollection.Clear() at DotNetNuke.UI.Modules.ModuleHost.CreateChildControls() at System.Web.UI.Control.EnsureChildControls() at System.Web.UI.Control.FindControl(String id, Int32 pathOffset) at System.Web.UI.Control.FindControl(String id) at DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(String FriendlyMessage, Control ctrl, Exception exc, Boolean DisplayErrorMessage) --- End of inner exception stack trace ---
Source:
ModuleId: 674
ModuleDefId: 154
FriendlyName: My Site Images
ModuleControlSource: DesktopModules/Gallery/Container.ascx
AssemblyVersion: 5.2.0
PortalID: 0
PortalName: My Site
UserID: 1
UserName: smorla
ActiveTabID: 228
ActiveTabName: Gallery Page
RawURL: /Test/GalleryPage.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://mysite.com/Admin/LogViewer.aspx
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 (.NET CLR 3.5.30729)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: ff0b2b53-edc8-4623-9848-a1d80280dd54
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.Modules.Gallery.Container.Page_Load
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Modules.Gallery.Container.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---
Source:
ModuleId: -1
ModuleDefId: -1
FriendlyName:
ModuleControlSource:
AssemblyVersion: 5.2.0
PortalID: 0
PortalName: My Site
UserID: 1
UserName: smorla
ActiveTabID: 228
ActiveTabName: Gallery Page
RawURL: /Test/GalleryPage.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://mysite.com/Admin/LogViewer.aspx
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 (.NET CLR 3.5.30729)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 461c76e1-430b-4393-a851-b6634487ac81
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.UI.Containers.Visibility.Page_Load
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.UI.Containers.Visibility.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---
Source:
ModuleId: -1
ModuleDefId: -1
FriendlyName:
ModuleControlSource:
AssemblyVersion: 5.2.0
PortalID: 0
PortalName: My Site
UserID: 1
UserName: smorla
ActiveTabID: 228
ActiveTabName: Gallery Page
RawURL: /Test/GalleryPage.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://mysite.com/Admin/LogViewer.aspx
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 (.NET CLR 3.5.30729)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: c9dcd3d2-52af-496a-bc61-0b7b011b0a58
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.UI.Containers.ActionBase.get_ActionRoot
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.UI.Containers.ActionBase.get_ActionRoot() at DotNetNuke.UI.Containers.ActionBase.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---
Source:
Server Name: WEB22
AssemblyVersion: 5.2.0
PortalID: 0
PortalName: My Site
UserID: 1
UserName: smorla
ActiveTabID: 228
ActiveTabName: Gallery Page
RawURL: /Test/GalleryPage.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://mysite.com/Admin/LogViewer.aspx
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 (.NET CLR 3.5.30729)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 27f3d598-d6f1-47cd-a133-eee30dcbc96d
InnerException: The process cannot access the file 'E:\inetpub\vhosts\mysite.com\httpdocs\Portals\0\Gallery\MyGallery\_metadata.resources' because it is being used by another process.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.IO.__Error.WinIOError
StackTrace:
Message: System.IO.IOException: The process cannot access the file 'E:\inetpub\vhosts\mysite.com\httpdocs\Portals\0\Gallery\MyGallery\_metadata.resources' because it is being used by another process. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize) at System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials) at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn) at System.Xml.XmlTextReaderImpl.OpenUrlDelegate(Object xmlResolver) at System.Threading.CompressedStack.runTryCode(Object userData) at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData) at System.Threading.CompressedStack.Run(CompressedStack compressedStack, ContextCallback callback, Object state) at System.Xml.XmlTextReaderImpl.OpenUrl() at System.Xml.XmlTextReaderImpl.Read() at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) at System.Xml.XmlDocument.Load(XmlReader reader) at System.Xml.XmlDocument.Load(String filename) at DotNetNuke.Modules.Gallery.GalleryXML.SaveMetaData(String Directory, String FileName, Int32 ID, String Title, String Description, String Categories, String Author, String Location, String Client, Int32 OwnerID, DateTime CreatedDate, DateTime ApprovedDate, Double Score) at DotNetNuke.Modules.Gallery.GalleryFolder.Populate(Boolean ReSync) at DotNetNuke.Modules.Gallery.Utils.PopulateAllFolders(GalleryFolder rootFolder, Int32 Depth, Boolean ReSync) at DotNetNuke.Modules.Gallery.Config..ctor(Int32 ModuleId, Boolean ReSync) at DotNetNuke.Modules.Gallery.Config.GetGalleryConfig(Int32 ModuleID) at DotNetNuke.Modules.Gallery.Container.Initialize() at DotNetNuke.Modules.Gallery.Container.Page_Init(Object sender, EventArgs e) at System.Web.UI.Control.OnInit(EventArgs e) at System.Web.UI.UserControl.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.AddedControl(Control control, Int32 index) at System.Web.UI.ControlCollection.Add(Control child) at DotNetNuke.UI.Modules.ModuleHost.InjectModuleContent(Control content) at DotNetNuke.UI.Modules.ModuleHost.CreateChildControls() at System.Web.UI.Control.EnsureChildControls() at DotNetNuke.UI.Modules.ModuleHost.get_ModuleControl() at DotNetNuke.UI.Containers.Container.get_ModuleControl() at DotNetNuke.UI.Containers.Container.ProcessModule() at DotNetNuke.UI.Skins.Pane.InjectModule(ModuleInfo objModule)
Source:
Server Name: WEB22
AssemblyVersion: 5.2.0
PortalID: 0
PortalName: My Site
UserID: 1
UserName: smorla
ActiveTabID: 228
ActiveTabName: Gallery Page
RawURL: /Test/GalleryPage.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://mysite.com/Admin/LogViewer.aspx
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 (.NET CLR 3.5.30729)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 921e9833-cea0-4891-903f-d9eda3a87910
InnerException: The process cannot access the file 'E:\inetpub\vhosts\mysite.com\httpdocs\Portals\0\Gallery\MyGallery\_metadata.resources' because it is being used by another process.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.IO.__Error.WinIOError
StackTrace:
Message: System.IO.IOException: The process cannot access the file 'E:\inetpub\vhosts\mysite.com\httpdocs\Portals\0\Gallery\MyGallery\_metadata.resources' because it is being used by another process. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize) at System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials) at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn) at System.Xml.XmlTextReaderImpl.OpenUrlDelegate(Object xmlResolver) at System.Threading.CompressedStack.runTryCode(Object userData) at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData) at System.Threading.CompressedStack.Run(CompressedStack compressedStack, ContextCallback callback, Object state) at System.Xml.XmlTextReaderImpl.OpenUrl() at System.Xml.XmlTextReaderImpl.Read() at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) at System.Xml.XmlDocument.Load(XmlReader reader) at System.Xml.XmlDocument.Load(String filename) at DotNetNuke.Modules.Gallery.GalleryXML.SaveMetaData(String Directory, String FileName, Int32 ID, String Title, String Description, String Categories, String Author, String Location, String Client, Int32 OwnerID, DateTime CreatedDate, DateTime ApprovedDate, Double Score) at DotNetNuke.Modules.Gallery.GalleryFolder.Populate(Boolean ReSync) at DotNetNuke.Modules.Gallery.Utils.PopulateAllFolders(GalleryFolder rootFolder, Int32 Depth, Boolean ReSync) at DotNetNuke.Modules.Gallery.Config..ctor(Int32 ModuleId, Boolean ReSync) at DotNetNuke.Modules.Gallery.Config.GetGalleryConfig(Int32 ModuleID) at DotNetNuke.Modules.Gallery.Container.Initialize()
Source: