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 ...4.4.1 installstion problems - Could not connect to database4.4.1 installstion problems - Could not connect to database
Previous
 
Next
New Post
3/30/2007 2:57 PM
 

I am trying to install  DNN 4.4.1 ( WIN WP Pro SP2 / IIS 5.1 / MS SQL 2000) By Windows installer.
the install completed but generated errors.  The Error Log is:

Error Installing DotNetNuke
Current Assembly Version: 04.04.01
ERROR: Could not connect to database specified in connectionString for SqlDataProvider

During Installation no error occured and  I recieved successful installation message but for loading install.aspx page it gnerate errors. All the DB username ,  DB password and DB Name are correct.

Anyone can help?

 
New Post
3/30/2007 8:44 PM
 
Please post the entire <connectionStrings> and <appSettings> sections of your web.config replacing the values for uid and pwd with 'xxx' for security reasons.  Can you connect to the database using SQL Server Management Studio or similar tool with the same username and password (not with Windows Authentication)?

Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
New Post
3/31/2007 3:03 AM
 

<connectionStrings>
  <!-- Connection String for SQL Server 2005 Express -->
  <add name="SiteSqlServer" connectionString="Server=(local);Database=DotNetNuke;uid=****;pwd=****;" 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 key="SiteSqlServer" value="Server=(local);Database=DotNetNuke;uid=****;pwd=****;"/>
  <!-- Connection String for SQL Server 2000/2005 - kept for backwards compatability - legacy modules
    <add key="SiteSqlServer" value="Server=(local);Database=DotNetNuke;uid=****;pwd=****;"/>
    -->
  <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>

=====================================

No problem for connecting to database with other tools include Server Management Studio with same username and password.

 
New Post
3/31/2007 5:51 AM
 
Please check your connection strings, also database and SQL Server collation, sometimes collation effects dnn installation. Btw are you using new DNN installer?

Or-Rouge Team Or-Rouge
Personally recommend Hostgator for hosting single or multiple DotNetNuke Websites.
DotNetNuke Tips and Tutorials
Install DotNetNuke to Godaddy root
DotNetNuke Türkçe Hakkinda Hersey
 
New Post
3/31/2007 7:48 AM
 
yes, I am using the latest installer version.by the way I check and  it was not the problem of  DB collation.
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...4.4.1 installstion problems - Could not connect to database4.4.1 installstion problems - Could not connect to database


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