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...Module and Page Setting not working after Upgrade from 7.3.4 to 7.4.0Module and Page Setting not working after Upgrade from 7.3.4 to 7.4.0
Previous
 
Next
New Post
4/15/2015 10:47 AM
 

the following script will create the missing website

IF NOT Exists (SELECT * FROM {databaseOwner}[{objectQualifier}Portals] WHERE PortalID = 0) BEGIN
	SET IDENTITY_INSERT {databaseOwner}[{objectQualifier}Portals] ON;
	INSERT INTO {databaseOwner}[{objectQualifier}Portals] ([PortalID], [AdministratorRoleId], [RegisteredRoleID]) Values(0, 0, 1);
	SET IDENTITY_INSERT {databaseOwner}[{objectQualifier}Portals] OFF;
	INSERT INTO {databaseOwner}[{objectQualifier}PortalLocalization] ([PortalID], CultureCode, PortalName) VALUES(0, N'en-US', N'dummy Portal');
	SET IDENTITY_INSERT {databaseOwner}[{objectQualifier}Roles] ON;
	INSERT INTO {databaseOwner}[{objectQualifier}Roles] ([RoleID], [PortalID], [RoleName], [BillingFrequency], [BillingPeriod], [TrialFrequency], [TrialPeriod]) Values(0, 0, N'Administrators', N'N', 1, N'N', 1);
	INSERT INTO {databaseOwner}[{objectQualifier}Roles] ([RoleID], [PortalID], [RoleName], [BillingFrequency], [BillingPeriod], [TrialFrequency], [TrialPeriod]) Values(1, 0, N'Registered Users', N'N', 1, N'N', 1);
	SET IDENTITY_INSERT {databaseOwner}[{objectQualifier}Roles] OFF;
	INSERT INTO {databaseOwner}[{objectQualifier}PortalLanguages]([PortalID], [LanguageID]) SELECT 0, LanguageID FROM {databaseOwner}[{objectQualifier}Languages] WHERE CultureCode Like N'en-US';
END

You may remove website 0 after you upgraded to DNN 7.4.1


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
4/15/2015 10:56 AM
 
I have to run this Script directly from SQL Management stdio or only on host settings > SQL?
 
New Post
4/15/2015 11:54 AM
 
any script using {databaseOwner} and {objectQualifier} should be executed from Host > SQL
(or you need to replace these placeholders first and run it from SSMS).

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
4/15/2015 12:34 PM
 
Thank you dear sebastian. and my last question. :D
This SQL should be Execute after upgrade from 7.3.4 to 7.4 or Before Upgrade?
 
New Post
4/15/2015 1:50 PM
 
you should execute the script after the upgrade, and use 07.04.00.sqldataprovider file attached to DNN-6580 for the upgrade place in /providers/dataProviders/sqldataprovider folder after unzipping all files prior to triggering the upgrade process.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...Module and Page Setting not working after Upgrade from 7.3.4 to 7.4.0Module and Page Setting not working after Upgrade from 7.3.4 to 7.4.0


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