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 ...XP PRo and ExpressXP PRo and Express
Previous
 
Next
New Post
9/25/2006 6:31 AM
 

Hi I am still getting an error in the connection string. Can someone take a look and tell me what is out of place.

<connectionStrings>
    <!-- Connection String for SQL Server 2005 Express -->
    <add name="SiteSqlServer"connectionString="Data Source=workstation\SQLExpress;Database=dnn;User
ID=me;Password=password;Connection Timeout=5;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>
  <appSettings>
    <!-- Connection String for SQL Server 2005 Express - kept for backwards compatability - legacy modules   -->
    <add name="SiteSqlServer"connectionString="Data Source=workstation\SQLExpress;Database=dnn;User
ID=me;Password=password;Connection Timeout=5; Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|Database.mdf;"providerName="System.Data.SqlClient" />

 

Server Error in '/dotnetnuke' 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: 'connectionString' is an unexpected token. Expecting white space. Line 23, position 30.

Source Error:

Line 21:   <connectionStrings>
Line 22:     <!-- Connection String for SQL Server 2005 Express -->
Line 23:     <add name="SiteSqlServer"connectionString="Data Source=workstation\SQLExpress;Database=DotNetNuke;User ID=DotNet;Password=477845975;Connection Timeout=5;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|Database.mdf;"providerName="System.Data.SqlClient" />
Line 24:     <!-- Connection String for SQL Server 2000/2005
Line 25:     <add

Source File: C:\dotnetnuke\Website\web.config    Line: 23


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

 

I am still getting this error in the connection string. Any help is greatly appreciated! Thank you!

 
New Post
9/25/2006 1:25 PM
 

its looking for a white "space":

<!-- Connection String for SQL Server 2005 Express -->
    <add
      name="SiteSqlServer" <--Space here-->
      connectionString="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|Database.mdf;"
      providerName="System.Data.SqlClient" />

-Mark

 

 

 

 

 
New Post
9/25/2006 8:30 PM
 
Yeah this morning before I saw this post I desided to try type out the exact words, and it worked and installed! Now my only problem is logging in as host and admin. It takes forever to load (xp pro/w 2.8 processor) and usually just loops me back to the home page with no login. Thank you RUGBYMW....It people like you that make this community great.
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...XP PRo and ExpressXP PRo and Express


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