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...Upgrading DNN P...Upgrading DNN P...DNN628 > DNN706 IssuesDNN628 > DNN706 Issues
Previous
 
Next
New Post
2/23/2014 9:35 PM
 

After Allow Null for IsDeleted in TabModules ... I can now add modules to pages ...

This is good - thank you again Sebastian!

 

 
New Post
2/24/2014 2:57 AM
 
I am glad you were able to figure it out. Another (better) option for isDeleted would be making the property not null and provide default value (0) for it - you will need to update existing records before applying this change

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
2/24/2014 8:06 AM
 
Summary of my DNN706 mods to database
To enable page add
Tab table - TabPath column - check to Allow Nulls

To enable module add to page
TabModules table - IsDeleted - check to Allow Nulls
-----
I understand how to implement your other (better) option for IsDeleted by making the property not null and provide default value (0) for it. 

So, I don't know which existing records require updating before applying this option.
And update to what?

Thank you.

My goal is to upgrade to DNN721

 
New Post
2/25/2014 2:50 AM
 
UPDATE TabModules set isDeleted = 0 WHERE isDeleted is Null;
ALTER TABLE TabModules ADD CONSTRAINT DF_Tabs_isDeleted DEFAULT (0) FOR isDeleted;
ALTER TABLE TabModules ALTER COLUMN isDeleted BIT NOT Null;

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
2/25/2014 9:17 AM
 

Studied and understood your script. Figured I could undo it if problems arose.

Backed up my site on PowerDNN

===========================================

No Constraints present

============================================

Run Your Script

(1 row(s) affected)

=========================================================================

Results - Constraint added, IsDeleted updated ...


Recycle Application Pool

Clear Cache

Verified capability to create new page and add module. And then delete created page.

I am going to hold at DNN706 for now.

Thank you Sebastian for your support!

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...DNN628 > DNN706 IssuesDNN628 > DNN706 Issues


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