Link to home
Start Free TrialLog in
Avatar of Sanjeet
SanjeetFlag for United States of America

asked on

Web.config error message

When I try to open up a dotnetnuke site I get this error message:

Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Unrecognized configuration section 'connectionStrings'

Source Error:


Line 15:     </sectionGroup>
Line 16:   </configSections>
Line 17:   <connectionStrings>
Line 18:   <!-- Connection String for SQL Server 2005 Express
Line 19:   <add
 

Source File: C:\Inetpub\DotNetNuke\web.config    Line: 17


Here is the web.confil code:



  <configSections>
    <sectionGroup name="dotnetnuke">
      <section name="data" type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke"/>
      <section name="logging" type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke"/>
      <section name="scheduling" type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke"/>
      <section name="htmlEditor" type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke"/>
      <section name="navigationControl" type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke"/>
      <section name="searchIndex" type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke"/>
      <section name="searchDataStore" type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke"/>
      <section name="friendlyUrl" type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke"/>
      <section name="caching" type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke"/>
      <section name="authentication" type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke" />
    </sectionGroup>
  </configSections>
  <connectionStrings>
  <!-- Connection String for SQL Server 2005 Express
  <add
    name="DotNetNuke"
    connectionString="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|Database.mdf;"
    providerName="System.Data.SqlClient" />
      -->
  <!-- Connection String for SQL Server 2000/2005 -->
    <add
      name="DotNetNuke"
      connectionString="Server=(local);Database=DotNetNuke;uid=sa;pwd=sa;"
      providerName="System.Data.SqlClient" />
   
  </connectionStrings>
  <appSettings>
    <!-- Connection String for SQL Server 2005 Express - kept for backwards compatability - legacy modules  
    <add key="DotNetNuke" value="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|Database.mdf;"/>
      -->
    <!-- Connection String for SQL Server 2000/2005 - kept for backwards compatability - legacy modules -->
    <add key="DotNetNuke" value="Server=(local);Database=DotNetNuke;uid=sa;pwd=sa;"/>
   
    <add key="InstallTemplate" value="DotNetNuke.install.config" />
    <!--  Alternative Install Templates (included in package)
    <add key="InstallTemplate" value="Club.install.config" />
    <add key="InstallTemplate" value="Personal.install.config" />
    <add key="InstallTemplate" value="SmallBusiness.install.config" />
    -->
    <add key="AutoUpgrade" value="true" />
    <add key="InstallMemberRole" value="true" />
    <add key="ShowMissingKeys" value="false" />
    <add key="EnableWebFarmSupport" value="false" />
    <add key="EnableCachePersistence" value="false"/>
  </appSettings>
Avatar of YZlat
YZlat
Flag of United States of America image

why don't you delete connectionStrings section and just use the connection strings from appSettings?
or change the .NET framework version to 2.0 in IIS
Avatar of Sanjeet

ASKER

I did that this is my new error message:

Error MEssage:

Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

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

Source Error:



Line 77:
Line 78: Dim AutoUpgrade As Boolean
Line 79: If Config.GetSetting("AutoUpgrade") Is Nothing Then
Line 80: AutoUpgrade = True
Line 81: Else


Source File: C:\Inetpub\DotNetNuke\Website\App_Code\Global.asax.vb Line: 79



Compiler Warning Messages:
Warning: BC40057: Namespace or type specified in the project-level Imports 'DotNetNuke.Entities.Tabs' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
Source Error:

vbc :

[No relevant source lines]


Warning: BC40057: Namespace or type specified in the project-level Imports 'DotNetNuke.Services.Exceptions' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
Source Error:

vbc :

[No relevant source lines]


Warning: BC40057: Namespace or type specified in the project-level Imports 'DotNetNuke.Common.Utilities' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
Source Error:

vbc :

[No relevant source lines]


Warning: BC40057: Namespace or type specified in the project-level Imports 'DotNetNuke.Entities.Portals' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
Source Error:

vbc :

[No relevant source lines]


