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 ForumsGalleryGalleryProblem Adding FilesProblem Adding Files
Previous
 
Next
New Post
6/1/2007 1:05 AM
 

James Jegers wrote

hmmm.. interesting.  I spent some time yesterday looking at the upload code and didn't really see anything that looked wrong.  I did add one or two extra logging things, but nothing major. 

But the whole date thing bugged me once again, so I changed it all to write the date to the XML file in standard XML file format (ISO 8601 format).  I double checked the code to make sure that everything was reading/writting in that format.

When auto approval is off, it sets the approval date to "maxdate" which is Dec 31, 9999.  I tested with both auto approve on and off and it seems to work.

I'm going to be putting together another version (4.2.0) shortly if you want to download that and give it a try.

Hi James,

the gallery is at www.aerobatics.asn.au if you want to look, I can give you admin rights if required.

Cheers

Peter

 
New Post
6/3/2007 1:54 AM
 

James Jegers wrote

hmmm.. interesting.  I spent some time yesterday looking at the upload code and didn't really see anything that looked wrong.  I did add one or two extra logging things, but nothing major. 

But the whole date thing bugged me once again, so I changed it all to write the date to the XML file in standard XML file format (ISO 8601 format).  I double checked the code to make sure that everything was reading/writting in that format.

When auto approval is off, it sets the approval date to "maxdate" which is Dec 31, 9999.  I tested with both auto approve on and off and it seems to work.

I'm going to be putting together another version (4.2.0) shortly if you want to download that and give it a try.

Hi James,

It's an interesting problem. I downloaded and installed the latest version (4.2.0) from your website, but with no joy.

The web site still has a problem where the file upload doeas'nt work, except for the "host" account.

Also the problem where the Gallery appears to crash and pictures don't display is still there.

i did notice that after installing the Gallery Module update (4.2.0) that the approved dates were all changed to the module upgrade date (??)

I did notice that the following exception was thrown a couple of times when a user logged in and used the Gallery module.

Let me know if i can help with testing.

Cheers

Peter

AssemblyVersion: 04.05.03
PortalID: 11
PortalName: Australian Aerobatics Club - Victorian Chapter
UserID: -1
UserName:
ActiveTabID: 474
ActiveTabName: Gallery
RawURL: /DesktopModules/Gallery/Viewer.aspx?tabid=474&mid=1071&path=Pascal&currentitem=3&mode=&zoomindex=0&rotate=3&flipx=0&flipy=6&color=192
AbsoluteURL: /DesktopModules/Gallery/Viewer.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: ade4ee02-19ff-4a3b-9b49-1867c31e86e6
InnerException: Unhandled Error:
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.Modules.Gallery.BaseRequest..ctor
StackTrace:
Message: System.Exception: Unhandled Error: ---> System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Modules.Gallery.BaseRequest..ctor(Int32 ModuleId, GallerySort SortType, Boolean SortDescending, String GalleryPath) at DotNetNuke.Modules.Gallery.GalleryViewerRequest..ctor(Int32 ModuleID, GallerySort SortType, Boolean SortDescending) 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(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace --- at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) at System.Web.UI.Page.ProcessRequest(HttpContext context) at ASP.desktopmodules_gallery_viewer_aspx.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) --- End of inner exception stack trace ---
Source:
Server Name: SVDEV

 
New Post
6/3/2007 2:23 AM
 

Hi,

let me amend my earlier comments.

I had the same file upload problems using the "host" account.

Looking at the event log, I suspect the earlier exception from the Gallery module screwed the stack and part of the module would'nt load.

After rebooting the server, the Gallery module is working fine (for now). I'll investigate further.

Cheers, Peter

 
New Post
6/3/2007 3:23 AM
 

Hi,

doing some more testing, i am confident that an exception is being thrown in the Gallery Module that is screwing things up. Actually, there appears to be a regaluar pair of exceptions that does this.

Also, I notice that DNN appears to kick me out of the web site and my login details are lost until i login again.

The exception details are below:

First Exception:

AssemblyVersion: -1
PortalID: -1
PortalName:
UserID: -1
UserName:
ActiveTabID: -1
ActiveTabName:
RawURL:
AbsoluteURL:
AbsoluteURLReferrer:
UserAgent:
DefaultDataProvider:
ExceptionGUID:
InnerException: Could not load file or assembly 'DotNetNuke.Modules.Gallery' or one of its dependencies. The system cannot find the file specified.
FileName:
FileLineNumber: -1
FileColumnNumber: -1
Method:
StackTrace:
Message: System.IO.FileNotFoundException: Could not load file or assembly 'DotNetNuke.Modules.Gallery' or one of its dependencies. The system cannot find the file specified. File name: 'DotNetNuke.Modules.Gallery' at System.RuntimeTypeHandle._GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, Boolean loadTypeFromPartialName) at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark) at System.RuntimeType.PrivateGetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark) at System.Type.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase) at System.Web.Compilation.BuildManager.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase) at DotNetNuke.Framework.Reflection.CreateType(String TypeName, String CacheKey, Boolean UseCache, Boolean IgnoreErrors) WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
Source:
Server Name: SVDEV

Second exception;

AssemblyVersion: -1
PortalID: -1
PortalName:
UserID: -1
UserName:
ActiveTabID: -1
ActiveTabName:
RawURL:
AbsoluteURL:
AbsoluteURLReferrer:
UserAgent:
DefaultDataProvider:
ExceptionGUID:
InnerException: Value cannot be null. Parameter name: type
FileName:
FileLineNumber: -1
FileColumnNumber: -1
Method:
StackTrace:
Message: System.ArgumentNullException: Value cannot be null. Parameter name: type at System.Activator.CreateInstance(Type type, Boolean nonPublic) at DotNetNuke.Framework.Reflection.CreateObject(String TypeName, String CacheKey) at DotNetNuke.Services.Search.ModuleIndexer.GetModuleList(Int32 PortalID)
Source:
Server Name: SVDEV

 

 
New Post
6/4/2007 4:18 AM
 

Hi James,

thanks for your assistance. I've added Admin rights to your account on www.aerobatics.asn.au

Cheers Peter

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsGalleryGalleryProblem Adding FilesProblem Adding Files


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