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...Plesk, MSSQL, GoDaddy and DNN...Plesk, MSSQL, GoDaddy and DNN...
Previous
 
Next
New Post
1/19/2015 8:14 PM
 
I may be being stupid, but I'm persistent...

The latest and greatest GoDaddy Hosting for DNN/Windows is Ultimate Web Hosting.  It is nearly limitless, supports SQL Server 12, the latest asp.NET and comes with the Plesk Control Panel.  DNN 7.0.6 installs automatically in a few seconds, and as long as you upload the 7.3.4 upgrade properly with FTP, the upgrade goes seamlessly and you have Awesome Cycles 7.3.4 up in no time...  If you are starting fresh, that is great...

Those of us with legacy DNN installs have to figure out how to get our non-trivial databases moved over.  Plesk 12 won't let you upload a back-up db.  GoDaddy offers a work-around that has you install SQL Server Express 12 and the SQL Server Management Studio, locally, download your old backup file, generate a Query Script that includes Tables, Views, Stored Procedures along with schemas and your data that you then set loose on a naked db on the Plesk side.  The problem is it encounters errors that us mere mortals cannot understand or fix.  20 Pages of errors; around 300 or so...  I have done this complete process 4 times with zero success.

Am I missing something?  I used the 'old' machinekey/decryptionkey since it has to follow the users' files...  I can generate a new, virgin, perfectly working instance on the old 'Classic' side; I can even get my old instances upgraded to 7.3.4.   Same on the Plesk side.  I cannot get my old working db over to the Plesk side, though...  Not a sound migration path at present.

I know lots of folks use Plesk.  Is there some fundamental DNN/Plesk incompatibility at play?  Has anyone had success with this script approach actually working?  I can get a site to 'appear' but can never log in or navigate, even with some of the errors [they differ with db]

ALL of my sites are now running at 7.3.4 on 'Classic' hosting so there is no overwhelming urgency.

A sampling of the errors is included below.

Bob H.

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

The module 'AddEventLog' depends on the missing object 'dbo.AddEventLogType'. The module will still be created; however, it cannot run successfully until the object exists.

The module 'AddEventLog' depends on the missing object 'dbo.AddEventLogConfig'. The module will still be created; however, it cannot run successfully until the object exists.

The module 'AddTab' depends on the missing object 'dbo.BuildTabLevelAndPath'. The module will still be created; however, it cannot run successfully until the object exists.

The module 'aspnet_Membership_CreateUser' depends on the missing object 'dbo.aspnet_Users_CreateUser'. The module will still be created; however, it cannot run successfully until the object exists.

The module 'aspnet_Profile_DeleteProfiles' depends on the missing object 'dbo.aspnet_Users_DeleteUser'. The module will still be created; however, it cannot run successfully until the object exists.

Msg 4121, Level 16, State 1, Line 1
Cannot find either column "dbo" or the user-defined function or aggregate "dbo.GetFileFolderFunc", or the name is ambiguous.

Msg 4121, Level 16, State 1, Procedure vw_Portals, Line 7
Cannot find either column "dbo" or the user-defined function or aggregate "dbo.FilePath", or the name is ambiguous.

Msg 208, Level 16, State 1, Procedure vw_PortalsDefaultLanguage, Line 3
Invalid object name 'dbo.vw_Portals'.
Msg 208, Level 16, State 1, Procedure vw_Files, Line 31
Invalid object name 'dbo.Files'.
Msg 208, Level 16, State 1, Procedure vw_PublishedFiles, Line 32
Invalid object name 'dbo.vw_Files'.
Msg 207, Level 16, State 1, Procedure Forum_vw_ForumUsers, Line 12
Invalid column name 'EnableDisplayInMemberList'.
Msg 207, Level 16, State 1, Procedure Forum_vw_ForumUsers, Line 6
Invalid column name 'EnablePM'.
Msg 207, Level 16, State 1, Procedure Forum_vw_ForumUsers, Line 7
Invalid column name 'EnableDisplayInMemberList'.

Msg 1088, Level 16, State 11, Line 1173
Cannot find the object "dbo.Files" because it does not exist or you do not have permissions.
Msg 208, Level 16, State 1, Line 1
Invalid object name 'dbo.Files'.
Msg 208, Level 16, State 1, Line 1
Invalid object name 'dbo.Files'.
Msg 208, Level 16, State 1, Line 1
Invalid object name 'dbo.Files'.

