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

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Problem with install location of "Portal"Problem with install location of "Portal"
Previous
 
Next
New Post
6/22/2007 4:14 PM
 

I have encountered an issue with the newer versions of DNN - would appreciate some feedback, as I'm not sure if this should be considered a bug or just a "gotcha".

The problem is related to two things:

  • The recent change to rename unused modules (in Install\Module\) from ".zip" to ".resources"
  • Installing DNN to a folder named "Portal" (ie. c:\Inetpub\wwwroot\Portal\) instead of "DotNetNuke"

Taken from the DNN 4.5.1 Library source, the code of interest is in ResourceInstaller.InstallPortal():

If strFile.ToLower.IndexOf("\portal\") <> -1 Then
    'Check if valid portals file
     If strFile.ToLower.IndexOf(".resources") <> -1 Then

When InstallResources happens, it is basically looking at the different install locations to determine what to do with the contents. Because of the way the "if" statements are structured, it will always execte the InstallPortal() method. This means that when it is processing the "Install\Module" folder, it will execute InstallPortal().

In my scenario, it hits the above code processing the contents of "Install\Module".

  • Since my site is installed to "Portal", the first check validates to true
  • Since the "Install\Modules" folder contains a bunch of .zip files that have been renamed to ".resources", it passes the second check and attempts to process them as XML files
  • This results in an exception thrown parsing the first .resources file it hits

You should be able to repeat this by simply installing DNN to a local folder named "Portal" instead of "DotNetNuke".

I have temporarily resolved it by renaming the all the Install\Module\ ".resources" files to a different file extension. The other solution would be not to install the site to "Portal", however in my scenario this is not something easily changed. Historically, this worked just fine... but the renaming of .zip to .resources is causing the issue.

I see a couple ways this could be resolved in DNN, wondering what you guys think.

 
New Post
6/23/2007 7:42 PM
 

please log this as bug into the public issue tracker at support.dotnetnuke.com.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Problem with install location of "Portal"Problem with install location of "Portal"


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