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 ...Trying to find my Database File SQLExpressTrying to find my Database File SQLExpress
Previous
 
Next
New Post
10/6/2011 7:11 AM
 
Hi Guys,

I sucessfully installed DNN 601 on a VM with Win 2008R2, IIS7 and SQLExpress.

Everything is working fine - but when I went looking in the SQL Server Management studio I cannot find the database.

I found a script on a website that supposedly locates your master MDF file - and it came back with the MDF being in the NETWORK Service folder:

C:\Windows\ServiceProfiles\NetworkService\AppData\Local\Microsoft\Microsoft SQL Server Data\SQLEXPRESS

There are several MDFs there including a master and msdbdata.

I tried to attach these to the SQL Server Man Studio but they failed.

The connection string from the web.config is:

<connectionStrings>
    <!-- Connection String for SQL Server 2005/2008 Express
  <add name="SiteSqlServer" connectionString="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|Database.mdf;" providerName="System.Data.SqlClient"/-->
    <!-- Connection String for SQL Server 2005/2008 -->
    <add name="SiteSqlServer" connectionString="Data Source=(local);Integrated Security=True;User ID=downnunderNET;User Instance=True" providerName="System.Data.SqlClient" />
  </connectionStrings>

I did not edit the web.config before installing but I do have WebsitePanel installed. However not sure where this 2005/2008 connection string came from.

So my questions are:

Is this installation normal??
which database file actually holds my DNN site?
How do I get access in SQL Server Man Studio?

Cheers
Terry
 
New Post
10/7/2011 8:42 AM
 
I have dug a bit further.

The database is use by Network Service is the master.mdf with in its AppData Local ..... folder - I was able to back it up using the DNN Backup module - (Thanks Nova). I had to get another tool to open it as a virtual database in my Management Server and was able to confirm that it was correct and had all the tables for my DNN sites.

At this stage I think I will try a rebuild of the website and try a fresh DB install- hopefully this time it will create a DB in the SQLEXPRESS Data folder rather than under the Network Service folder.

According to the SQL Server Config tool the startup parameters show the default master db to be that in the program files SQL folder etc.

why then does Network Service have its own local master db etc????

This is my first experience with Express - I normally use a full server and have never had these sorts of issues.

Cheers
Terry


 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Trying to find my Database File SQLExpressTrying to find my Database File SQLExpress


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