Cannot insert explicit value for identity column in table 'FolderPermission' when IDENTITY_INSERT is set to OFF.
Msg 544, Level 16, State 1, Line 2
Cannot insert explicit value for identity column in table 'FolderPermission' when IDENTITY_INSERT is set to OFF.
Msg 544, Level 16, State 1, Line 3
Cannot insert explicit value for identity column in table 'FolderPermission' when IDENTITY_INSERT is set to OFF.
Msg 544, Level 16, State 1, Line 4
Cannot insert explicit value for identity column in table 'FolderPermission' when IDENTITY_INSERT is set to OFF.
Msg 544, Level 16, State 1, Line 5
Cannot insert explicit value for identity column in table 'FolderPermission' when IDENTITY_INSERT is set to OFF.

Msg 1934, Level 16, State 1, Line 16
INSERT failed because the following SET options have incorrect settings: 'ANSI_PADDING'. Verify that SET options are correct for use with indexed views and/or indexes on computed columns and/or filtered indexes and/or query notifications and/or XML data type methods and/or spatial index operations.
Msg 1934, Level 16, State 1, Line 1
INSERT failed because the following SET options have incorrect settings: 'ANSI_PADDING'. Verify that SET options are correct for use with indexed views and/or indexes on computed columns and/or filtered indexes and/or query notifications and/or XML data type methods and/or spatial index operations.
Msg 1934, Level 16, State 1, Line 1
INSERT failed because the following SET options have incorrect settings: 'ANSI_PADDING'. Verify that SET options are correct for use with indexed views and/or indexes on computed columns and/or filtered indexes and/or query notifications and/or XML data type methods and/or spatial index operations.

Msg 4902, Level 16, State 1, Line 2
Cannot find the object "dbo.Files" because it does not exist or you do not have permissions.
Msg 4902, Level 16, State 1, Line 1
Cannot find the object "dbo.Files" because it does not exist or you do not have permissions.
Msg 4902, Level 16, State 1, Line 1
Cannot find the object "dbo.Files" because it does not exist or you do not have permissions.
Msg 4902, Level 16, State 1, Line 1
Cannot find the object "dbo.Files" because it does not exist or you do not have permissions.


Msg 1767, Level 16, State 0, Line 1
Foreign key 'FK_FileVersions_Files' references invalid table 'dbo.Files'.
Msg 1750, Level 16, State 0, Line 1
Could not create constraint. See previous errors.
Msg 4917, Level 16, State 0, Line 1
Constraint 'FK_FileVersions_Files' does not exist.
Msg 4916, Level 16, State 0, Line 1
Could not enable or disable the constraint. See previous errors.
Msg 547, Level 16, State 0, Line 1
The ALTER TABLE statement conflicted with the FOREIGN KEY constraint "FK_Folders_FolderMappings". The conflict occurred in database "ilpa11915", table "dbo.FolderMappings", column 'FolderMappingID'.
Msg 4917, Level 16, State 0, Line 1
Constraint 'FK_Folders_FolderMappings' does not exist.
Msg 4916, Level 16, State 0, Line 1
Could not enable or disable the constraint. See previous errors.
Msg 1767, Level 16, State 0, Line 1
Foreign key 'FK_Forum_Attachments_Files' references invalid table 'dbo.Files'.
Msg 1750, Level 16, State 0, Line 1
Could not create constraint. See previous errors.
Msg 4917, Level 16, State 0, Line 1
Constraint 'FK_Forum_Attachments_Files' does not exist.
Msg 4916, Level 16, State 0, Line 1
Could not enable or disable the constraint. See previous errors.
Msg 547, Level 16, State 0, Line 1
The ALTER TABLE statement conflicted with the FOREIGN KEY constraint "FK_ModulePermission_Users". The conflict occurred in database "ilpa11915", table "dbo.Users", column 'UserID'.
Msg 4917, Level 16, State 0, Line 1
Constraint 'FK_ModulePermission_Users' does not exist.
Msg 4916, Level 16, State 0, Line 1
Could not enable or disable the constraint. See previous errors.
Msg 547, Level 16, State 0, Line 1
The ALTER TABLE statement conflicted with the FOREIGN KEY constraint "FK_TabPermission_Users". The conflict occurred in database "ilpa11915", table "dbo.Users", column 'UserID'.
Msg 4917, Level 16, State 0, Line 1
Constraint 'FK_TabPermission_Users' does not exist.
Msg 4916, Level 16, State 0, Line 1
Could not enable or disable the constraint. See previous errors.





















 
New Post
1/19/2015 8:51 PM
 
These are the only objects we are supposed to select; is this sufficient for DNN?  [from Mgmt Studio]

 

