Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

PortalWebHosting
  Ads  
 


  Sponsors  

Meet Our Sponsors

SmarterTools
Verndale
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Installer Utili...  error = Name 'Config' is not declared
Previous Previous
 
Next Next
New Post 9/11/2007 11:08 AM
User is offline moffl
4 posts
10th Ranked


error = Name 'Config' is not declared 

When using the installer utility everything goes smoothly until web starts the i get this error Name 'Config' is not declared and here is the whole thing

 

Line 66:
Line 67:             Dim AutoUpgrade As Boolean
Line 68:             If Config.GetSetting("AutoUpgrade") Is Nothing Then
Line 69:                 AutoUpgrade = True
Line 70:             Else

 

as i am new to this just wondering if someone could point me in the right direction

Moffl

 

 
New Post 9/11/2007 2:29 PM
User is offline Antonio Chagoury
784 posts
www.inspectorit.com
7th Ranked






Re: error = Name 'Config' is not declared 

Go to IIS and go to your website's properties., then make sure that under the ASP.net tab you have selected .net framework 2.0

Hope this helps.


Inspector IT, Inc.Antonio Chagoury | Inspector IT, Inc.
Professional .net & DotNetNuke Solutions
web: www.inspectorit.com
blog: www.cto20.com
modules: DNN Virtual Earth | DNN Dock Menu | DNN Site Map

 
New Post 5/30/2008 8:40 AM
User is offline cool
4 posts
10th Ranked


error: Namespace or type specified in the Imports doesn't contain 

Hi Every 1

I have installed the Blogs Module in my new website though module upgrade wizard but, i am geting this error after installation

error:  Namespace or type specified in the Imports Dotnetnuke doesn't contain any public member or cannot found. even though i have dotnetnuke.dll file in my bin folder.

I removed the dotnetnuke.dll and added from working library still it is showing the same problem. Can any one faced the same problem, Please help

Thanks

Coolfriend

 
New Post 11/19/2008 6:06 AM
User is offline flites
1 posts
10th Ranked


Re: error: Namespace or type specified in the Imports doesn't contain 

I was aslso suffering with this problem then i did following

As .NET 2 websites do not have a project file, these default Imports statements have been moved to the web.config file.
eg
       
Thus if release.config has not been copied/renamed to web.config, the compiler will not be able to find the "Config" class, as the project does not have an Imports statement referencing the correct namespace..

 

Thanks & Regards,
>>Munnamax

 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Installer Utili...  error = Name 'Config' is not declared
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


telerik
telerik r.a.d.controls suite is the most innovative and comprehensive toolset for ASP.NET development, tailored for seamless integration with the DotNetNuke project. This integrated collection of controls allows professionals to build web-solutions with the UI richness and responsiveness of desktop applications.
dnn.telerik.com
CrystalTech
CrystalTech Web Hosting™ provides first-class service and support. Our value-packed ASP.NET plans offer DNN installation, SQL 2005 and up to 100 domain names starting at only $16.95 per month!
CrystalTech.com
DotNetNuke® in Sweden
All service of DotNetNuke® in Sweden.
Olsmar Konsult

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP