After adding an album to the gallery, a load of errors began cropping up. Deleting the album didn't resolve anything. Days of researching the various errors was fruitless, too, so The entire gallery was deleted from the page.
Now the following error occurs nearly every day, twice in a row (within minutes) and then pages start timing out (not only the original page, but others too). The error is below:
System.InvalidCastException: Specified cast is not valid.
You may receive this error message after you install the Microsoft .NET Framework 1.1 Service Pack 1 (SP1).
Back to the top
CAUSE
This problem occurs because a change in the .NET Framework 1.1 SP1 causes an error in the execution of certain rules.
Note The .NET Framework 1.1 SP1 is available from Microsoft Windows Update, is included on the Microsoft Windows XP Service Pack 2 (SP2) distribution CD as a separate installation, and is installed with Windows Server 2003 Service Pack 1 (SP1).
*************ERROR BELOW******************
AssemblyVersion: 03.01.01
Method: DotNetNuke.Modules.Gallery.GalleryViewerRequest.get_CurrentItem
FileName:
FileLineNumber: 0
FileColumnNumber: 0
PortalID: 2
PortalName: Aly's Messy Room
UserID: -1
UserName:
ActiveTabID: 264
ActiveTabName: GLIDE SOFTBALL
AbsoluteURL: /d3/DesktopModules/Gallery/Viewer.aspx
AbsoluteURLReferrer:
ExceptionGUID: 870e213d-c737-4f0e-9c00-58e11672a4da
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
InnerException: Unhandled Error:
Message: System.Exception: Unhandled Error: ---> System.Web.HttpUnhandledException: Exception of type System.Web.HttpUnhandledException was thrown. ---> System.InvalidCastException: Specified cast is not valid. at DotNetNuke.Modules.Gallery.GalleryViewerRequest.get_CurrentItem() at DotNetNuke.Modules.Gallery.WebControls.Viewer.Page_Load(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain() --- End of inner exception stack trace --- at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain() at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext context) at System.Web.CallHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) --- End of inner exception stack trace ---
StackTrace:
Source:
Server Name: MyHost
Could someone please point me in the direction to fix this? Thanks.