Moving MS SQL Databases to Plesk from Web/Classic Hosting

To move MS SQL databases from Classic or Web shared hosting to Plesk requires quite a few steps. The process is long, but not that daunting. If you follow the steps, you should be able to move your database without much issue.

We've broken out the process into the following subsections:

Getting the Old Database's Information

  1. Create a backup of the database (more info).
  2. Download the database backup file (BAK) (more info).

Moving the Backup into SQL Server Management Studio

  1. Download and install SQL Server Management Studio (SQLManagementStudio) and SQL Server Express (SQLEXPR) from Microsoft here.
  2. Launch SQL Server Management Studio.
  3. From the File menu, select Connect Object Explorer...
  4. In the Server name field, type Localhost\SQLEXPRESS.
  5. Click Connect.
  6. In the Object Explorer window, right-click Databases, and then select Restore Database.
  7. In the Source section, select Device, and then click ...
  8. Click Add, locate the BAK file, and then click OK.
  9. Click OK.
  10. Click OK.

Converting Your BAK into a SQL Dump

  1. Click + next to Databases.
  2. Right-click the database you restored.
  3. From the Tasks selection, select Generate Scripts...
  4. On the Generate and Publish Scripts wizard that displays, click Next to advance past the Introduction.
  5. Select Select specific database object.
  6. Select only Tables, Views, and Stored Procedures.
  7. Click Next to advance past Choose Objects.
  8. Note the File name where you're saving the new SQL file.
  9. Next to Save to file, click Advanced.
  10. From the Types of data to script menu, select Schema and data.
  11. Click OK.
  12. Click Next to advance past Set Scripting Options.
  13. Click Next to advance past Summary.
  14. Click Finish.

Moving Your SQL Dump to Plesk

  1. Create a new MS SQL database in Plesk (more info). We recommend using the same database name as your old database.
  2. Note the Database server that displays.
  3. Open your SQL file, which should open in SQL Server Management Studio.
  4. Copy all of the contents from the file that display.
  5. From the File menu, select Connect Object Explorer...
  6. Complete the following fields, and then click Connect:

Field

What do...

Server name

Enter your Database server.

Authentication          

Select SQL Server Authentication.

Login

Enter your database's username

Password

Enter your database's password


  1. Under the remote MS SQL server you connected to, click + next to Databases.
  2. Right-click the database you created in Plesk.
  3. Select New Query.
  4. Paste the contents of your SQL file into the window.
  5. Click Execute.

Executing the query can take a few minutes. Once it's done, your database has been moved to your Plesk account.

 

 
New Post
1/20/2015 1:16 AM
 
You might need UDF's depending on the nature of the site that you have. (For example I have many custom modules that have User Defined Functions that are critical to the operation.)

Schemas could also be an issue.

-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
New Post
1/20/2015 11:14 AM
 

I created a VIRGIN install and new db.  I ran through the db conversion process meticulously.  I got the following 5 errors...  Better than 300 but still unsettling.

dbo does appear in my web config file at:

<providers>
        <clear />
        <add name="SqlDataProvider" type="DotNetNuke.Data.SqlDataProvider, DotNetNuke" connectionStringName="SiteSqlServer" upgradeConnectionString="" providerPath="~\Providers\DataProviders\SqlDataProvider\" objectQualifier="" databaseOwner="dbo" />
</providers>

So maybe this one is OK?

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

The module 'AddEventLog' depends on the missing object 'dbo.AddEventLogType'. The module will still be created; however, it cannot run successfully until the object exists.

The module 'AddEventLog' depends on the missing object 'dbo.AddEventLogConfig'. The module will still be created; however, it cannot run successfully until the object exists.

The module 'AddTab' depends on the missing object 'dbo.BuildTabLevelAndPath'. The module will still be created; however, it cannot run successfully until the object exists.

The module 'aspnet_Membership_CreateUser' depends on the missing object 'dbo.aspnet_Users_CreateUser'. The module will still be created; however, it cannot run successfully until the object exists.

Msg 4121, Level 16, State 1, Procedure vw_Lists, Line 15  Cannot find either column "dbo" or the user-defined function or aggregate "dbo.GetListParentKey", or the name is ambiguous.


 
New Post
1/21/2015 10:07 AM
 

I'll answer my own question...   Yes, it seems to be OK because the objects are subsequently created, as Functions...

None of these explains why the script-copied db won't run.

Bob

 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...Plesk, MSSQL, GoDaddy and DNN...Plesk, MSSQL, GoDaddy and DNN...


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