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

Create new 'host' user? by jonathanbrickman0000
I have a DNN 4.7 web site successfully migrated to a new server.  There is only one hitch:  the 'hos...
RE: split copyrgt option in two lines by jncraig
You can put a in the copyright text. This may or may not put other text (to the right of the copyr...
RE: Can't Login! Login Page can't be accessed... by jncraig
Try: http://localhost/DNN/login.aspx http://localhost/DNN/?ctl=login If neither of those ge...
RE: HOw to upload site from localserver to www.mysite.com by jncraig
View this tutorial:How to transfer a localhost DotNetNuke installation to a live websitePay special ...
RE: Nightmare with SKINS... by jncraig
Before you get in too far, you might want to take a look at:An Introduction to the Principles of Dot...
RE: Nightmare with SKINS... by dougieladd
Hi Joe...thank you for that...I kind of assumed that was the case. As I understand it the skin comes...
HOw to upload site from localserver to www.mysite.com by aniket.rasal
Dear Friends,       I have created site. Its wolring fine on my local machine.But when i upload the ...
RE: DotNetNuke 4.9.1 and 5.0.0 by leesykes
It is on the Extensions page as well - named 'Batch Install Extensions' stefan blogged about it here...
How to Change fckeditor alignment by aniket.rasal
Hello Friends,       I am creating site with customized skin. In that i want to change the alignmen...
RE: DotNetNuke 4.9.1 and 5.0.0 by leesykes
Talk about hiding things - it took me a while even though it was staring me in the face!In the Contr...
RE: DotNetNuke 4.9.1 and 5.0.0 by leesykes
This post is worth a read in the main dnn forumsHaving upgraded, one thing that is confusing is wher...
RE: DotNetNuke 4.9.1 and 5.0.0 by leesykes
Hello, I've just been experimenting with this upgrading a fresh 4.6.2 (default installation no ex...
Can't Login! Login Page can't be accessed... by durationinc
Hi guys,I develop a website using DotNetNuke 4.9.1. I can't login after I did some modifications on ...
split copyrgt option in two lines by meenu
in dnn0408 website,I added copyright option in admin page settings.now my option is like this"Copyri...
PopUp Page by meenu
hiin my dnn0408 website i added one page named "PopUpMap".....in page settings of Popup page i selec...
RE: link to outlook by meenu
hi joei did the settings...working fine...thanks...
RE: Navigating between modules by Germaine
Hi Hi, anyone out there who can help me in this?? thanks
RE: New Logo cant display by Germaine
Hi Joe, yes I have a filed name Logo.png in the portal's root directory. I have added it into my pro...
Child portal to live site by psgrzelak
Hi all, I am new to the DNN universe but I have administered sites with Front page and Dreamweaver. ...
RE: PDF File Content by dongoldwater
I have reports that are strictly pdf files and want to incorporate them in a module. Can I insert t...
AppTheory
RSS Feeds