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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Configure SQL2005 DatabaseConfigure SQL2005 Database
Previous
 
Next
New Post
5/13/2008 7:44 PM
 

From this bit of your original post "I have verified the login by logging on to a machine as the user opening sql2005 & opening the database with no errors." it's clear that you're trying to enter domain account details into the DNN install - this won't work, but I think you already know that .

It's probably easiest to use a SQL Login for DNN, the following SQL script will create one for you if there isn't one available;

USE [master]
GO
CREATE LOGIN [DNNUser] WITH PASSWORD=N'SomeSafePassword', DEFAULT_DATABASE=[master], CHECK_EXPIRATION=OFF, CHECK_POLICY=OFF
GO
USE [MyDNNDatabase]
GO
CREATE USER [DNNUser] FOR LOGIN [DNNUser]
GO
USE [MyDNNDatabase]
GO
EXEC sp_addrolemember N'db_owner', N'DNNUser'
GO

Change the various names as appropriate, then use the login name and password as your DNN database login details. Using this login the DNN app will have full access to the database (but not the database server) so, from a security perspective, if your DNN is compromoised, so is your database.

It's also worth bearing in mind that sometimes 'login failed' can mean other things like  'Couldn't find server' or 'Couldn't read connection string'  - just make sure you double check everything 


www.rmjcs.com - Mostly SQL Server Stuff
 
New Post
5/13/2008 11:30 PM
 

Thanks Rhys,

Thsi script was helpful & also noted that i spelt the database wrong when i created it.

Have a great day!

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Configure SQL2005 DatabaseConfigure SQL2005 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