Installing DNN 3.1 question.

Discussion in 'Third-party applications' started by Fobulous, Jul 24, 2005.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. I just signed up with DiscountASP hosting and would like to install DotNetNuke 3.1 to play with. I have read installation procedures from both DiscountASP and 1and1 but i still have some unanswered questions.

    1) DiscountASp does not recommend to install this to the root directory but according to a posting from ASP.net Forum if one wants the portal to be at www.mysite.com then it will need to be install in the root directory..so which is correct?

    2) i understand that i would need to purchase some kind of data base..i just signed up for MYSQL $5/month would this be good enough?

    3) from the installation instructions it asked me to edit web.config file but when i opened the newly downloaded DNN 3.1 i did not see web.config but instead 03.01.00.config and when i opened the file in notepad i see 2 entries for <add key="SiteSqlServer" value="Server=<localhost>;Database=<DB_NAME>;uid=<User_Name>;pwd=<DB_password>;Trusted_Connection=False" />

    do i change them for both of these and then upload the folder?

    TIA!

    Fobulous
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    1) This is just a recommendation. You can install DNN to your root. The only drawback is that you may have problem if you have other application you want to put in your site's sub directory.

    2) No. You should get MS SQL rather than MySQL

    3) I am not sure about this one. There should be a web.config there.

    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
  3. The release version of DNN3 contains a file called Release.config, found in the root directory of installed application. Just rename this to Web.config and make your edits. One of the great suggestions from the knowledgebase is to prefix DNN tables. In the instructions found at http://kb.discountasp.net/article.aspx?id=10341do follow the advice:


    -We also recommend modifying theobjectQualifier option in the <data defaultProvider="SqlDataProvider"> section. The objectQualifier will be prepended to the table names. For example, setting it to "DotNetNuke3" will result in table names like DotNetNuke3_Users. This prevents naming conflict from other tables that you may have in your database.

    I set mine to DNN for brevity. Then, all DNN tables will be immediately identifiable and not conflict with anything else. If you are using the database to do other .NET work, you will thank these guys later.

    Also, regarding installation of DNN in non-root directiry, this is probably a good practice. Even if it is the only app you are running just set up a page (say, index.html) that contains a redirect to your directory. I set up DNN in a directory called portal. My redirect looks like this:

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <html>
    <head>
    <META HTTP-EQUIV=Refresh CONTENT="0; URL=http://www.healthrx.com/portal">
    </head>

    </body>
    </html>

    In my opinion, DNN is worth the trouble. Invest in a good set of skins if you are doing this professionally.

    Regards,

    Patrick
     
  4. I'm trying to install a new instance of DNN 3.1.1 on the DiscoutASP server. I've follwed all of the recommendations on the KB article provided by DiscountASP. Having strange problems once I try to run the install from the browser (First time browsing to the site). Initial problems pointed to currupted DLLs, now I have a Null object problem.

    I've setup several DNN sites and never had this problem before. Since my problem looks liek I'm not getting the files to the server correctly, I'm asking what successful installers have used to copy the files to the server? Also have you had to do anything to perissions or adding any additional users to teh accounts?

    Thanks.
     
  5. Bruce

    Bruce DiscountASP.NET Staff

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page