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 ...web.config configuration errorweb.config configuration error
Previous
 
Next
New Post
12/10/2008 8:55 AM
 

DNN 4.9, Sql Express 2005, IIS6

I've got a site at GoDaddy running well. Want to set up a test on local 2k3 box. Per the doc's, I've downloaded, extracted and created my virtual site and application in IIS.

In IIS I have:

Site Root Basic Intranet, no web.config  
  SubFolder FlexWiki
  SubFolder DotNetNuke

FlexWiki works with it's own web.config in subfolder.

DotNetNuke will not install, and .Net 2 throws event 1310, "It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level.  This error can be caused by a virtual directory not being configured as an application in IIS."

This IS configured as an application in IIS, and shows in the DefaultAppPool.

I've seen others on the board with similar issues, and suggestions about placing the web.config into the web root, but this breaks my FlexWiki.

Any suggestions before I give up?

 
New Post
12/10/2008 2:32 PM
 
  1. Moved site to root of new Web.
  2. Got installer to run, and used my Sql Express DB created in past attempts.
  3. During the "Run Database Installation Scripts" phase, dnn_Version table get's created, and an Event in the logs appears:

Yes, the Network Service has all rights to my web root, and below.

 

Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 12/10/2008 1:21:28 PM
Event time (UTC): 12/10/2008 7:21:28 PM
Event ID: addefc14edcc49aca53a24640988bd59
Event sequence: 6
Event occurrence: 1
Event detail code: 0

Application information:
Application domain: /LM/W3SVC/1697751234/Root-11-128734104722072636
Trust level: Full
Application Virtual Path: /
Application Path: C:\Inetpub\wwwroot\w\
Machine name: IBSTS

Process information:
Process ID: 9160
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE

Exception information:
Exception type: SqlException
Exception message: Could not find stored procedure 'dbo.dnn_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: 1
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)

 
New Post
12/11/2008 12:30 PM
 

Tried this a number of times, checking DB and Web permissions. ASP.NET user has full rights to my web root, and dnn user full rights to DB. Still has the same error.

Sooooo, I give up on a local installation, and check out GoDaddy, and find that since I have a 4.8.4 installation there (actually a 4.9, but I manually installed the upgrade), their hosting allows another installation of a "new" package.

SAME ISSUE FOR THEM! Three stored procedures are created, with the Versions table, and_nothing_else.

It'll be interesting to see if they figure this out, not that anyone on this friggin' board is following this thread....

 
New Post
12/11/2008 3:00 PM
 

Utterly flabergasted, he selected the Auto method, after manually configuring the Sql connection string, and *PRESTO*, it installs. GrumbleGrumbleGrumble

 

Sql Express 2005

<connectionStrings>
<add name="SiteSqlServer" connectionString="Data Source=HostName\SQLEXPRESS;Initial Catalog=DNN;Integrated Security=False;uid=MYUSER;pwd=MYPASS;" />
</connectionStrings>

<appSettings>
<add key="SiteSqlServer" value="Data Source=HostName\SQLEXPRESS;Initial Catalog=DNN;Integrated Security=False;uid=MYUSER;pwd=MYPASS;" />
 

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...web.config configuration errorweb.config configuration error


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