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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...fixed: "DNN Error" on Extensions tab after enabling DNN_iFrame and DNN_Media modulesfixed: "DNN Error" on Extensions tab after enabling DNN_iFrame and DNN_Media modules
Previous
 
Next
New Post
2/7/2014 4:48 PM
 

Hi all,

Hope this may save someone some time and perhaps some hair that they might otherwise have forcibly removed 8-).

Was experimenting with a new 7.2.1 installation yesterday, logged on as host,  and came across the list of Available Modules under Admin | Site Settings | Advanced Settings | Host Settings | Available Modules.

Noticed that there were two modules unchecked that might be useful, DNN_iFrame and DNN_Media.  So I checked the boxes next to those modules, then clicked the Update button.  Then went on to other tasks.

Eventually I clicked on the Host | Extensions item and got a page with the message "DNN Error" and a button labeled "Return to site."  Could not get the Extensions tab to load.

The log showed that the error was 

DotNetNuke.Services.Exceptions.PageLoadException: Cannot use a leading .. to exit above the top directory.

Research suggested that this error arose from a leading ../ in a relative path somewhere.  Searched the entire database looking for the string '../' and found it in 2 locations, each in the IconFile column of the dbo_Packages table.  Sure enough, one was supposed to be the path for the DNN_iFrame icon file, and one the DNN_Media icon file.

Ran the following script in SSMS to fix the DNN_Media icon file path:

UPDATE 
evoqdb.dbo.dbo_Packages
SET
IconFile = '~/images/icon-media-32px.png'
WHERE
Name = 'DNN_Media'

and this one to fix the iFrame icon file path:

UPDATE 
evoqdb.dbo.dbo_Packages
SET
IconFile = '~/images/icon-iframe-32px.png'
WHERE
Name = 'DNN_iFrame'

After the update the Extensions tab loaded once again.

Hope this helps someone, and all the best
--Mike

 
New Post
9/8/2014 7:34 PM
 
Thanks, that was helpful.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...fixed: "DNN Error" on Extensions tab after enabling DNN_iFrame and DNN_Media modulesfixed: "DNN Error" on Extensions tab after enabling DNN_iFrame and DNN_Media modules


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.

Content Layout

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  


Copyright 2017 by DNN Corp Terms of Use Privacy
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out