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 confusionweb.config confusion
Previous
 
Next
New Post
2/7/2007 12:58 PM
 
I am working on trying to get the latest DNN installed. However I am having some issues understanding the web.config file. As when I go to the addy to install DNN it says it cant connect tot he db.

My server: Small Bus. Server 2003 with MSSQL 2000 and IIS6

Server name: Server1
Database name: grimoirecodex
userid for database: grimoire account

Here I have changed:
<add key="SiteSqlServer" value="Server=(local); Database=DotNetNuke;
uid=;pwd=;" /> ).

To this:

<add key="server1" value="Server=(local); Database=grimoirecodex;
uid=grimoire account;pwd=mysqlpassword;" /> ).

I did this within all instances under the MSSQL entries

What am I doing wrong? Thanks for any help
 
New Post
2/7/2007 2:24 PM
 
key name needs always to be kept as "SiteSqlServer"

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
2/7/2007 3:13 PM
 

As mentioned above, you must keep the key name as SiteSqlServer unless  you change that everywhere.

Otherwise your setup looks correct as long as it is a default instance of SQL Server and not a named instance.


-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/7/2007 8:25 PM
 
mitchel.sellers@gmail.com wrote

As mentioned above, you must keep the key name as SiteSqlServer unless  you change that everywhere.

Otherwise your setup looks correct as long as it is a default instance of SQL Server and not a named instance.



Ok I think I corrected the issue, here is my new file:

<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=grimoirecodex;uid=grimoire access;pwd=mypassword;"
      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=grimoirecodex;uid=grimoire access;pwd=mypassword;"/>
    -->

I did not change any other aspect in the file. Yet I still get 'cant connect to database' error. Is the username "grimoire access" with the space causing the issue? (I know coming from a PHP CMS that would be a issue with MySQL)

When I installed MSSQL I believe I did do a default install. Any suggestion appreciated.
 
New Post
2/7/2007 8:34 PM
 
ACK! My bad... was a pw issue that is now corrected. Now I get the following error:

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)

yet I am trying a fresh install not a upgrade...?
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...web.config confusionweb.config confusion


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