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 ... Parser Error Message: The connection name Parser Error Message: The connection name 'SiteSqlServer' was not found in the applications configu
Previous
 
Next
New Post
1/10/2006 2:56 AM
 
First time installing DNN (I'm running DNN4) and I'm getting an error that I can't figure out.

Here is what I've done so far:
  1. Extrancted files into inetpub/nuke
  2. created application in IIS, gave aspnet user write to dir
  3. created db in MSDE with user DNNuser and a password.
  4. Entered server, uid, pwd values into release.config and renamed to web.config
pull up http://localhost/nuke and recieve the following error:

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

Source Error:


Line 235: type="DotNetNuke.Security.Role.DNNSQLRoleProvider, DotNetNuke.Provider.SQLRoleProvider"
 
New Post
1/10/2006 3:37 PM
 
Did you make sure that both SiteSqlServer settings are configured properly, including the one in <connectionStrings>

  <connectionStrings>
    <!-- Connection String for SQL Server 2005 Express -->
    <add
      name="SiteSqlServer"
      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="SiteSqlServer"
      connectionString="Server=(local);Database=DotNetNuke;uid=;pwd=;"
      providerName="System.Data.SqlClient" />
   -->
  </connectionStrings>


Charles Nurse
Chief Architect
Evoq Content Team Lead,
DNN Corp.

Want to contribute to the Platform project? - See here
MVP (ASP.NET) and
ASPInsiders Member
View my profile on LinkedIn
 
New Post
1/11/2006 1:17 AM
 
So--not thinking--I deleted the sql server 2k5 express conn string thinking "I don't need that because I'm using 2k" but thats what threw the error.  I just pasted what you've got above however I am still unable to connect to the db:

DotNetNuke Upgrade Error

The Assembly Version ( [ASSEMBLYVERSION] ) does not match the Database Version ( [DATABASEVERSION] )

ERROR: Could not connect to database.

An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)

My confusion, I think, has to do with the  conn string for sql 2k5 express.  Here is what I have (uid/pwd removed but verified as being correct in db and applied as dbo to the dnn database)

<connectionStrings>
    <!-- Connection String for SQL Server 2005 Express -->

    <add
      name="SiteSqlServer"
      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="SiteSqlServer"
      connectionString="Server=(MyServerName);Database=DotNetNuke;uid=DNNUser;pwd=******;"
      providerName="System.Data.SqlClient" />
   -->
  </connectionStrings>


 
New Post
1/13/2006 4:49 PM
 
bump
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ... Parser Error Message: The connection name Parser Error Message: The connection name 'SiteSqlServer' was not found in the applications configu


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