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 ...Almost installedAlmost installed
Previous
 
Next
New Post
6/26/2008 11:57 AM
 

SAME Here, I have reinstalled several times, Went back a couple versions then upgraded. All went well until I click on the login button
I get the error

A critical error has occurred.
web.config(24): error CS0138: A using namespace directive can only be applied to namespaces; 'System.Configuration.ConfigurationManager' is a type not a namespace

The Event Log is as Below:

Event Type: Warning
Event Source: ASP.NET 2.0.50727.0
Event Category: Web Event
Event ID: 1309
Date:  6/26/2008
Time:  11:41:35 AM
User:  N/A
Computer: HCWEBB
Description:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 6/26/2008 11:41:35 AM
Event time (UTC): 6/26/2008 3:41:35 PM
Event ID: 0aeac505bb904c7d8fe695e74502d1c0
Event sequence: 6
Event occurrence: 1
Event detail code: 0
 
Application information:
    Application domain: /LM/W3SVC/2018729876/Root/HG-41-128589684146268901
    Trust level: Full
    Application Virtual Path: /HG
    Application Path: C:\Inetpub\wwwroot\NEWHG\
    Machine name: HCWEBB
 
Process information:
    Process ID: 2632
    Process name: w3wp.exe
    Account name: NT AUTHORITY\NETWORK SERVICE
 
Exception information:
    Exception type: SqlException
    Exception message: Could not find stored procedure 'dbo.GetHostSettings'.
 
Request information:
    Request URL: 
    Request path: 
    User host address: 
    User: 
    Is authenticated: False
    Authentication Type: 
    Thread account name: NT AUTHORITY\NETWORK SERVICE
 
Thread information:
    Thread ID: 16
    Thread account name: NT AUTHORITY\NETWORK SERVICE
    Is impersonating: False
    Stack trace:    at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
   at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
   at System.Data.SqlClient.SqlDataReader.ConsumeMetaData()
   at System.Data.SqlClient.SqlDataReader.get_MetaData()
   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
   at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
   at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
   at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior)
   at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(SqlConnection connection, SqlTransaction transaction, CommandType commandType, String commandText, SqlParameter[] commandParameters, SqlConnectionOwnership connectionOwnership)
   at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters)
   at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, CommandType commandType, String commandText)
   at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, String spName, Object[] parameterValues)
   at DotNetNuke.Data.SqlDataProvider.GetHostSettings()
   at DotNetNuke.Entities.Host.HostSettings.GetHostSettings()
   at DotNetNuke.Services.Scheduling.SchedulingProvider.get_SchedulerMode()
   at DotNetNuke.Services.Scheduling.DNNScheduling.Scheduler.CoreScheduler.Halt(String SourceOfHalt)
   at DotNetNuke.Services.Scheduling.DNNScheduling.DNNScheduler.Halt(String SourceOfHalt)
   at DotNetNuke.Common.Initialize.StopScheduler()
   at DotNetNuke.Common.Global.Application_End(Object sender, EventArgs e)
 
 
Custom event details:

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

THIS IS DRIVING me NuTS

 
New Post
7/15/2008 2:15 PM
 

Identical error here. Similar repro. I'm using SQL express, which I don't have a lot of experience with, so I haven't poked into the db yet to see what the status of that is.

The wierd thing in my case is that it was running fine last night. I installed, started configuring my default site, worked with some different settings via the web UI, etc. This morning, it isn't working and I'm getting this message when I browse to the site:

Server Application Unavailable

The web application you are attempting to access on this web server is currently unavailable.  Please hit the "Refresh" button in your web browser to retry your request.

Administrator Note: An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused this error to occur.

In the event log, I see a couple of errors related to running asp.net 1 and 2 in the same process. I turned off asp.net 1 in IIS. Then last night well after I was in the system, I find the same "Could not find stored procedure 'dbo.GetHostSettings'" message in the event log. I wonder if there was some sort of scheduled process that ran at that hour that threw the system into error?

 
New Post
7/16/2008 4:40 PM
 

....hmm

I reinstalled yesterday and it didn't go haywire overnight. It still seems to be running fine. The only thing that changed between the two installs was that I didn't add a handful of optional modules yesterday. (documents, events, store)

Today I went ahead and installed those modules, and then made sure I had the latest version of those with later versions. We'll see if the installation goes down overnight tonight.

Nothing makes me more nervous than a serious technical problem that mysteriously solves itself. I would hate to go into production and then wake up one morning with a bunch of hosting customers angry at me because the whole installation went down due to a mystery bug.

 
New Post
7/17/2008 7:58 AM
 

evan,

in general when I do an install I don't add any optional modules, as the additional load can cause issues if the setup does not have a lot of capacity i.e. a module such as the store or forum is almost as large as dotnetnuke itself, so theres a danger of timeouts - i suspect this is what you've seen.

Note: it's also a best practice to only install modules as you need them, as even unused installed modules take away capacity as they add files to the bin folder which makes it slower for app recycles.

Cathal


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Almost installedAlmost installed


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