Thursday, September 09, 2010
  Search
 
Register
Login
 
Installation from the DotNetNuke Install Package 4.90 to Windows XP Professional
OK, so you made the leap and downloaded an installation package of DotNetNuke 4.x.   But now what do I do?  Well, here's a step-by-step instruction guide to get you up and running with DotNetNuke 4....

Find this article and more in the Localhost category

Read This Article . . .

Getting Started with Code Endeavors Ajax Compiled Module Template
DotNetNuke Ajax development just got easy thanks to Jon Henning and his Ajax Compiled Module templates. He’s got them listed on CodePlex, they’re updated for DNN 5, and they are available in C# and V...

Find this article and more in the category

Read This Article . . .

Getting Aquainted with the DNN Classes
 So, you've decided to start checking out DotNetNuke development and you're wondering where to start, right? Well, it's easy to start taking a quick tour of the DotNetNuke classes now with the help o...

Find this article and more in the category

Read This Article . . .

Quick Check for Troubleshooting the CodeEndeavor Ajax Templates
I haven’t just installed the the template and created a module out of the box yet. However, I have come across a few things that I know to check and fix and I’m up and running in no time at all. If y...

Find this article and more in the category

Read This Article . . .

More Ways to Install DotNetNuke Modules with the URL Method
While DotNetNuke has a built in mechanism for installing modules, there is another method you can use as well. This is a great alternative to use especially when you are trying to install larger mod...

Find this article and more in the category

Read This Article . . .

Installing Active Directory Authentication Package on DotNetNuke
DotNetNuke has abstracted the authentication providers away from the core giving site owners the ability to add new authentication systems. You can see in the picture below that by default, the DotNe...

Find this article and more in the category

Read This Article . . .

How To Customize the Privacy and Terms Links on Your DotNetNuke Portal
Straight out of the box, DotNetNuke already has a lot of things covered. But, what do you do when you are ready to begin customizing your site. Sometimes, it’s not so easy to figure out how to make t...

Find this article and more in the category

Read This Article . . .

Dude, Where’s my web.config file? Resolve Installation DNN Error Message: BC30451: Name 'Config' is not declared
Sometimes troubleshooting DNN errors can be a royal pain. Fortunately, if you know what you're looking for installation errors are usually pretty easy to resolve. Unfortunately, if you don't know wha...

Find this article and more in the category

Read This Article . . .

I Need to Modify the What to Install DNN? What in the World is a Web.Config File Anyway??
 If you're wondering what in the world a web.config file is, then wonder know more. . .in about 5 minutes, you'll know more than you do now and be well on your way to moving forward.

Find this article and more in the Web.Config category

Read This Article . . .

How to Install DotNetNuke 5.0 Cambrian and Video
 This video tutorial covers installing using the Custom installation option, with SQL Express and also an external SQL Database. Find out more about which package to download and how to kick off the ...

Find this article and more in the category

Read This Article . . .

Recently Added Articles

Minimize
Article List

 

Dude, Where’s my web.config file? Resolve Installation DNN Error Message: BC30451: Name 'Config' is not declared

11/21/2008 1:54:35 AM - By Briana Tarrance

Category: | | Comments 0

 

Sometimes troubleshooting DNN errors can be a royal pain. Fortunately, if you know what you're looking for installation errors are usually pretty easy to resolve. Unfortunately, if you don't know what you're looking for or if you're a DNN Noob, you may be bald by morning.

 

If you've just installed DNN and receive this error as soon as you attempt to open the site in your browser, you may not have a web.config file defined.

Depending on which DNN package you selected to download, you may or may not actually have the file named, "web.config" in your root directory. DNN Starter Packages come with three config files:

  • Web.config
  • Development.config
  • Release.config

You don't need all of the files however, the only one you actually need is the web.config file. The other two allow you to set up different config settings for testing or what not.

 

Now, if you've downloaded the DNN Source Package or Upgrade Package, you are not going to find a "web.config" file. The reason for this is so that you don't accidentally or inadvertantly screw up what you've already got going on. If you download the upgrade package and upload your files over your existing files, guess what? All those customizations you've done to your web.config file are gone and you're a mad mofo! Similarly, the source package includes the Development.config and Release.config files so you can make your adjustments as you're going along.

 

As a result, what happens sometimes is that people download the DNN Package ("there was more than one kind???") and immediately begin to try to run it. If you're using the default setup, typically you can do this…so long as the server can find your web.config file.

 

Check out the project directory in the image below and you can see what I'm talking about. Luckily, it's a super simple solution…simply rename either Development.config or Release.config to "web.config". Or, if it gives you the warm fuzzies to keep all the files you downloaded in tact, just make a copy of one of thm and then rename it.

 

 

Here you can see that I simply chose to rename the Release.config to web.config

 

Now, navigate to your site and Voila! Welcome to either a shiny new DNN installation or the next error to fix! J Either way, you're over this one now.

 

 

   

powered by metaPost

 

 

Related Articles
Installing Active Directory Authentication Package on DotNetNuke
I Need to Modify the What to Install DNN? What in the World is a Web.Config File Anyway??
Everything You Never Wanted to Know About the Config File

 
 
Copyright 2008 by Virtual-Essentials.com Privacy Statement    Terms Of Use