Warning: BC40057: Namespace or type specified in the project-level Imports 'DotNetNuke.UI' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
Source Error:

vbc :

[No relevant source lines]


Warning: BC40057: Namespace or type specified in the project-level Imports 'DotNetNuke.Services' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
Source Error:

vbc :

[No relevant source lines]


Warning: BC40057: Namespace or type specified in the project-level Imports 'DotNetNuke.Security' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
Source Error:

vbc :

[No relevant source lines]


Warning: BC40057: Namespace or type specified in the project-level Imports 'DotNetNuke.Modules' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
Source Error:

vbc :

[No relevant source lines]


Warning: BC40057: Namespace or type specified in the project-level Imports 'DotNetNuke.Framework' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
Source Error:

vbc :

[No relevant source lines]


Warning: BC40057: Namespace or type specified in the project-level Imports 'DotNetNuke.Data' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
Source Error:

vbc :

[No relevant source lines]


Warning: BC40057: Namespace or type specified in the project-level Imports 'DotNetNuke.Entities.Users' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
Source Error:

vbc :

[No relevant source lines]


Warning: BC40057: Namespace or type specified in the project-level Imports 'DotNetNuke.Services.Localization' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
Source Error:

vbc :

[No relevant source lines]


Warning: BC40057: Namespace or type specified in the project-level Imports 'DotNetNuke.Entities.Tabs' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
Source Error:

vbc :

[No relevant source lines]


Warning: BC40057: Namespace or type specified in the project-level Imports 'DotNetNuke.Services.Exceptions' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
Source Error:

vbc :

[No relevant source lines]


Warning: BC40057: Namespace or type specified in the project-level Imports 'DotNetNuke.Common.Utilities' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
Source Error:

vbc :

[No relevant source lines]


Warning: BC40057: Namespace or type specified in the project-level Imports 'DotNetNuke.Entities.Portals' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
Source Error:

vbc :

[No relevant source lines]


Warning: BC40057: Namespace or type specified in the project-level Imports 'DotNetNuke.UI' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
Source Error:

vbc :

[No relevant source lines]


Warning: BC40057: Namespace or type specified in the project-level Imports 'DotNetNuke.Services' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
Source Error:

vbc :

[No relevant source lines]


Warning: BC40057: Namespace or type specified in the project-level Imports 'DotNetNuke.Security' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
Source Error:

vbc :

[No relevant source lines]


Warning: BC40057: Namespace or type specified in the project-level Imports 'DotNetNuke.Modules' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
Source Error:

vbc :

[No relevant source lines]


Warning: BC40057: Namespace or type specified in the project-level Imports 'DotNetNuke.Framework' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
Source Error:

vbc :

[No relevant source lines]


Warning: BC40057: Namespace or type specified in the project-level Imports 'DotNetNuke.Data' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
Source Error:

vbc :

[No relevant source lines]


Warning: BC40057: Namespace or type specified in the project-level Imports 'DotNetNuke.Entities.Users' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
Source Error:

vbc :

[No relevant source lines]


Warning: BC40057: Namespace or type specified in the project-level Imports 'DotNetNuke.Services.Localization' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
Source Error:

vbc :

[No relevant source lines]


Warning: BC40056: Namespace or type specified in the Imports 'DotNetNuke.Common.Utilities' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
Source Error:

C:\Inetpub\DotNetNuke\Website\App_Code\Global.asax.vb

Line 26: Imports System.Web.Security
Line 27:
Line 28: Imports DotNetNuke.Common.Utilities
Line 29: Imports DotNetNuke.Entities.Portals
Line 30: Imports DotNetNuke.Security.Roles


Warning: BC40056: Namespace or type specified in the Imports 'DotNetNuke.Entities.Portals' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
Source Error:

C:\Inetpub\DotNetNuke\Website\App_Code\Global.asax.vb

Line 27:
Line 28: Imports DotNetNuke.Common.Utilities
Line 29: Imports DotNetNuke.Entities.Portals
Line 30: Imports DotNetNuke.Security.Roles
Line 31: Imports DotNetNuke.Services.Exceptions


