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 ...Reward fot the one person that can help me.Reward fot the one person that can help me.
Previous
 
Next
New Post
2/19/2007 11:16 AM
 
For over a week i have been trying to install dotnetnuke, but i can`t figure it out. I am getting an error message of can`t connect to database, and this is really frustrating since the connection string is correct.

I bet someone with a little better knowledge than myself could figure this out in i matter of minuts, maybe even seconds. I someone would be so kind as to help me solve this problem, and provide me an answer of what i did wrong, i will reward that person with US 50.

Contact me here or via email at morten.myhre@vekstfokus.no
or skype at username nyttfirma

Thank you, and i hope someone takes the time to help me out. Payment prefferably to Ewallet such as paypal upon DNN up and working.

Copy of connection string from web config file. Password XXXX`out.

<!-- 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="sql01.fastname.no;Database=krching;uid=krching;pwd=XXXXXXX;"
      providerName="System.Data.SqlClient" />
   -->
  </connectionStrings>
  <appSettings>
    <!-- Connection String for SQL Server 2005 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 2000/2005 - kept for backwards compatability - legacy modules
    <add key="SiteSqlServer" value="Server=(local);Database=;uid=;pwd=;"/>
    -->
 
New Post
2/19/2007 12:13 PM
 

Let me start with that I do this for free. Not that I'm sure I'll give you the right solution, but I'll try to help

The error message you're talking about; what does it exactly say? Are all permissions set correctly?

Oh, hold on, I see it. I've got your setup copied, and changed a few things (bold is changed/added, italic underlined needs to be removed ):

<!-- 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="sql01.fastname.no;Database=krching;uid=krching;pwd=XXXXXXX;"
      providerName="System.Data.SqlClient" />
   -->
  </connectionStrings>
  <appSettings>
    <!-- Connection String for SQL Server 2005 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 2000/2005 - kept for backwards compatability - legacy modules -->
    <add key="SiteSqlServer" value="sql01.fastname.no;Database=krching;uid=krching;pwd=XXXXXXX;"/>
    -->

 Not sure if it's completely clear, so let me explain: if you're using SQL 2000, you need to comment out the SQL Express part ( <!-- .... -->). This needs to be done in both locations. That's what I tried to make clear above.

 
New Post
2/19/2007 12:42 PM
 
Now the code looks like this, and i get a runtime error instead.

(<!-- 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="sql01.fastname.no;Database=krching;uid=krching;pwd=afce54e6;"
      providerName="System.Data.SqlClient" />
 
  </connectionStrings>
  <appSettings>
    (<!-- Connection String for SQL Server 2005 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 2000/2005 - kept for backwards compatability - legacy modules
    <add key="SiteSqlServer"
    value="Server=sql01.fastname.no;Database=krching;uid=krching;pwd=afce54e6;"/>
  
    <add key="InstallTemplate" value="DotNetNuke.install.config" />
    <add key="AutoUpgrade" value="true" />
    <add key="InstallMemberRole" value="true" />
    <add key="ShowMissingKeys" value="false" />
    <add key="EnableWebFarmSupport" value="false" />
    <add key="EnableCachePersistence" value="false"/>
 
New Post
2/19/2007 2:54 PM
 
I too will help you for free, I am on skype with a username of mitchsellers.  I will be online after 5PM Central time and gladly willing to walk you through the process to fix it....

-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
New Post
2/19/2007 3:22 PM
 

Try the settings below.

Make sure that you do not have duplicate <connectionStrings> and <appSettings>

Hope it helps

Tony Stallan

  <connectionStrings>
    <add
      name="SiteSqlServer"
      connectionString="sql01.fastname.no;Database=krching;uid=krching;pwd=afce54e6;"
      providerName="System.Data.SqlClient" /> 
  </connectionStrings>
  <appSettings>
    <add key="SiteSqlServer" value="Server=sql01.fastname.no;Database=krching;uid=krching;pwd=afce54e6;"/>
    <add key="InstallTemplate" value="DotNetNuke.install.config" />
    <add key="AutoUpgrade" value="true" />
    <add key="InstallMemberRole" value="true" />
    <add key="ShowMissingKeys" value="false" />
    <add key="EnableWebFarmSupport" value="false" />
    <add key="EnableCachePersistence" value="false"/>
    <add key="HostHeader" value="" /><!-- Host Header to remove from URL so "www.mydomain.com/johndoe/Default.aspx" is treated as "www.mydomain.com/Default.aspx" -->
    <add key="RemoveAngleBrackets" value="false" /><!--optionally strip angle brackets on public login and registration screens-->
    <add key="PersistentCookieTimeout" value="0" /><!--use as persistent cookie expiration. Value is in minutes, and only active if a non-zero figure-->
  </appSettings>

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Reward fot the one person that can help me.Reward fot the one person that can help me.


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