I've installed the Gallery module and have setup several pages and albums but am having some trouble. I setup 3 pages using the gallery module, the first 2 only have 5 - 12 photos each and they seem to work fine, the third page has 5 albums in it and some of the galleries have 270+ photos, that's the one I'm having trouble with.
Some times it loads slow but does load, about 80% of the time I get:
A critical error has occurred.
Object reference not set to an instance of an object.
One time I received a page with the following but the rest of the DNN site didn't come up:
An error has occurred.
DotNetNuke.Services.Exceptions.PageLoadException: 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.WebControls.Pager.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 ---
I populated all the galleries by uploading all the files to their respective _source folders, then ran the Maintenance, checked them all and synchronized them. Which brings up 2 more problems, the first is that every time I've tried the Check All box I have to do it twice before it actually check marks each photo, the second is that twice I've received the following error while trying to go into the maintenance:
A critical error has occurred.
The process cannot access the file 'D:\WWW\mainefreeze.com\wwwroot\dnn\Portals\0\Gallery\379\Crush 05-27-06\_metadata.resources' because it is being used by another process.
This is the reason why I added seperate pages for the other 2 galleries instead of just adding more albums, if I add the photos in more albums then none of the galleries will come up, this way at least the first 2 sets of photos display.
Any ideas on what I can do to fix these errors?