Warning: BC40056: Namespace or type specified in the Imports 'DotNetNuke.Security.Roles' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
Source Error:

C:\Inetpub\DotNetNuke\Website\App_Code\Global.asax.vb

Line 28: Imports DotNetNuke.Common.Utilities
Line 29: Imports DotNetNuke.Entities.Portals
Line 30: Imports DotNetNuke.Security.Roles
Line 31: Imports DotNetNuke.Services.Exceptions
Line 32: Imports DotNetNuke.Services.Log.EventLog


Warning: BC40056: Namespace or type specified in the Imports 'DotNetNuke.Services.Exceptions' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
Source Error:

C:\Inetpub\DotNetNuke\Website\App_Code\Global.asax.vb

Line 29: Imports DotNetNuke.Entities.Portals
Line 30: Imports DotNetNuke.Security.Roles
Line 31: Imports DotNetNuke.Services.Exceptions
Line 32: Imports DotNetNuke.Services.Log.EventLog
Line 33: Imports DotNetNuke.Services.Scheduling


Warning: BC40056: Namespace or type specified in the Imports 'DotNetNuke.Services.Log.EventLog' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
Source Error:

C:\Inetpub\DotNetNuke\Website\App_Code\Global.asax.vb

Line 30: Imports DotNetNuke.Security.Roles
Line 31: Imports DotNetNuke.Services.Exceptions
Line 32: Imports DotNetNuke.Services.Log.EventLog
Line 33: Imports DotNetNuke.Services.Scheduling
Line 34: Imports DotNetNuke.Services.Upgrade


Warning: BC40056: Namespace or type specified in the Imports 'DotNetNuke.Services.Scheduling' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
Source Error:

C:\Inetpub\DotNetNuke\Website\App_Code\Global.asax.vb

Line 31: Imports DotNetNuke.Services.Exceptions
Line 32: Imports DotNetNuke.Services.Log.EventLog
Line 33: Imports DotNetNuke.Services.Scheduling
Line 34: Imports DotNetNuke.Services.Upgrade
Line 35:


Warning: BC40056: Namespace or type specified in the Imports 'DotNetNuke.Services.Upgrade' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
Source Error:

C:\Inetpub\DotNetNuke\Website\App_Code\Global.asax.vb

Line 32: Imports DotNetNuke.Services.Log.EventLog
Line 33: Imports DotNetNuke.Services.Scheduling
Line 34: Imports DotNetNuke.Services.Upgrade
Line 35:
Line 36:


Warning: BC40031: Name '__ASP' is not CLS-compliant.
Source Error:

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\2215839e\2199b5e3\App_Code.qgoozxdo.3.vb

Line 14: <Assembly: System.CodeDom.Compiler.GeneratedCodeAttribute("ASP.NET", "2.0.50727.42")>
Line 15:
Line 16: Namespace __ASP
Line 17:
Line 18: Friend Class FastObjectFactory_app_code_qgoozxdo





Show Detailed Compiler Output:


