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 ...Configure Database Connection - INSTALL package 4.9.4Configure Database Connection - INSTALL package 4.9.4
Previous
 
Next
New Post
6/25/2009 6:18 PM
 

I am having trouble getting past the CONFIGURE DATABASE CONNECTION page.  When I click on my TEST DATABASE CONNECTION, I get a Connection Error(s) notificatioin

Select Database: SQL Server 2005/2008 (Express)
Server:  TEST1\SQLEXPRESS
Filename:  dnn494
User ID:  dnn494user
Password:  dnn494pass
Run as db Owner:  (Checked)
--------------------------------------------------------------------------------
Connection Error(s):
Index #: 0
Source: .Net SqlClient Data Provider
Class: 14
Number: 18456
Message: Login failed for user 'dnn494user'.

My Connection String looks like this:
 

     <connectionStrings>
    <add
      name="SiteSqlServer"
      connectionString="Server=TEST1\SQLEXPRESS;Database=dnn494;uid=dnn494user;pwd=dnn494pass;"
      providerName="System.Data.SqlClient" />
    </connectionStrings>
    <appSettings>
    <add key="SiteSqlServer" value="Server=TEST1\SQLEXPRESS;Database=dnn494;uid=dnn494user;pwd=dnn494pass"/>
        <add key="InstallTemplate" value="DotNetNuke.install.config" />
        <add key="AutoUpgrade" value="true" />
        <add key="UseInstallWizard" 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-->
        <!-- set UsePortNumber to true to preserve the port number if you're using a port number other than 80 (the standard)
    <add key="UsePortNumber" value="true" /> -->
    </appSettings>

By looking in my MSQL Server Management Studio under TEST1\SQLEXPRESS, under Databases I have dnn494 listed, under SECURITY | LOGINS section, I have dnn494user listed too.  Under that properties, The login name is dnn494user, pasword should be dnn494pass, Default Database is dnn494.  Under User Mapping I have checked Database dnn494, User dnn494user, Default Schema dbo and Database role membership is db_owner and publc.

Can anyone else provide any insight on what I am doing wrong?  Dont worry about what credential I provided, this is a test machine.  This test machine is WinXP Pro using IIS 5.1, SQLEXPRESS 2008, ASPNET 2.0

 

 
New Post
6/26/2009 4:05 AM
 

make sure to create the database user "dnn494" with database management tool (like SQL Server Management Studio) and grant dbo permission to your database. Also make sure to enable TCP/IP for db server and client as well as grant permission for remote connections. 


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
6/26/2009 11:01 AM
 

Sebastian Leupold wrote

make sure to create the database user "dnn494" with database management tool (like SQL Server Management Studio) and grant dbo permission to your database. Also make sure to enable TCP/IP for db server and client as well as grant permission for remote connections. 

Sebastian, I figured it out.  I was not closely following some documentation, per link below.  It turns out that the web.config file has default parameters for the MSSQL Express 2005, 2008 already set to be used.  I kept taking it out and used the MSSQL 2005, 2008 Server connection parameters instead.

With a couple glitches here and there, I worked it out and finally got it successfully installed.

This link actually provided better instructions to install as it was more detailed.  I was able to figure out what was different in my situation using Windows XP Pro, IIS 5.1 and MSSQL Server 2008 Express with ASP.Net 2.0.  Also using the INSTALL package 4.9.4

http://www.bestwebsites.co.nz/dotnetnuke/easy-dotnetnuke-installation-guide/

I think the DotNetNuke Installation Instructions could use more work.   Regardless, Sebastian, I do appreciate your efforts in trying to answer a multitude of questions for us NEWBS.

Thanks again.

 
New Post
6/26/2009 11:50 AM
 

Chuck,

with DNN 4.5 and later, you do not need any longer to touch manually the web.config on install and upgrade, the install wizard will guide you through this configuration. Anyway, have fun using DNN!


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Configure Database Connection - INSTALL package 4.9.4Configure Database Connection - INSTALL package 4.9.4


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