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 ...how do you edit the database .mdf file directly?how do you edit the database .mdf file directly?
Previous
 
Next
New Post
6/19/2006 2:33 AM
 
hello, there seems to be no way of editing a portal alias in the DNN control panel, so I want to edit the portal table as someone mentioned. However, I can't figure out how to open the database.mdf file to do this. I am new to SQL Server, so can someone give me a step-by-step to do this?

thanks,
Mike
 
New Post
6/20/2006 11:10 PM
 
Well before you head in the direction of manual edit lets make sure we are all on the same page. There is a way to edit the portal alias in the control panel.

Under the host menu select the portals option.
Click the pencil icon to the left of the portal you would like to edit.
Scroll all the way to the bottom of the page and there they are.
You can edit existing ones or add new ones.

Let me know if that is what you are looking for.

 
New Post
6/20/2006 11:29 PM
 

I am new to DNN, but not to CMS systems and I understand why there may be better ways to do this.

None the less, there comes a time in the life of most CMS systems and admins, that access to the dB is the only thing that cuts it. When you reach this point you need to know how to add the DNN dB to your MS SQL Management console (attach a dB for editing). Depending on what version and how you built your site you may or may not ever be able to do this.

I found that if I used the default installs I was never able to attach DNN's dB to the MS SQL Express Console and still have IIS/ASP DNN dB access work. I then when back and installed DNN using a 'real' dB user account (SQL access not that evil MS account access stuff). To do this I had to edit the connection string in the web.config file for MS SQLExpress and install my site. Once I got the access string right (a normal hell of writng XML instead of much simpler name:value pairs like most other's do it - and the same hell Java puts you through all the time) things were fine, and I could see the DNN dB in the console and edit table values as needed using regular SQL queries.

There may be a way of adding the DNN dB to your console that does not break IIS/ASP after install, but I never found it. so get this all right up front or risk loosing lots of work.

If someone else gives you a step by step, great. If not, be prepared to re-install and get console access right, then do whatever you need. The good news is, once the console sees the dB you can do all the regular dB backups and other management just like you would with any other dB based app. Until then, I have no idea how you could get to stuff outside of the GUI or writing code to call the dB directly via DotNet tools.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...how do you edit the database .mdf file directly?how do you edit the database .mdf file directly?


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