c:\windows\system32\inetsrv> "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\vbc.exe" /t:library /utf8output /R:"C:\WINDOWS\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll" /R:"C:\WINDOWS\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll" /R:"C:\WINDOWS\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.DirectoryServices\2.0.0.0__b03f5f7f11d50a3a\System.DirectoryServices.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Mobile\2.0.0.0__b03f5f7f11d50a3a\System.Web.Mobile.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Design\2.0.0.0__b03f5f7f11d50a3a\System.Design.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Management\2.0.0.0__b03f5f7f11d50a3a\System.Management.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Services\2.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll" /out:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\2215839e\2199b5e3\App_Code.qgoozxdo.dll" /D:DEBUG=1 /debug+ /define:_MYTYPE=\"Web\" /imports:Microsoft.VisualBasic,System,System.Collections,System.Collections.Specialized,System.Configuration,System.Text,System.Text.RegularExpressions,System.Web,System.Web.Caching,System.Web.SessionState,System.Web.Security,System.Web.Profile,System.Web.UI,System.Web.UI.WebControls,System.Web.UI.WebControls.WebParts,System.Web.UI.HtmlControls,System.ComponentModel,System.Data,System.Data.SqlClient,System.Drawing,Microsoft.VisualBasic,System.Globalization,DotNetNuke.Services.Localization,DotNetNuke.Entities.Users,DotNetNuke,DotNetNuke.Common,DotNetNuke.Data,DotNetNuke.Framework,DotNetNuke.Modules,DotNetNuke.Security,DotNetNuke.Services,DotNetNuke.UI,DotNetNuke.Entities.Portals,DotNetNuke.Common.Utilities,DotNetNuke.Services.Exceptions,DotNetNuke.Entities.Tabs /define:Debug=True /define:Trace=True /imports:System,System.Collections,System.ComponentModel,System.Data,System.Data.SqlClient,System.Drawing,System.Web,System.Web.UI,System.Web.UI.HtmlControls,System.Web.UI.WebControls,Microsoft.VisualBasic,System.Globalization,DotNetNuke.Services.Localization,DotNetNuke.Entities.Users,DotNetNuke,DotNetNuke.Common,DotNetNuke.Data,DotNetNuke.Framework,DotNetNuke.Modules,DotNetNuke.Security,DotNetNuke.Services,DotNetNuke.UI,DotNetNuke.Entities.Portals,DotNetNuke.Common.Utilities,DotNetNuke.Services.Exceptions,DotNetNuke.Entities.Tabs "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\2215839e\2199b5e3\App_Code.qgoozxdo.0.vb" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\2215839e\2199b5e3\App_Code.qgoozxdo.1.vb" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\2215839e\2199b5e3\App_Code.qgoozxdo.2.vb" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\2215839e\2199b5e3\App_Code.qgoozxdo.3.vb"


Microsoft (R) Visual Basic Compiler version 8.0.50727.42
for Microsoft (R) .NET Framework version 2.0.50727.42
Copyright (c) Microsoft Corporation. All rights reserved.

vbc : warning BC40057: Namespace or type specified in the project-level Imports 'DotNetNuke.Entities.Tabs' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
vbc : warning BC40057: Namespace or type specified in the project-level Imports 'DotNetNuke.Services.Exceptions' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
vbc : warning BC40057: Namespace or type specified in the project-level Imports 'DotNetNuke.Common.Utilities' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
vbc : warning BC40057: Namespace or type specified in the project-level Imports 'DotNetNuke.Entities.Portals' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
vbc : warning BC40057: Namespace or type specified in the project-level Imports 'DotNetNuke.UI' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
vbc : warning BC40057: Namespace or type specified in the project-level Imports 'DotNetNuke.Services' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
vbc : warning BC40057: Namespace or type specified in the project-level Imports 'DotNetNuke.Security' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
vbc : warning BC40057: Namespace or type specified in the project-level Imports 'DotNetNuke.Modules' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
vbc : warning BC40057: Namespace or type specified in the project-level Imports 'DotNetNuke.Framework' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
vbc : warning BC40057: Namespace or type specified in the project-level Imports 'DotNetNuke.Data' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
vbc : warning BC40057: Namespace or type specified in the project-level Imports 'DotNetNuke.Entities.Users' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
vbc : warning BC40057: Namespace or type specified in the project-level Imports 'DotNetNuke.Services.Localization' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
vbc : warning BC40057: Namespace or type specified in the project-level Imports 'DotNetNuke.Entities.Tabs' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
vbc : warning BC40057: Namespace or type specified in the project-level Imports 'DotNetNuke.Services.Exceptions' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
vbc : warning BC40057: Namespace or type specified in the project-level Imports 'DotNetNuke.Common.Utilities' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
vbc : warning BC40057: Namespace or type specified in the project-level Imports 'DotNetNuke.Entities.Portals' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
vbc : warning BC40057: Namespace or type specified in the project-level Imports 'DotNetNuke.UI' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
vbc : warning BC40057: Namespace or type specified in the project-level Imports 'DotNetNuke.Services' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
vbc : warning BC40057: Namespace or type specified in the project-level Imports 'DotNetNuke.Security' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
vbc : warning BC40057: Namespace or type specified in the project-level Imports 'DotNetNuke.Modules' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
vbc : warning BC40057: Namespace or type specified in the project-level Imports 'DotNetNuke.Framework' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
vbc : warning BC40057: Namespace or type specified in the project-level Imports 'DotNetNuke.Data' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
vbc : warning BC40057: Namespace or type specified in the project-level Imports 'DotNetNuke.Entities.Users' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
vbc : warning BC40057: Namespace or type specified in the project-level Imports 'DotNetNuke.Services.Localization' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
C:\Inetpub\DotNetNuke\Website\App_Code\Global.asax.vb(28) : warning BC40056: Namespace or type specified in the Imports 'DotNetNuke.Common.Utilities' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.

