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

Posts:3002

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
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

Posts:3002

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

25 Jul 2006 1:15 PM  

Lee:

Thanks for the clarification.

Buddy

altein
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
Nuke Master II
Nuke Master II
Posts:2032

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

DNN - web services not working by paulrobinson
Good Afternoon,Please help.  I have just installed my DNN web site to my dedicated live host machine...
[HOUSEMENU] token not working by whred5
HiI have been playing around with the Lazy_Days skin in an effort to learn css based skinning, I hav...
RE: Building a website with DNN by freedom22
Lee or Joe, I meant that the skin.css file I downloaded has classes like .main_dnnmenu_item td w...
RE: Building a website with DNN by freedom22
Lee, thanks for your reply. I did find the files. I am going through your tutorail, and in video7...
RE: page publish date by leesykes
I would suggest you view these tutorials:User Accounts new features User Accounts and User Settings ...
RE: page publish date by jncraig
I'm not quite sure that I understand you, but ... on the user accounts page there are these options:...
RE: Best so far for me by jncraig
I like the Snapsis CSS Nav Menu. You'll find it at Snapsis.com.
RE: How to limit access to the admin menu.... by leesykes
Hello,Simply reverse the process, you can copy the settings from one of the other admin menu items t...
RE: How to limit access to the admin menu.... by tallorder
Shame about the parent page drop down being grey out since any Site Administrator is going to want t...
RE: Host and Admin user login not working on remote host by paulrobinson
A couple of quick questions: 1. Can I format the login page to the same as my other Text/HTML mo...
RE: Host and Admin user login not working on remote host by leesykes
Hello,Great, glad to help, have you had a look here for some SEO articles and interviews
RE: A question about permission? by leesykes
ok great, glad to help,
RE: A question about permission? by derpir
Your e-mail helped thanks I now have all my permissions set as they should. thanks
RE: Host and Admin user login not working on remote host by paulrobinson
Lee, Thanks for your help on this - there was actually a character dropped off the end of the machi...
RE: A question about permission? by derpir
one question... After getting the permissions... Shouldn´t I be able to do all my development at...
RE: Solpartmenu and line breacks by leesykes
Hello,If you have a look in the CSS Reference Book p108Word-wrapThis is an Internet Explorer 5.5 or ...
RE: A question about permission? by derpir
Thank you Lee! I sent your reply suggestion and I hope they will understand better what I wanted fr...
RE: A question about permission? by leesykes
hello,In order for DNN to operate correctly it needs full read and write permissions for the Network...
RE: Host and Admin user login not working on remote host by leesykes
you will be able to register as a new user if the machine keys are incorrect, but can you login as a...
RE: centering a page in dnn by leesykes
Yes I have not come across a solution to that either and I think it occurs in all browsers.Thanks,
DotNetNuke Modules
RSS Feeds