I am using the new 4.1.00 Gallery and it has been working just fine for the last few months and out of the blue I have one gallery that is giving me me errors. I went to the site and sent your suggestion to the Hosting help desk and got the following response. Can you help ?
Best Regards,
David Starr
Hi,
As far as we know "Globalization" would refer to the locale setting. Which
should be adjustable within the "Languages" section of the Host menu within your
DNN site.
IHOST, LLC
Customer Support
http://support.ihostasp.net
Local/International: 1.440.377.9913
Toll-free: 1.800.593.0238
-------- Original Message --------
> From: starrdd49@bellsouth.net
> Sent: Mon, 05 Nov 2007 12:58:23 -0500
> To: support@ihostasp.net
> Subject: Gallery Error
>
> I have several Galleries but I am recieving the following errors on one. I
went to the DNN site and included their suggestion in this Ticket (see below )
but they are suggesting a problem with the date format and that the only way to
solve this one is to use the default globalization settings. Where is this done
?
>
>
> 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 ---
>
> DotNetNuke.Services.Exceptions.ModuleLoadException: Unhandled Error Adding
Module to ContentPane ---> System.IO.IOException: The process cannot access the
file
'D:\WebRoot\Domains\crosskeys1967.com\wwwroot\Portals\0\Gallery\507\_metadata.re
sources' 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) at System.Xml.XmlDocument.Save(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 ApprovedDate,
DateTime CreatedDate, Double Score) at
DotNetNuke.Modules.Gallery.GalleryFolder.Populate() at
DotNetNuke.Modules.Gallery.Utils.PopulateAllFolders(GalleryFolder rootFolder) at
DotNetNuke.Modules.Gallery.Config..ctor(Int32 ModuleID) 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.InitRecursive(Control namingContainer) at
System.Web.UI.Control.InitRecursive(Control namingContainer) 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.Skins.Skin.InjectModule(Control objPane, ModuleInfo objModule,
PortalSettings PortalSettings) --- End of inner exception stack trace ---
>
> Q. Why do I receive the error Object reference not set to an instance of an
object?
> There can be a number of reasons for this one, but one of the top issues comes
from using a different globalization setting. Since Gallery uses XML files for
its metadata, whenever the site uses alocale that formats dates differently from
mm/dd/yyyy, dates that cannot be read in that locale will cause Gallery to throw
an error. The only way to solve this one is to use the default globalization
settings.