Imports DotNetNuke.Common.Utilities
~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Inetpub\DotNetNuke\Website\App_Code\Global.asax.vb(29) : warning BC40056: Namespace or type specified in the Imports 'DotNetNuke.Entities.Portals' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.

Imports DotNetNuke.Entities.Portals
~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Inetpub\DotNetNuke\Website\App_Code\Global.asax.vb(30) : warning BC40056: Namespace or type specified in the Imports 'DotNetNuke.Security.Roles' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.

Imports DotNetNuke.Security.Roles
~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Inetpub\DotNetNuke\Website\App_Code\Global.asax.vb(31) : warning BC40056: Namespace or type specified in the Imports 'DotNetNuke.Services.Exceptions' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.

Imports DotNetNuke.Services.Exceptions
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Inetpub\DotNetNuke\Website\App_Code\Global.asax.vb(32) : warning BC40056: Namespace or type specified in the Imports 'DotNetNuke.Services.Log.EventLog' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.

Imports DotNetNuke.Services.Log.EventLog
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Inetpub\DotNetNuke\Website\App_Code\Global.asax.vb(33) : warning BC40056: Namespace or type specified in the Imports 'DotNetNuke.Services.Scheduling' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.

Imports DotNetNuke.Services.Scheduling
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Inetpub\DotNetNuke\Website\App_Code\Global.asax.vb(34) : warning BC40056: Namespace or type specified in the Imports 'DotNetNuke.Services.Upgrade' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.

Imports DotNetNuke.Services.Upgrade
~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Inetpub\DotNetNuke\Website\App_Code\Global.asax.vb(79) : error BC30451: Name 'Config' is not declared.

If Config.GetSetting("AutoUpgrade") Is Nothing Then
~~~~~~
C:\Inetpub\DotNetNuke\Website\App_Code\Global.asax.vb(82) : error BC30451: Name 'Config' is not declared.

AutoUpgrade = Boolean.Parse(Config.GetSetting("AutoUpgrade"))
~~~~~~
C:\Inetpub\DotNetNuke\Website\App_Code\Global.asax.vb(86) : error BC30451: Name 'GetUpgradeStatus' is not declared.

Select Case GetUpgradeStatus()
~~~~~~~~~~~~~~~~
C:\Inetpub\DotNetNuke\Website\App_Code\Global.asax.vb(87) : error BC30456: 'UpgradeStatus' is not a member of 'Microsoft.VisualBasic.Globals'.

Case Globals.UpgradeStatus.Install, Globals.UpgradeStatus.Upgrade
~~~~~~~~~~~~~~~~~~~~~
C:\Inetpub\DotNetNuke\Website\App_Code\Global.asax.vb(87) : error BC30456: 'UpgradeStatus' is not a member of 'Microsoft.VisualBasic.Globals'.

Case Globals.UpgradeStatus.Install, Globals.UpgradeStatus.Upgrade
~~~~~~~~~~~~~~~~~~~~~
C:\Inetpub\DotNetNuke\Website\App_Code\Global.asax.vb(94) : error BC30456: 'UpgradeStatus' is not a member of 'Microsoft.VisualBasic.Globals'.

