Register   Login
     
  Latest Posts  
RE: News Articles Tokens
by spirit on 3/21/2010 10:27 PM
RE: News Articles Tokens
by ray-isc on 3/21/2010 3:04 PM
RE: Can'd add photo
by rsobari on 3/21/2010 10:17 AM
Tracking image/file clicks
by spirit on 3/21/2010 8:46 AM
Catcha doesnt seem to work
by chaloum on 3/20/2010 8:16 PM
RE: Recently created articles are not shown in list
by atriage on 3/20/2010 10:15 AM
RE: Recently created articles are not shown in list
by spirit on 3/20/2010 10:08 AM
RE: Introducing the most powerful News Slider for Ventrian News Articles
by jhoelz on 3/19/2010 9:29 PM
Rich Snippets for Review, Ratings etc!
by georgelew on 3/19/2010 7:49 PM
Recently created articles are not shown in list
by atriage on 3/19/2010 11:18 AM
  Forums  
Subject: Database location....
Prev Next
You are not authorized to post a reply.

Author Messages
Joe LaTulippeUser is Offline
Registered Users
Ventrian Active Member
Ventrian Active Member
Posts:31

6/04/2009 12:14 PM  

Good day,

Looking for some clarification on the database used with DNN (4.9.4).  I installed Sql Server Express 2005, following the install guidelines I found on the web, and created a database, named "database.mdf", assigned the approriate rights, etc.  I went into the SQL managemnt tool and the database doesn't seem to contain anything?  I then found a database (called database.mdf under the app_data folder below the root, which seems to be the one DNN is using??  The web.config file uses "AttachDBFilename=|DataDirectory|Database.mdf" within its ConnectionStrings.  How do I know which database its pointing to, and how do I get the management software to be able to open the database.mdf file if thats the correct database so I can check out the stored procedures, tables, etc?

TIA

- Joe

Scott McCullochUser is Offline
Administrators
Ventrian Master
Ventrian Master
Posts:17204


6/05/2009 7:04 AM  
You should be able to tell via the last modified date, it sounds like its using the one in App_Data

Scott McCulloch
Site Administrator
Jack HoelzUser is Offline
Gold Membership
Ventrian Master
Ventrian Master
Posts:861


6/05/2009 10:35 PM  

During the install process you would have been asked to supply a specific server and user information for the DB, if you did not the server is something like .\SQLExpress. Can't remember exactly off the top of my head.

If you have not created a bunch of data I would probably suggest starting with a fresh install that will actually connect to the proper DB with the proper user.


Get The Net!!

Jack Hoelz
Joe LaTulippeUser is Offline
Registered Users
Ventrian Active Member
Ventrian Active Member
Posts:31

6/11/2009 12:26 PM  

This is basically what I did.  There wasn't much work done so I changed the folder the SQLExpress stores its databases in to the APP_DATA folder (to make the web.config connectionstrings easier to write) and re-installed.  Seems to be fine now and I can access the database now.

Thanks for your help!

- Joe

You are not authorized to post a reply.
Forums > General > DotNetNuke Questions > Database location....



ActiveForums 3.7