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 ...Unrecognized attribute Unrecognized attribute 'key'. Note that attribute names are case-sensitive.
Previous
 
Next
New Post
4/25/2006 3:00 PM
 

Here is the error message i m getting on win2k3, iis 6, .net 2 server. I ve been trying to install dotnetnuke 4.0.3 on it but it gives the connection error mentioned 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: Unrecognized attribute 'key'. Note that attribute names are case-sensitive.

Source Error:


Line 21:     <!-- Connection String for SQL Server 2000/2005 -->
Line 22:    
Line 23:     <add key="SiteSqlServer" value="Server=212.223.*.*;Database=mysite;uid=myid;pwd=mypass;"/>
Line 24:  
Line 25:   </connectionStrings>
 

Source File: D:\Domains\mysite\wwwroot\web.config    Line: 23


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

 

 
New Post
4/26/2006 9:49 AM
 
Looks like you have your two connection strings mixed up. When using 4.x, you have to have one in appSettings and one in connectionStrings. The add element with key and value attributes belongs in the appSettngs. The one in connectionStrings looks like this:

<add name="SiteSqlServer"
  connectionString="..."
  providerName="System.Data.SqlClient" />



Michael Flanakin | Microsoft Consulting Services
www.michaelflanakin.com
 
New Post
4/26/2006 10:03 AM
 
Thanks flanakin. I figured it out after i posted the message perhaps i should ve drink more coffee yesterday .
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Unrecognized attribute Unrecognized attribute 'key'. Note that attribute names are case-sensitive.


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