Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Error:  ConfigError: Config' is not declared
Previous
 
Next
New Post
8/16/2008 10:13 PM
 

I unzipped the DNN source files, created a virtual directory in IIS pointing to them, configured IIS per Install instructions, and set up a SQL Server database.  But there was no web.config file in the unzipped DNN files.  So I made my own and added the connection string to the DB server and placed it under the root folder.

I then opened IE 7 and typed in the name of my DNN web site and got the following error:

ompiler Error Message: BC30451: Name 'Config' is not declared.

Source Error:

 
Line 65:         ''' -----------------------------------------------------------------------------
Line 66:         Private Sub Application_Start(ByVal sender As Object, ByVal e As EventArgs)
Line 67:             If Config.GetSetting("ServerName") = "" Then
Line 68:                 ServerName = Server.MachineName
Line 69:             Else

Source File: C:\Downloads\DNN\DNN_04_08_04_Source\Website\App_Code\Global.asax.vb    Line: 67

Does anyone know what the problem is?  My searches on this forum are timig out so it is not easy to find previous posts on the topic.

 
New Post
8/17/2008 2:37 AM
 

make sure, your IIS web site is pointing to the /Website subfolder of your installation.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
8/17/2008 9:29 AM
 

A thing to remember when you install the source then IIS virtual folder must be mounted to the C:\Downloads\DNN\DNN_04_08_04_Source\Website\ folder not the C:\Downloads\DNN\DNN_04_08_04_Source\

Micheal Washington got great documents on how to setup IIS. Check it out at http://www.adefwebserver.com/DotNetNukeHELP/. Another great source is to check under www.dotnetnuke.com download section under documents there is a installation guide under the DotNetNuke 4.8.4 documents by Shaun Walker. Between these documents you will be able to get it up and running.

 
New Post
8/17/2008 9:34 AM
 

Oh, I forgot to tell you just rename the development.config to web.config and change the part that specify your SQL server to your connection settings. Thats all.

 
New Post
8/17/2008 10:11 AM
 

My  IIS web site is pointing to the /Website subfolder of my installation.

THe problem with this error is that I created my onw web.config file rather than rename release.config. 

After I renamed release.config to web.config and set my connection string, the installation procceded.  However, it ran all night without ever completing.

I think part of the problem may be that I am running 2 instanaces of SQL Server on this box: SQL Server Developer edition and SQL Server Express.   Here is what my web.config settings look like:


   
   
   
   
 

 
   
   
   
 

Can I run two instanaces of SQL Server on the same box? 

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Error:  ConfigError: Config' is not declared


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out