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 ...Install with WebMatrixInstall with WebMatrix
Previous
 
Next
New Post
3/9/2012 12:28 PM
 

I've seen the same errors I'm posting here in various location, but none of the solutions seem to work. Here's what I've got:

My workstation:

Windows XP, WebMatrix: 7.1.1073.1 and all the necesasry software for WebMatrix to run. I can login to the DotNetNuke server on my workstation and make modification, and all works well.

I create the DotNetNuke site with WebMatrix and then I publish it to the Windows Server 2008 R2, runnin MS SQL Server Express (64-bit) Version 10.50.1600.1. (DotNetNuke 6.01.03)

When I connect to DotNetNuk on the 2008 R2 server after publising, I'm directed to the Installation Wizard. The Auto feature is greyed out, so this is the first place that I think my connection to thAle db may be a problem. File Permissions pass all the checks. Under configure Database Connection, I use the following: SQL Server 2005/2008 Database Server: servername\SQLEXPRESS Database: DotNetNuke Integrated security and Run as db Owner are selected.

OutPut:

Connection Error(S):

Index #: 0

Source: .Net SqlClient Data Provider

Class: 14

Number: 18456

Message: Sql login failed

I've tried this with the DotNetNuke account and the Administrator account. My Server Authentication is set to Window Authentication Mode.

 

 

 
New Post
3/9/2012 4:12 PM
 

Is SQL express configured to "Allow Remote Connections"?

Under which account is SQL Express  running?

Do you have the same account permissions on your web folder/AppPool as SQL Express?

 


Ken Grierson
DotNetNuke Corporation
Test Lead
 
New Post
3/12/2012 12:31 PM
 
Yes, "Allow remote connections to this server" is checked!

SQL Server (SQLEXPRESS) is now running under Administrator it was running under "Network Service".

I'm not sure I understand the last question.. What I did to check this: I selected DotNetNuke under Sites, and then I right clicke on the "Application Settings", and then "Basic Settuings". Under "Basic Settings" I clicked on "Test Settings" it passsed. The Authorization Path is set to c:\inetpub\wwwroot\DotNetNuke and Authentication is set to Administrator.

When I double clicked on Application Setting I noticed the data source looks like this:
Data Source=\.SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|Database.mdf;

Is the Database.mdf correct if I'm using SQLExpress?
 
New Post
3/12/2012 4:43 PM
 

I just started over. I deleted all the previous configurations. I then did a webinstall. 2008r2 and SQLExpress. Then I used WebMatrix to publish a DotNetNuke website. I tried to connect with Integrated security this is what I got:

Connection Error(s):

Index #:0

Source: >net SqlClient Data Provider

Class: 11

Number: 4060

Message: Invalid Database


Index #: 1

Source: >net SqlClient Data Provider

Class: 14

Number: 18456

Message: Sql login failed


If I try it without the Integrated Security Checked I get the following: (using administrator as the User ID)

Connection Error(s):

Index #: 0

Source: .Net SqlClient Data Provider

Class: 14

Number: 18456

Message: Sql login failed


 
New Post
3/12/2012 5:07 PM
 

Database.mdf is correct for SQL Express.

Database.mdf is the pre-set database we ship with DotNetNuke for use with SQL Express

You should be using the same account for permissions for AppPool and SQL Express as well as your web folder.

If you're AppPool is set for Network Service, your SQL Express permission should also use Network Service

Your web folder, where DotNetNuke files reside, should have IIS_IUSRS and Network Service accounts set for folder permissions


Ken Grierson
DotNetNuke Corporation
Test Lead
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Install with WebMatrixInstall with WebMatrix


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