Case Globals.UpgradeStatus.Error
~~~~~~~~~~~~~~~~~~~~~
C:\Inetpub\DotNetNuke\Website\App_Code\Global.asax.vb(125) : error BC30002: Type 'EventLogController' is not defined.

Dim objEv As New EventLogController
~~~~~~~~~~~~~~~~~~
C:\Inetpub\DotNetNuke\Website\App_Code\Global.asax.vb(126) : error BC30002: Type 'LogInfo' is not defined.

Dim objEventLogInfo As New LogInfo
~~~~~~~
C:\Inetpub\DotNetNuke\Website\App_Code\Global.asax.vb(128) : error BC30456: 'Log' is not a member of 'Services'.

objEventLogInfo.LogTypeKey = Services.Log.EventLog.EventLogController.EventLogType.APPLICATION_SHUTTING_DOWN.ToString
~~~~~~~~~~~~
C:\Inetpub\DotNetNuke\Website\App_Code\Global.asax.vb(131) : error BC30451: Name 'LogException' is not declared.

LogException(exc)
~~~~~~~~~~~~
C:\Inetpub\DotNetNuke\Website\App_Code\Global.asax.vb(135) : error BC30451: Name 'LoggingProvider' is not declared.

LoggingProvider.Instance.PurgeLogBuffer()
~~~~~~~~~~~~~~~
C:\Inetpub\DotNetNuke\Website\App_Code\Global.asax.vb(154) : error BC30002: Type 'Services.FileSystem.FolderController' is not defined.

Dim objFolderController As New Services.FileSystem.FolderController
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Inetpub\DotNetNuke\Website\App_Code\Global.asax.vb(155) : error BC30002: Type 'PortalController' is not defined.

Dim objPortalController As New PortalController
~~~~~~~~~~~~~~~~
C:\Inetpub\DotNetNuke\Website\App_Code\Global.asax.vb(159) : error BC30002: Type 'PortalInfo' is not defined.

Dim objPortalInfo As PortalInfo = CType(arrPortals(i), PortalInfo)
~~~~~~~~~~
C:\Inetpub\DotNetNuke\Website\App_Code\Global.asax.vb(177) : error BC30451: Name 'SchedulingProvider' is not declared.

SchedulingProvider.Instance.Halt("Stopped by Application_End")
~~~~~~~~~~~~~~~~~~
C:\Inetpub\DotNetNuke\Website\App_Code\Global.asax.vb(195) : error BC30002: Type 'EventLogController' is not defined.

Dim objEv As New EventLogController
~~~~~~~~~~~~~~~~~~
C:\Inetpub\DotNetNuke\Website\App_Code\Global.asax.vb(196) : error BC30002: Type 'LogInfo' is not defined.

Dim objEventLogInfo As New LogInfo
~~~~~~~
C:\Inetpub\DotNetNuke\Website\App_Code\Global.asax.vb(198) : error BC30456: 'Log' is not a member of 'Services'.

objEventLogInfo.LogTypeKey = Services.Log.EventLog.EventLogController.EventLogType.APPLICATION_START.ToString
~~~~~~~~~~~~
C:\Inetpub\DotNetNuke\Website\App_Code\Global.asax.vb(215) : error BC30451: Name 'SchedulingProvider' is not declared.

If SchedulingProvider.SchedulerMode = SchedulerMode.TIMER_METHOD Then
~~~~~~~~~~~~~~~~~~
C:\Inetpub\DotNetNuke\Website\App_Code\Global.asax.vb(215) : error BC30451: Name 'SchedulerMode' is not declared.

If SchedulingProvider.SchedulerMode = SchedulerMode.TIMER_METHOD Then
~~~~~~~~~~~~~
C:\Inetpub\DotNetNuke\Website\App_Code\Global.asax.vb(216) : error BC30002: Type 'SchedulingProvider' is not defined.

