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 ...Cannot Find The DatabaseCannot Find The Database
Previous
 
Next
New Post
2/7/2008 11:26 PM
 

I have a fully running DNN 4.8 without any issues when accessing from the web.

But when I go into MS Server Manager and try and browse the database, there are no tables.

I created a user called DotNetNuke, but I cannot see tables against this user, even though that is who I have specified in my web.config file.

I have also notices that a new "Security\Users" entry called "sys" has appeared.

Anyone with any ideas ?

 
New Post
2/8/2008 12:40 AM
 

My guess is your site is running off a SQLExpress database in the app_data folder, and not the connection string to your SQL 2k or 2k5 database that you setup. Your web.config most likely has the 2k/2k5 strings commented out.


Chris Hammond
Former DNN Corp Employee, MVP, Core Team Member, Trustee
Christoc.com Software Solutions DotNetNuke Module Development, Upgrades and consulting.
dnnCHAT.com a chat room for DotNetNuke discussions
 
New Post
2/9/2008 12:55 AM
 

Maybe your correct, but if so, how do I access it ?

There is a file there.

Thanks again.

 
New Post
2/9/2008 2:49 AM
 

Probably a better question would be, how do I now get the database back to the correct MS SQL location and database that I created.

I have checked my web.config settings and there is nothing commented out, as below.

  <connectionStrings>
    <!-- Connection String for SQL Server 2005 Express -->
    <add name="SiteSqlServer" connectionString="Data Source=MyServer\DotNetNuke;Integrated Security=True;User ID=DotNetNuke;Password=DotNetNuke;User Instance=True" providerName="System.Data.SqlClient" />
    <!-- Connection String for SQL Server 2000/2005
    <add
      name="SiteSqlServer"
      connectionString="Server=MyServer\DotNetNuke;Database=DotNetNuke;uid=DotNetNuke;pwd=DotNetNuke;"
      providerName="System.Data.SqlClient" />
   -->
  </connectionStrings>
  <appSettings>
    <!-- Connection String for SQL Server 2005 Express - kept for backwards compatability - legacy modules   -->
    <add key="SiteSqlServer" value="Data Source=MyServer\DotNetNuke;Integrated Security=True;User ID=DotNetNuke;Password=DotNetNuke;User Instance=True" />
    <!-- Connection String for SQL Server 2000/2005 - kept for backwards compatability - legacy modules
    <add key="SiteSqlServer" value="Server=MyServer\DotNetNuke;Database=DotNetNuke;uid=DotNetNuke;pwd=DotNetNuke;"/>
    -->

 
New Post
2/10/2008 2:15 AM
 

I believe you'll need to connect to your SQLExpress database (in the /app_Data/ folder) using SQL Management Studio, back that database up. Restore that backup over the database you already setup in VS 2k5.

Then fix your web.config, do you see the comments there that are commenting out your SQL2k/2k5 connection string?


Chris Hammond
Former DNN Corp Employee, MVP, Core Team Member, Trustee
Christoc.com Software Solutions DotNetNuke Module Development, Upgrades and consulting.
dnnCHAT.com a chat room for DotNetNuke discussions
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Cannot Find The DatabaseCannot Find The 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