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 ...Accessing DNN Database with SQL Express Management StudioAccessing DNN Database with SQL Express Management Studio
Previous
 
Next
New Post
2/9/2009 11:30 AM
 

Hi everyone, thanks in advance for any suggestions.

I am having a hard time Attaching the DNN database file in SQL Express Management Studio. Whenever I try to attach, I get an error that the database is locked. Of course, I have been using Windows Authentication.

I have found some posts and blog entries like this one:
http://www.dotnetnuke.com/Community/Blogs/tabid/825/EntryId/1202/DNN-SQLExpress-SQL-Server-Management-Studio.aspx

Seems like I can use this to open up simultaneous access to the website & mgmt studio, but I don't know what the username/password for the SQL database is. I used the easy installation for DNN that already included the SQL database file. I have since changed my Host and Admin passwords and created users, but I am assuming that the SQL database username/password is completely different.

Could anyone point me in the right direction?

 
New Post
2/9/2009 11:32 AM
 

Check the web.config file in your DNN installation. Within the connectionstring section there should (hopefully) be a username/password you can use.



Alex Shirley


 
New Post
2/9/2009 11:41 AM
 

Thank you for the reply. Here's the connection string:

<add name="SiteSqlServer" connectionString="Data Source=.\SQLExpress;AttachDbFilename=|DataDirectory|Database.mdf;Integrated Security=True;User Instance=True" providerName="System.Data.SqlClient" />

I assume the Integrated Security is being used instead of a SQL username/password?

Thanks!

 
New Post
2/9/2009 2:15 PM
 

Try this if you want to get away from intigrated security:

http://support.microsoft.com/kb/269587



Alex Shirley


 
New Post
2/9/2009 3:35 PM
 

Yes, thanks for the link. I will definitely give this a go.

The other question still surrounds the SQL username/password. I am obviously fairly ignorant about this, and I apologize, but should I be looking into creating a username/password in the SQL Management Studio or is there one already attached to it from the default installation of DNN?

Thanks again!

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Accessing DNN Database with SQL Express Management StudioAccessing DNN Database with SQL Express Management Studio


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