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 ...Install issueInstall issue
Previous
 
Next
New Post
5/12/2013 7:36 PM
 

Server Error in '/' Application.

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: The connection name 'LocalSqlServer' was not found in the applications configuration or the connection string is empty.

Source Error:

Line 245: <roleManager> Line 246: <providers> Line 247: <add name="AspNetSqlRoleProvider" connectionStringName="LocalSqlServer" applicationName="/" type="System.Web.Security.SqlRoleProvider, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> Line 248: <add name="AspNetWindowsTokenRoleProvider" applicationName="/" type="System.Web.Security.WindowsTokenRoleProvider, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> Line 249: </providers>

Source File: C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\machine.config Line: 247


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18034

I am having an issue installing DNN 7. I know this is something to do with the connection string but cannot figure out what. Current entries in connection string is pasted below.

<!-- Connection String for SQL Server 2008/2012 Express - kept for backwards compatability - legacy modules   -->
    <add key="SiteSqlServer" value="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|Database.mdf;"/>
    <!-- Connection String for SQL Server 2008/2012 - kept for backwards compatability - legacy modules
    <add key="SiteSqlServer" value="Server=(local);Database=DotNetNuke;uid=;pwd=;"/>
    -->
 <!-- Connection String for SQL Server 2005/2008 - kept for backwards compatability - legacy modules -->
 <add key="SiteSqlServer" value="Server=.\MSSQLSERVER2008;Database=DotNetNuke_7;uid=DotNetNuke_c;pwd=iS!K915fGs;"/>

 

 

 
New Post
5/15/2013 1:54 AM
 

I am having an issue installing DNN 7. I know this is something to do with the connection string but cannot figure out what. Current entries in connection string is pasted below.

 Server Error in '/' Application.

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: The connection name 'LocalSqlServer' was not found in the applications configuration or the connection string is empty.

Source Error:

Line 245:  Line 246:  Line 247:  Line 248:  Line 249: 

Source File: C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\machine.config Line: 247


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18034

I am having an issue installing DNN 7. I know this is something to do with the connection string but cannot figure out what. Current entries in connection string is pasted below.

<!-- Connection String for SQL Server 2008/2012 Express - kept for backwards compatability - legacy modules   -->
   
    <!-- Connection String for SQL Server 2008/2012 - kept for backwards compatability - legacy modules
   
    -->
 <!-- Connection String for SQL Server 2005/2008 - kept for backwards compatability - legacy modules -->
 

 

 

 

 
New Post
5/15/2013 11:21 AM
 

Make sure that you aren't looking at the COMMENTED OUT connection strings.

 

Anything that is between 

<!--

 

and 

 

-->

 

is a Comment in the web.config


Chris Hammond
Former DNN Corp Employee, MVP, Core Team Member, Trustee
Christoc.com Software Solutions DotNetNuke Module Development, Upgrades and consulting.
dnnCHAT.com a chat room for DotNetNuke discussions
 
New Post
5/15/2013 11:26 AM
 
You also apparently have both a SQL EXPRESS and a full SQL Server connection string. You should have two connection strings, one in the CONNECTIONSTRINGS node, and one in the AppSettings node. The value for each should be the same

Chris Hammond
Former DNN Corp Employee, MVP, Core Team Member, Trustee
Christoc.com Software Solutions DotNetNuke Module Development, Upgrades and consulting.
dnnCHAT.com a chat room for DotNetNuke discussions
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Install issueInstall issue


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