Dim scheduler As SchedulingProvider = SchedulingProvider.Instance()
~~~~~~~~~~~~~~~~~~
C:\Inetpub\DotNetNuke\Website\App_Code\Global.asax.vb(217) : error BC30451: Name 'EventName' is not declared.

scheduler.RunEventSchedule(EventName.APPLICATION_START)
~~~~~~~~~
C:\Inetpub\DotNetNuke\Website\App_Code\Global.asax.vb(218) : error BC30451: Name 'SchedulingProvider' is not declared.

Dim newThread As New Threading.Thread(AddressOf SchedulingProvider.Instance.Start)
~~~~~~~~~~~~~~~~~~
C:\Inetpub\DotNetNuke\Website\App_Code\Global.asax.vb(247) : error BC30451: Name 'ServerName' is not declared.

ServerName = Server.MachineName
~~~~~~~~~~
C:\Inetpub\DotNetNuke\Website\App_Code\Global.asax.vb(250) : error BC30451: Name 'ApplicationPath' is not declared.

ApplicationPath = "" 
~~~~~~~~~~~~~~~
C:\Inetpub\DotNetNuke\Website\App_Code\Global.asax.vb(252) : error BC30451: Name 'ApplicationPath' is not declared.

ApplicationPath = HttpContext.Current.Request.ApplicationPath
~~~~~~~~~~~~~~~
C:\Inetpub\DotNetNuke\Website\App_Code\Global.asax.vb(254) : error BC30451: Name 'ApplicationMapPath' is not declared.

ApplicationMapPath = System.AppDomain.CurrentDomain.BaseDirectory.Substring(0, System.AppDomain.CurrentDomain.BaseDirectory.Length - 1)
~~~~~~~~~~~~~~~~~~
C:\Inetpub\DotNetNuke\Website\App_Code\Global.asax.vb(255) : error BC30451: Name 'ApplicationMapPath' is not declared.

