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 File HelpWeb Config File Help
Previous
 
Next
New Post
2/19/2008 10:53 AM
 

Hi first time trying to install dnn on windows sbs2003 and sql server 2005 with sp1. I have followed all the steps and in the wizard when I test datbase connection, I keep getting a named pipes error. I have turned on named pipes in sql. Can someone please post what a correct web.config show should look like for installing on sql server 2005. I believe I need to comment out the sql express code but I dont know how to. thanks. The server name is server user name is user and password is password.

 
New Post
2/19/2008 1:25 PM
 

Here you go. Note that you can definitely just remove the comments (green) and only include the two connection strings.

   1:    <connectionStrings>
   2:      <!-- Connection String for SQL Server 2005 Express 
   3:          <add name="SiteSqlServer" connectionString="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|DotNetNuke.mdf;" providerName="System.Data.SqlClient"/>
   4:      -->
   5:      <!-- Connection String for SQL Server 2000/2005 -->
   6:      <add name="SiteSqlServer" connectionString="Server=server;Database=dbName;uid=user;pwd=password;" providerName="System.Data.SqlClient" />
   7:    </connectionStrings>
   8:    <appSettings>
   9:      <!-- Connection String for SQL Server 2005 Express - kept for backwards compatability - legacy modules 
  10:      <add key="SiteSqlServer" value="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|DotNetNuke.mdf;"/>
  11:          -->
  12:      <!-- Connection String for SQL Server 2000/2005 - kept for backwards compatability - legacy modules     -->
  13:      <add key="SiteSqlServer" value="Server=server;Database=dbName;uid=user;pwd=password;" />

Hope it helps,


Brian Dukes
Engage Software
St. Louis, MO
866-907-4002
DNN partner specializing in custom, enterprise DNN development.
 
New Post
2/20/2008 8:15 AM
 

Hi and thanks for taking the time to help me out, I am still getting an error when i browse to dotnetnuke this is what I'm getting now. I just copied and pasted your text.

Parser Error Message: The configuration section cannot contain a CDATA or text element.

Source Error:

Line 25: 	<appSettings>
Line 26: 		
Line 27: 		<add key="SiteSqlServer" value="Server=server;Database=dotnetnuke;uid=user;pwd=password;" />
Line 28:    -->
Line 29: 		<add key="InstallTemplate" value="DotNetNuke.install.config" />

Source File: C:\DotNetNuke\web.config    Line: 27

 
New Post
2/20/2008 4:49 PM
 

It looks like that closing comment tag on line 28 is what it's actually complaining about.  Take that out and let me know if that's any better.


Brian Dukes
Engage Software
St. Louis, MO
866-907-4002
DNN partner specializing in custom, enterprise DNN development.
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Web Config File HelpWeb Config File Help


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