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 ...Help for Newbie Setting up Development EnvironmentHelp for Newbie Setting up Development Environment
Previous
 
Next
New Post
5/14/2012 10:18 PM
 

I am a COMPLETE newbie to DNN and have inherited a bit of a mess. I was asked to provide support for a website that was built with DNN hosted by PowerDNN. There are a lot of changes that need to be made to the site as well as problems that need to be resolved. Of course at this point the situation is dire as the website has been basically ignored for a year.

The person who developed this site used Visual Basic and code-behind files. I finally got my hands on the uncompiled code so I can make the necessary programming changes. I upgraded my SQL Server to the same version as PowerDNN, installed SQL Server Manager, did a backup of the DB and copied it to my PC and restored it successfully. Now I'm looking at the code and trying to learn DNN and realize that I also need to install DNN on my local PC to set up my development environment correctly. :-(

So, now my problem is that DNN on the server is version 05.02.03. PowerDNN said that they can upgrade it but I need to check that all of the plug-ins are compatible with the new version. The first plug-in I am starting with is Minimal Extropy for the skin. It looks like there are some compatibility issues with version 6, but I don't see any upgrade for it. That's just the first plug-in and I'm not sure how many more I'm going to have to look at. Where can I go to for help with this? Any advice?

Then, after it is upgraded I am going to need help setting up DNN for my development environment . . . I'm really frustrated with this product and the mess that I have inherited right now! 

 
New Post
5/15/2012 2:06 AM
 

hello,

its hard to say exactly what you need but based on your description is sounds like the developer used the website project (WSP) mode of development (i.e. the module will have files in both app_code and their custom module folder in desktopmodules) - you can read how to use this at http://www.dotnetnuke.com/Resources/W... , but in general that approach is not ideal (it's fine for prototyping but not something id use on a production site)

In general most people use WAP style development - http://www.dotnetnuke.com/Resources/W... offers tips on how to do this, it's targetted to new development rather than maintaining existing development but it should help you get some background.

As for minimal extropy it was a skin that was the default core skin in 5.0, and was replaced with DarkKnight in 6.0 - there is no seperate download for it, but as you upgrade dotnetnuke versions if there is a known breaking change/problem that skin is upgraded also (as it was shipped as part of the core product at one time).

As to how to approach this, I'd recommend you consider taking a copy and upgrading to either the last 5.x release (5.6.7) at this time or else something on the 6.x branch (6.1.5 would be my recommendation) to check your extensions.

Regarding extensions such as modules/skins - we work hard to maintain binary compatibility so all extensions should work as you upgrade - if they do not this is typically because they are not written correctly e.g. they do direct database access, rather than use the API.


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
5/15/2012 11:22 AM
 

Thank you for your advice. I am very frustrated with this software at this point. The system/website doesn't seem to be set up well and there are a lot of things that need to be fixed. I have been unable to take care of these because of the way it is programmed with the code behind files. I cannot reprogram everything to use WAP at this point, but I DEFINITELY want to redesign this system once I get a handle on things. It was designed by someone who obviously had no background in system design.

I like your idea of using the existing website with the upgraded DNN software for development and then test and see what is compatible and isn't. However, how can I do that? If I install the most recent version of DNN on my PC, am I then able to import the existing website into it? Or is there a way to somehow copy DNN to my PC without having to do an installation (because of the old DNN software) and then do the upgrade/test it?

I also have a question about the add-ons. Is everything listed in "Extensions" a plug-in? How do I know what is native to DNN and what isn't? I have no documentation to help me determine this so I'm hoping there's an easy way to find it out.

 
New Post
5/15/2012 1:45 PM
 

Hello,

first of all, just to make it clear - dotnetnuke itself uses codebehind files for many functions, those most of those reference classes that have been compiled into various dll's, so it's normal to have code behind files. However extensions such as modules can be written in any language and use either WSP or WAP (or even razor) so it's up to the extension developer what development model they use.

As to testing locally, the typical way to do this is to log in as host and add a portal alias for your development url (e.g. localhost) - see http://www.dotnetnuke.com/Resources/W... for more info on what portal aliases are in dotnetnuke terms. You can then take a copy of the site (files and folders, as well as backup of the database), copy it to your development machine, restore the database, and update the 2 connectionstrings to point to your local database location. Now you'll be able to browse to the site as localhost safely - if you back up the site (files and database) at this point you can do some test upgrades without risking the production site and do some testing. You'll also be able to create a WAP project and migrate the existing code into it, compile and deploy it to the site (and delete the old code-behind files) and see if that works.

Yes, everything in extensions is an add-on - there is a column to indicate if it's in use or not (older versions of dotnetnuke shipped with a lot of modules that were available but not installed). There is no real way to see if something came with dotnetnuke or was installed later -in general though 3rd party extensions have the company name in them.


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
5/15/2012 2:08 PM
 

Wow . . . fantastic! Much easier than I thought it was going to be. I appreciate your help with this and your suggestions. I feel much less frustrated about this than I did just a few moments ago!

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Help for Newbie Setting up Development EnvironmentHelp for Newbie Setting up Development Environment


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