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...Reported Errors During Upgrade Wizard from 7.0.5 to 7.4.2Reported Errors During Upgrade Wizard from 7.0.5 to 7.4.2
Previous
 
Next
New Post
10/15/2015 8:24 PM
 
to be honest, this error message doesn't seem to match the SQL statement.
if you execute the statement from Host > SQL or SQL Server Management Studio, do you get the same error?

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
10/16/2015 1:27 PM
 
It doesn't allow me to execute the query statement on the version 7.0.5. I believe it requires the series of sql scripts that lead up to this particular script in order for it to run. I would need to manually execute the sql scripts that lead up to 7.1.0.
 
New Post
10/16/2015 2:37 PM
 

Here's the section of 07.01.00.SqlDataProvider that leads up to the sql script that generates the error message:

/* Update Content ItemId's on files */
/************************************/

IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'{databaseOwner}[{objectQualifier}CountLegacyFiles]') AND type in (N'P', N'PC'))
 DROP PROCEDURE {databaseOwner}[{objectQualifier}CountLegacyFiles]
GO

CREATE PROCEDURE {databaseOwner}[{objectQualifier}CountLegacyFiles]
AS
BEGIN

SELECT COUNT(*) FROM {databaseOwner}[{objectQualifier}Files] WHERE ContentItemID IS NULL
END
GO

IF NOT EXISTS(SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = N'[{objectQualifier}Folders]' AND COLUMN_NAME = 'MappedPath')
 BEGIN
  ALTER TABLE {databaseOwner}[{objectQualifier}Folders]
   ADD MappedPath nvarchar(300) NULL
 END
GO

UPDATE {databaseOwner}{objectQualifier}Folders
 SET MappedPath = FolderPath

GO

 
New Post
10/16/2015 4:59 PM
 
as far as I can see,
UPDATE dbo.Folders SET MappedPath = FolderPath
doesn't use any function, calculated column etc. i.e. there is no subquery involved.
I don't see a cause of the error message nor have I heard from others experiencing this issue.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
10/16/2015 6:49 PM
 
I manually ran the sql scripts for 07.00.06.SqlDataProvider and 07.01.00.SqlDataProvider in MS SQL Server Management Studio and I came across the follow syntax error while executing SQL statements section by section for 07.01.00.SqlDataProvider :

Msg 102, Level 15, State 1, Line 2
Incorrect syntax near 'FolderID'.

/* add calculated column for file folderpaths to help with extensions that do not use the API */
/*********************************************************************************************/
IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[GetFileFolderFunc]') AND type in (N'FN', N'IF', N'TF', N'FS', N'FT'))
DROP FUNCTION [GetFileFolderFunc]
GO

CREATE FUNCTION [GetFileFolderFunc](@FolderD INT)
RETURNS nvarchar(246)
AS
BEGIN
DECLARE @folderPath nvarchar(246)
select @folderPath=folderpath from [Folders] where folderid=@FolderD
return @folderPath

END;

GO
ALTER TABLE [Files]
ADD Folder AS [GetFileFolderFunc](FolderID)
GO

Any suggestions why it does not like the statement "ADD Folder AS [GetFileFolderFunc](FolderID)" ?
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...Reported Errors During Upgrade Wizard from 7.0.5 to 7.4.2Reported Errors During Upgrade Wizard from 7.0.5 to 7.4.2


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