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

Forum

Subject: Can't find the web.config file
Prev Next
You are not authorized to post a reply.

Author Messages
leesykes
DNN Creative Staff
Nuke Master III
Nuke Master III
Posts:3426

22 Sep 2005 12:37 PM  
Have you been hunting for the web.config file in the latest versions of DotNetNuke and been wondering where has it gone?

It's called release.config so that you don't accidentally overwrite your old web.config file if you are upgrading your installation of DotNetNuke.

Make sure you follow the instructions closely and copy across the appropriate elements from your old web.config file to the new release.config file if you are upgrading

Otherwise, simply rename the release.config file to web.config and there you go!

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
4buddy2
Nuke Newbie
Nuke Newbie
Posts:2

24 Jul 2006 6:42 PM  

I judt dowenloaded the install for DNN 4.3.2 and found both release.config and web.config in the unzipped files.  Should I delete web.config and then rename release.config and then install?  I found Mr. Walker's installation instructions on another website and he says to rename release.config to web.config after installation.  But once again, Solution Explorer in VS 2005 lists both release.config and web.config.

Thanks for your help.

Buddy

leesykes
DNN Creative Staff
Nuke Master III
Nuke Master III
Posts:3426

25 Jul 2006 4:15 AM  
Hello,

They are both the same files, this may be an oversight by the DNN team. -The release.config file was named as such so that you didn't accidentally overwrite your original web.config file when upgrading as you need to transfer across some settings from your old installations web.config file to the new release.config file. (In order to prevent users accidentally overwriting their web.config file - which happened a lot, the DNN team just placed a release.config file in the DNN files which you rename to web.config file once you have transferred across your settings.)

So, they are both the same. - If you are installing a fresh installation then just use the web.config file.

If you are upgrading then make sure you copy across the settings that are required.

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
4buddy2
Nuke Newbie
Nuke Newbie
Posts:2

25 Jul 2006 1:15 PM  

Lee:

Thanks for the clarification.

Buddy

altein
DNN Creative Magazine Subscriber
Nuke Active Member
Nuke Active Member
Posts:26

07 Jul 2007 1:55 PM  

I'm not sure if I understand this answer. If as you mentioned release.config and web.config are the same files, as you mentioned, why should we rename the release.config file to web.config instead of simply deleting the release.config file (again assuming they are the same file). If we are doing a fresh installation, should we do just that, delete the release.config? Thanks ahead

Altein
jncraig
DNN Creative Staff
Nuke Master II
Nuke Master II
Posts:2505


07 Jul 2007 3:38 PM  
The required contents of web.config change from version to version in DotNetNuke. So, if you're upgrading from one release to another, renaming release.config to web.config won't work.

Here's the process that I use:

1. COPY (not rename) release.config to web-new.config
2. Copy the old connection strings, machine keys, and other necessary changes from the existing web.config to web-new.config
3. RENAME web.config to web-old.config. Sometimes I'll add a date: web-old-20070707.config
4. COPY web-new.config to web.config

Then test your system ...

Joe Craig
DNN Creative Support
Subscribe to the website
You are not authorized to post a reply.
Forums > DotNetNuke® > Quick Tips > Can't find the web.config file



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...
DotNetNuke Modules
RSS Feeds