Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsGalleryGallerySudden Gallery Error, Need Assistance...Sudden Gallery Error, Need Assistance...
Previous
 
Next
New Post
6/28/2006 1:07 AM
 

Hi, I have been using DNN and its gallery module for sometime now. Everything worked fine. One day the gallery and forum decided to stop working for I dunno what reason. My site is hosted by a hosting company and DNN was a pre-install option. I have searched the forum for a day and a half now and I cannot find a solution or atleast not one that I can understand. Can someone please point me in the right direction in noob language please? Please note that this site has been working for a long time and has just stopped working. If possible I would not like to lose any data.

Thanks all in advance.

Here are some information I have gathered from my site,
DNN Version = 3.1.1
.NET Framework = 1.1.4322.2300
Gallery Version = 03.01.11

I am receiving the following error,

A critical error has occurred.
Object reference not set to an instance of an object.


I have seen others post logs, but my Log Viewer is not functioning either...
Error: Log Viewer is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: Server user 'dnusr_f0a15a9599' is not a valid user in database 'tempdb'. ---> System.Data.SqlClient.SqlException: Server user 'dnusr_f0a15a9599' is not a valid user in database 'tempdb'. at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(SqlConnection connection, SqlTransaction transaction, CommandType commandType, String commandText, SqlParameter[] commandParameters, SqlConnectionOwnership connectionOwnership) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, String spName, Object[] parameterValues) at DotNetNuke.Services.Log.EventLog.DBLoggingProvider.Data.SqlDataProvider.GetLog(Int32 PageSize, Int32 PageIndex) at DotNetNuke.Services.Log.EventLog.DBLoggingProvider.DBLoggingProvider.GetLog(Int32 PageSize, Int32 PageIndex, Int32& TotalRecords) at DotNetNuke.Services.Log.EventLog.LogController.GetLog(Int32 PageSize, Int32 PageIndex, Int32& TotalRecords) at DotNetNuke.Modules.Admin.Log.LogViewer.BindData() at DotNetNuke.Modules.Admin.Log.LogViewer.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---

 
New Post
6/28/2006 2:44 PM
 

It doesn't look like it's a Gallery error.  Especially since you are also having problems with your log viewer.

There does look to be some sort of SQL Server problem though.  I would check with your provider and see what they have recently changed on their side.

 

Good Luck,


Paul Davis
 
New Post
6/30/2006 10:36 AM
 
Hi, my log viewer seems to be working again. I am getting this error in the log. Please help

Date Log Type Username Portal Summary
  7/1/2006 12:27:12 AM   Page Load Exception       AssemblyVersion: 03.01.01; Method: DotNetNuke.Modules.Ga ...
AssemblyVersion: 03.01.01
Method: DotNetNuke.Modules.Gallery.WebControls.Pager.Page_Load
FileName:
FileLineNumber: 0
FileColumnNumber: 0
PortalID: 0
PortalName: ConceptFury.com
UserID: -1
UserName:
ActiveTabID: 62
ActiveTabName: Member Gallery
AbsoluteURL: /portal/Default.aspx
AbsoluteURLReferrer:
ExceptionGUID: 5702fea7-d422-4e9e-b6ed-9f9814dace75
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
InnerException: Object reference not set to an instance of an object.
Message: 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.Page.ProcessRequestMain() --- End of inner exception stack trace ---
StackTrace:
Source:
Server Name: GALAXY
  7/1/2006 12:27:12 AM   Module Load Exception       ModuleId: 394; ModuleDefId: 122; FriendlyName ...
ModuleId: 394
ModuleDefId: 122
FriendlyName: Member Gallery 會員影廊
ModuleControlSource: DesktopModules/Gallery/Container.ascx
AssemblyVersion: 03.01.01
Method: DotNetNuke.Modules.Gallery.Container.Page_Load
FileName:
FileLineNumber: 0
FileColumnNumber: 0
PortalID: 0
PortalName: ConceptFury.com
UserID: -1
UserName:
ActiveTabID: 62
ActiveTabName: Member Gallery
AbsoluteURL: /portal/Default.aspx
AbsoluteURLReferrer:
ExceptionGUID: 747865bb-c4f4-4562-870e-b19676a6dc1a
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
InnerException: Object reference not set to an instance of an object.
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 ---
StackTrace:
Source:
Server Name: GALAXY
  7/1/2006 12:27:11 AM   Module Load Exception       ModuleId: -1; ModuleDefId: -1; FriendlyName: ...
ModuleId: -1
ModuleDefId: -1
FriendlyName:
ModuleControlSource:
AssemblyVersion: 03.01.01
Method: System.IO.__Error.WinIOError
FileName:
FileLineNumber: 0
FileColumnNumber: 0
PortalID: 0
PortalName: ConceptFury.com
UserID: -1
UserName:
ActiveTabID: 62
ActiveTabName: Member Gallery
AbsoluteURL: /portal/Default.aspx
AbsoluteURLReferrer:
ExceptionGUID: 29423b4e-a2df-4e07-82e9-2d1ac2ba3c06
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
InnerException: Unhandled Error Adding Module to ContentPane
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Unhandled Error Adding Module to ContentPane ---> System.UnauthorizedAccessException: Access to the path "C:\inetpub\vhosts\conceptfury.com\httpdocs\portal\Portals\0\Gallery\394\By Jackson Yu\Coke Can Test Results\_metadata.resources" is denied. at System.IO.__Error.WinIOError(Int32 errorCode, String str) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean useAsync, 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.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 ---
StackTrace:
Source:
Server Name: GALAXY
 
New Post
7/1/2006 8:37 AM
 

I do get the same error but on a test site running dnn 04.03.01. On my local test site exactly the same module works fine. Any help would be greatly appreciated.

ModuleId: 393
ModuleDefId: 130
FriendlyName: Gallery
ModuleControlSource: DesktopModules/Gallery/Container.ascx
AssemblyVersion: 04.03.01
Method: DotNetNuke.Modules.Gallery.Container.Page_Load
FileName:
FileLineNumber: 0
FileColumnNumber: 0
PortalID: 0
PortalName: My Website
UserID: 1
UserName: host
ActiveTabID: 36
ActiveTabName: Home
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://www.newbulgarianvillas.com/Home/tabid/36/Default.aspx
ExceptionGUID: 38f9b67e-c91e-4079-89ff-3d346d550d1a
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
InnerException: Object reference not set to an instance of an object.
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 ---
StackTrace:
Source:
Server Name: INETC689

// Moderator edit for formatting

 
New Post
7/6/2006 6:02 PM
 

Hi exodus_xt,

Sorry I didn't get back to you.  I stopped getting e-mail from the DNN site for some reason.

Anyway,  the last error is your problem now.  It's causing the other two errors.  It looks like the permissions on your directories has changed or the file _metadata.resources has gone missing for some reason. 

I still think that your hosting provider has changed something on you.  Have them check the permissions and make sure that file is there.  Here is what is causing the problem;

Access to the path "C:\inetpub\vhosts\conceptfury.com\httpdocs\portal\Portals\0\Gallery\394\By Jackson Yu\Coke Can Test Results\_metadata.resources" is denied

Good luck.


Paul Davis
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsGalleryGallerySudden Gallery Error, Need Assistance...Sudden Gallery Error, Need Assistance...


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out