You need to Register for free and Login to post a message in the forum.

Forum

Subject: Clarify DNN config files
Prev Next
You are not authorized to post a reply.

Author Messages
eureka
DNN Creative Magazine Subscriber
Nuke Master
Nuke Master
Posts:257

10 Aug 2006 8:28 AM  

Hi Lee

I have decided to install DNN 4.3.4 because I wish to use modules which are not available for DNN 3

I am not a developer so I downloaded the DNN install version with the intention of uploading to my hosting provider. When unzipped I found web.config, release.config and development.config.

I understand that I need to edit web.config and ( I read somewhere that I need to mirror the connection strings in development.config but I don't know why) and ignore release.config unless I am upgrading.

Am I correct so far?

The web config file contains an extra connection string:

 

<add

name="SiteSqlServer"

connectionString="Server=(local);Database=DotNetNuke;uid=;pwd=;"

providerName="System.Data.SqlClient" />

--

<!-- Connection String for SQL Server 2000/2005>

 

 as well as the 

 

<add key="SiteSqlServer" value="Server=(local);Database=DotNetNuke;uid=;pwd=;"/>

--

<!-- Connection String for SQL Server 2000/2005 - kept for backwards compatability - legacy modules>

Can you briefly explain the purpose of  these strings.

I know that I must edit accordingly:

Server=MY SQL-SERVER-NAME;Database=MY-DATABASE-NAME;uid=MY-USERNAME;pwd=MY-PASSWORD;"/

I am not having much luck trying to install my fresh DNN 4.3.4. I know that my hosting provider is currently using ms sql 2000.  I presume that my problem is with in the web.config file  but I can't find where I have gone wrong. With a little more understanding of this file I may be able to configure it correctly. 

Thanks

Regards

Lynn

 

 


www.drivewaydesign.eu For A Dream Driveway

www.a2zdom.com Domain name matters

www.seemalta.net See Magical Malta
leesykes
DNN Creative Staff
Nuke Master III
Nuke Master III
Posts:3426

10 Aug 2006 9:05 AM  
Hi Lynn,

As it happens Andy Hock, a module developer, has put together an article for us looking at installing 4.3.4. As we speak i am also putting a series of videos for configuring the new security roles, user settings etc for 4.3 / 3.3.

For the web.config file you only use a single web.config file.

The release.config file is if you are upgrading, for transferring across your settings from a previous installation - which you rename to web.config

The development.config is used if you are required by your hosting provider to run in a medium trust environment. - If so, you use this file and rename it to web.config

If you are just installing from scratch and are not required to run in medium trust then just add your settings into the web.config file.

You only need to upload a web.config - do not upload the release or development.config files as they are not needed. They are just used as templates for you to use and rename to web.config dependant on your installation requirements.

The connection strings, you just set them up for SQL server 2000 rather than SQL server express. - So delete the express sections and just add in the details for SQL server, there are 2 parts where you need to add the details. - Your web.config may look like this on a localhost installation:

<connectionStrings>
    <!-- Connection String for SQL Server 2000/2005   -->
    <add name="SiteSqlServer" connectionString="Server=(local);Database=DNN434_Tutorials;uid=lee;pwd=lee;" providerName="System.Data.SqlClient" />
  </connectionStrings>
  <appSettings>
    <!-- Connection String for SQL Server 2000/2005 - kept for backwards compatability - legacy modules -->
    <add key="SiteSqlServer" value="Server=(local);Database=DNN434_Tutorials;uid=lee;pwd=lee;" />
    <add key="InstallTemplate" value="DotNetNuke.install.config" />

Thanks,

Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

Twitter: www.twitter.com/leesykes

Lee Sykes's Facebook Profile
eureka
DNN Creative Magazine Subscriber
Nuke Master
Nuke Master
Posts:257

10 Aug 2006 9:15 AM  

Hi Lee

Thanks so much for your speedy and very helpful reply.

 

Regards

Lynn


www.drivewaydesign.eu For A Dream Driveway

www.a2zdom.com Domain name matters

www.seemalta.net See Magical Malta
You are not authorized to post a reply.
Forums > DotNetNuke® > DotNetNuke® Questions > Clarify DNN config files



ActiveForums 3.7

Latest Forum Posts

RE: Child portal to live site by jncraig
Is there any URL that will get me to your site?
RE: Child portal to live site by jncraig
"Ok I changed the A record of the Jackson site to point to the IP address of the DNN portal. I than...
RE: Child portal to live site by jncraig
I'm sorry that I offended you.  I was trying to give an honest answer.  That answer is, I continue t...
RE: Child portal to live site by psgrzelak
Kind of a round about way of answering my question without answering it.... I prefer the straight fo...
RE: Child portal to live site by jncraig
A subscription to this site will let you view the tutorials.  I believe that will be useful.  In fac...
RE: Child portal to live site by psgrzelak
Ok I changed the A record of the Jackson site to point to the IP address of the DNN portal. I than w...
RE: DotNetNuke News 8th Dec 08 by jncraig
Yes, I'm getting an error, also. But ... you can probably get the podcast from this link: http...
RE: Can't Login! Login Page can't be accessed... by jncraig
This table is part of your DotNetNuke database.You might first want to review these tutorials to hel...
DotNetNuke News 8th Dec 08 by pwadding
When I attempt to download the  Podcast I get an error message. Tried both servers. The first few li...
RE: Can't Login! Login Page can't be accessed... by e-kreator
a database that you mean.
RE: DotNetNuke 4.9.1 and 5.0.0 by jncraig
Yes, lots of learning, lots of new things and new ways.  I played a little with Beta6 of DotNetNuke ...
RE: PDF File Content by jncraig
If you want to just serve up the PDF files as PDF files, upload them using the File Manager.  You ca...
RE: Navigating between modules by jncraig
What is the URL that is generated? To which page does it send you?
RE: New Logo cant display by jncraig
There is nothing wrong with this, provided that you did it correctly.  I would have to look at your ...
RE: Child portal to live site by jncraig
You should set DNS to point the URL to the IP address of the DotNetNuke installation.  Inside of the...
RE: PopUp Page by jncraig
To open a link in a new window, format the link this way:Link to us! It is the target="_blank" that...
RE: How to Change fckeditor alignment by jncraig
It might be easier to use a different skin for your administrative pages. There have been some ot...
RE: Can't Login! Login Page can't be accessed... by jncraig
If you have access to your database, look at the Portals table.  Make sure that LoginTabID is set to...
RE: Can't Login! Login Page can't be accessed... by e-kreator
Hello my problem is that the configuration management in login page page was sent to a Web page that...
RE: Create new 'host' user? by jncraig
You can change a regular user to a Host, by setting the "Host" user's IsSuperUser set to True in the...
AppTheory
RSS Feeds