While setting up an installation of DNN for a client I ran into an issue of not being able to display the Image Gallery from within the FCK Editor on an HTML/Text Module. My first instinct with this was that I did not have read permissions on the "/Portals/0/" folder within the DNN architecture.
So following this assumption I logged into my hosting panel and made the appropriate permissions settings for the folder. I then went back to the HTML module and proceeded to see if the issue was solved. NO this didn't solve the issue at all. I then decided to check the event log under the admin menu to see if there was possibly an error being generated that I could get more information from.
Looking at the Event Viewer I found the several General Exceptions within the log. I checked one out and this was what I discovered within the log entry.
AssemblyVersion: -1
PortalID: -1
PortalName:
UserID: -1
UserName:
ActiveTabID: -1
ActiveTabName:
RawURL:
AbsoluteURL:
AbsoluteURLReferrer:
UserAgent:
DefaultDataProvider:
ExceptionGUID:
InnerException: Error loading FCK gallery folders: D:\Webs\brit12\portal\Providers\HtmlEditorProviders\Fck\s\0\
FileName:
FileLineNumber: -1
FileColumnNumber: -1
Method:
StackTrace:
Message: System.Exception: Error loading FCK gallery folders: D:\Webs\brit12\portal\Providers\HtmlEditorProviders\Fck\s\0\
Source:
Server Name: W3W14004
This entry showed that I was having difficulty with a folder that I was not expecting at all. I then proceeded to see about permissions on that folder that it showed me in the event log, but alas this folder doesn't exist. But the folder FCK did exist. I placed the necessary read/write permissions on that folder as an experiment to see if I could then view the gallery in the HTML module.
This solved my issue with the gallery module and allowed my client to merrily continue on developing their web site.