ApplicationMapPath = ApplicationMapPath.Replace("/", "\")
~~~~~~~~~~~~~~~~~~
C:\Inetpub\DotNetNuke\Website\App_Code\Global.asax.vb(255) : error BC30451: Name 'ApplicationMapPath' is not declared.

ApplicationMapPath = ApplicationMapPath.Replace("/", "\")
~~~~~~~~~~~~~~~~~~
C:\Inetpub\DotNetNuke\Website\App_Code\Global.asax.vb(257) : error BC30451: Name 'HostPath' is not declared.

HostPath = ApplicationPath & "/Portals/_default/"
~~~~~~~~
C:\Inetpub\DotNetNuke\Website\App_Code\Global.asax.vb(257) : error BC30451: Name 'ApplicationPath' is not declared.

HostPath = ApplicationPath & "/Portals/_default/"
~~~~~~~~~~~~~~~
C:\Inetpub\DotNetNuke\Website\App_Code\Global.asax.vb(258) : error BC30451: Name 'HostMapPath' is not declared.

HostMapPath = Server.MapPath(HostPath)
~~~~~~~~~~~
C:\Inetpub\DotNetNuke\Website\App_Code\Global.asax.vb(258) : error BC30451: Name 'HostPath' is not declared.

HostMapPath = Server.MapPath(HostPath)
~~~~~~~~
C:\Inetpub\DotNetNuke\Website\App_Code\Global.asax.vb(260) : error BC30451: Name 'AssemblyPath' is not declared.

AssemblyPath = ApplicationMapPath & "\bin\dotnetnuke.dll"
~~~~~~~~~~~~
C:\Inetpub\DotNetNuke\Website\App_Code\Global.asax.vb(260) : error BC30451: Name 'ApplicationMapPath' is not declared.

AssemblyPath = ApplicationMapPath & "\bin\dotnetnuke.dll"
~~~~~~~~~~~~~~~~~~
C:\Inetpub\DotNetNuke\Website\App_Code\Global.asax.vb(319) : error BC30451: Name 'Config' is not declared.

Dim installationDate As String = Config.GetSetting("InstallationDate")
~~~~~~
C:\Inetpub\DotNetNuke\Website\App_Code\Global.asax.vb(325) : error BC30456: 'Scheduling' is not a member of 'Services'.

If Services.Scheduling.SchedulingProvider.SchedulerMode = SchedulerMode.REQUEST_METHOD _
~~~~~~~~~~~~~~~~~~~
C:\Inetpub\DotNetNuke\Website\App_Code\Global.asax.vb(325) : error BC30451: Name 'SchedulerMode' is not declared.

If Services.Scheduling.SchedulingProvider.SchedulerMode = SchedulerMode.REQUEST_METHOD _
~~~~~~~~~~~~~
C:\Inetpub\DotNetNuke\Website\App_Code\Global.asax.vb(326) : error BC30456: 'Scheduling' is not a member of 'Services'.

AndAlso Services.Scheduling.SchedulingProvider.ReadyForPoll Then
~~~~~~~~~~~~~~~~~~~
C:\Inetpub\DotNetNuke\Website\App_Code\Global.asax.vb(328) : error BC30002: Type 'SchedulingProvider' is not defined.

Dim scheduler As SchedulingProvider = SchedulingProvider.Instance
~~~~~~~~~~~~~~~~~~
C:\Inetpub\DotNetNuke\Website\App_Code\Global.asax.vb(334) : error BC30456: 'Scheduling' is not a member of 'Services'.

Services.Scheduling.SchedulingProvider.ScheduleLastPolled = Now
~~~~~~~~~~~~~~~~~~~
C:\Inetpub\DotNetNuke\Website\App_Code\Global.asax.vb(339) : error BC30451: Name 'LogException' is not declared.

LogException(exc)
~~~~~~~~~~~~
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\2215839e\2199b5e3\App_Code.qgoozxdo.3.vb(16) : warning BC40031: Name '__ASP' is not CLS-compliant.

Namespace __ASP
~~~~~






--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42


Code:

Private Sub CheckVersion()
Dim Server As HttpServerUtility = HttpContext.Current.Server
Dim Request As HttpRequest = HttpContext.Current.Request
Dim Response As HttpResponse = HttpContext.Current.Response

'check if this is an "html" file
If Request.Url.LocalPath.ToLower.EndsWith(".html") Then
Exit Sub
End If

Dim AutoUpgrade As Boolean
If Config.GetSetting("AutoUpgrade") Is Nothing Then
AutoUpgrade = True
Else
AutoUpgrade = Boolean.Parse(Config.GetSetting("AutoUpgrade"))
End If

'Determine the Upgrade status and redirect to Install.aspx
Select Case GetUpgradeStatus()
Case Globals.UpgradeStatus.Install, Globals.UpgradeStatus.Upgrade
If AutoUpgrade Then
Response.Redirect("~/Install/Install.aspx?mode=Install")
Else
CreateUnderConstructionPage()
Response.Redirect("~/Install/UnderConstruction.htm")
End If
Case Globals.UpgradeStatus.Error
If AutoUpgrade Then
Response.Redirect("~/Install/Install.aspx?mode=none")
Else
CreateUnderConstructionPage()
Response.Redirect("~/Install/UnderConstruction.htm")
End If
End Select
End Sub
 --------------------------------------------------------------------------------------------------------------------

 I found this link:

http://www.dotnetnuke.com/DotNetNukeProjects/ModuleContacts/tabid/832/EntryID/240/Default.aspx

Does the link mean I can't just download the DNN code and try an run it from IIS because the assemblies need to be built?

Does that mean it has to belong to a project so the assemblies can be built before running DNN 4.0?

Thanks
ASKER CERTIFIED SOLUTION
Avatar of Yurich
Yurich
Flag of New Zealand image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
sorry, i don't agree with you C grade and if you don't change it, I'll submit a complain to the moderators. if something was not answered correctly or didn't work, please say it.
Avatar of Sanjeet

ASKER

Mistake sorry.
 How do I change it?


I appeciate the help.