Hi Everyone,
I am trying to add files to the Gallery but I keep getting the error below.
A critical error has occurred.
Value was either too large or too small for an Int16.
This happens when I try to do anything in the gallery i.e. Add file, Add album, maintenance or Edit this Album. I am running on DNN 5.5.1 and I installed Gallery 4.4.2 beta. I have the gallery 4.4.2 working on another instance. Any help will be appreciated. The full error and stack trace from the Event Viewer is below.
AssemblyVersion: 5.5.1
PortalID: 0
PortalName: GNR Demo 1
UserID: 1
UserName: gnrhost
ActiveTabID: 18090
ActiveTabName: test
RawURL: /test/tabid/18090/ctl/AlbumEdit/mid/38479/action/addfolder/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://www.gnrdemo1.com/Default.aspx?tabid=18090&error=Value+was+either+too+large+or+too+small+for+an+Int16.
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.41 Safari/534.7
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: a7c22f25-f1da-4bf2-a812-15b2478d1da7
InnerException: Value was either too large or too small for an Int16.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Int16.Parse
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Value was either too large or too small for an Int16. ---> System.OverflowException: Value was either too large or too small for an Int16. at System.Int16.Parse(String s, NumberStyles style, NumberFormatInfo info) at DotNetNuke.Modules.Gallery.WebControls.LookupControl.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.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
Source:
Kind regards,
Richard