Okay, upgrade performed, but there was an error in the upgrade log - here is a copy of the whole thing:
Upgrading DotNetNuke
Current Assembly Version: 05.05.00
Current Database Version: 05.04.04
Upgrade Status Report
00:00:00.093 - Upgrading to Version: 05.05.00
00:00:01.984 - Executing Script: 05.05.00.SqlDataProvider Error! (see 05.05.00.log.resources for more information)
00:00:09.562 - Executing Application Upgrades: 05.05.00 Success
00:00:10.515 - Cleaning Up Files: 05.05.00 Success
00:00:10.515 - Updating Config Files: 05.05.00 Success
00:00:10.562 - Performing General Upgrades
00:00:10.765 - Installing Optional Modules:
00:00:10.765 - Installing Package File HTML_Community_05.04.03_Install: Success
00:00:12.421 - Installing Package File Messaging_01.01.00_Install: Success
00:00:12.656 - Installing Package File Taxonomy_01.01.00_Install: Success
00:00:12.875 - Installing Package File Telerik_05.05.00_Install: Success
00:00:17.125 - Installing Optional Skins:
00:00:17.125 - Installing Optional Containers:
00:00:17.125 - Installing Optional Languages:
00:00:17.125 - Installing Optional Providers:
00:00:17.156 - Installing Package File AspNetMembershipProvider_05.02.00_Install: Success
00:00:17.359 - Installing Package File CorePermissionProvider_05.01.01_Install: Success
00:00:17.609 - Installing Package File CoreSitemapProvider_5.5.0.0_Install: Success
00:00:17.906 - Installing Package File DatabaseLoggingProvider_05.01.01_Install: Success
00:00:18.046 - Installing Package File DNNMembershipProvider_05.01.03_Install: Success
00:00:18.140 - Installing Package File DNNMenuNavigationProvider_05.01.00_Install: Success
00:00:18.250 - Installing Package File DNNTreeNavigationProvider_05.01.00_Install: Success
00:00:18.328 - Installing Package File FckHtmlEditorProvider_02.00.04_Install: Success
00:00:21.750 - Installing Package File FileBasedCachingProvider_05.01.03_Install: Success
00:00:21.843 - Installing Package File FileModuleCachingProvider_05.04.03_Install: Success
00:00:21.921 - Installing Package File MemoryModuleCachingProvider_05.02.01_Install: Success
00:00:22.015 - Installing Package File SchedulingProvider_05.02.01_Install: Success
00:00:22.109 - Installing Package File SearchIndexProvider_05.01.00_Install: Success
00:00:22.234 - Installing Package File SearchProvider_05.01.01_Install: Success
00:00:22.312 - Installing Package File SolpartMenuNavigationProvider_05.01.00_Install: Success
00:00:22.453 - Installing Package File TelerikEditorProvider_05.04.02_Install: Success
00:00:22.968 - Installing Optional AuthSystems:
00: - Installing Package File LiveID_01.00.01_Install: Success
00:00:23.937 - Installing Package File OpenID_02.00.00_Install: Success
00:00:24.203 - Installing Optional Packages:
Upgrade Complete
The file it mentions (05.05.00.log.resources) seems to be full or errors:
System.Data.SqlClient.SqlException: Column names in each table must be unique. Column name 'DefaultLanguageGuid' in table 'dbo.Tabs' is specified more than once.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL)
at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions)
/* Add DefaultLanguageGuid Column to Tabs Table */
/************************************************/
IF NOT EXISTS (SELECT * FROM INFORMATION_SCHEMA.Columns WHERE TABLE_NAME='Tabs' AND COLUMN_NAME='DefaultLanguageGuid')
BEGIN
-- Add new Column
ALTER TABLE dbo.Tabs
ADD DefaultLanguageGuid uniqueidentifier NULL
END
System.Data.SqlClient.SqlException: Column names in each table must be unique. Column name 'UniqueId' in table 'dbo.Folders' is specified more than once.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL)
at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions)
/**********************************************************/
/* Adding UniqueId and VersionGuid Columns to Folders Table */
/**********************************************************/
IF NOT EXISTS (SELECT * FROM INFORMATION_SCHEMA.Columns WHERE TABLE_NAME='Folders' AND COLUMN_NAME='UniqueId')
BEGIN
-- Add a new UniqueId Column
ALTER TABLE dbo.Folders
ADD UniqueId UNIQUEIDENTIFIER NOT NULL CONSTRAINT DF_Folders_UniqueId DEFAULT NEWID()
ALTER TABLE dbo.Folders
ADD CONSTRAINT IX_Folders_UniqueId UNIQUE NONCLUSTERED
(
UniqueId
)
END
System.Data.SqlClient.SqlException: Cannot drop the procedure 'dbo.AddFile', because it does not exist or you do not have permission.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL)
at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions)
/**********************************************************/
/* Modify AddFile SP */
/**********************************************************/
IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = object_id(N'dbo.[AddFile]') AND OBJECTPROPERTY(id, N'IsPROCEDURE') = 1)
DROP PROCEDURE dbo.AddFile
System.Data.SqlClient.SqlException: There is already an object named 'AddFile' in the database.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL)
at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions)
CREATE PROCEDURE dbo.AddFile
@PortalId int,
@UniqueId uniqueidentifier,
@VersionGuid uniqueidentifier,
@FileName nvarchar(100),
@Extension nvarchar(100),
@Size int,
@Width int,
@Height int,
@ContentType nvarchar(200),
@Folder nvarchar(200),
@FolderID int,
@CreatedByUserID int,
@Hash varchar(40)
AS
DECLARE @FileID int
SELECT @FileId = FileID FROM dbo.Files WHERE FolderID = @FolderID AND FileName = @FileName
IF @FileID IS Null
BEGIN
INSERT INTO dbo.Files (
PortalId,
UniqueId,
VersionGuid,
FileName,
Extension,
Size,
Width,
Height,
ContentType,
Folder,
FolderID,
CreatedByUserID,
CreatedOnDate,
LastModifiedByUserID,
LastModifiedOnDate,
SHA1Hash
)
VALUES (
@PortalId,
@UniqueId,
@VersionGuid,
@FileName,
@Extension,
@Size,
@Width,
@Height,
@ContentType,
@Folder,
@FolderID,
@CreatedByUserID,
getdate(),
@CreatedByUserID,
getdate(),
@Hash
)
SELECT @FileID = SCOPE_IDENTITY()
END
ELSE
BEGIN
UPDATE dbo.Files
SET FileName = @FileName,
VersionGuid = @VersionGuid,
Extension = @Extension,
Size = @Size,
Width = @Width,
Height = @Height,
ContentType = @ContentType,
Folder = @Folder,
FolderID = @FolderID,
LastModifiedByUserID = @CreatedByUserID,
LastModifiedOnDate = getdate(),
SHA1Hash = @Hash
WHERE FileId = @FileID
END
SELECT @FileID
System.Data.SqlClient.SqlException: Cannot drop the procedure 'dbo.UpdateFile', because it does not exist or you do not have permission.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL)
at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions)
/**********************************************************/
/* Modify UpdateFile SP */
/**********************************************************/
IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = object_id(N'dbo.[UpdateFile]') AND OBJECTPROPERTY(id, N'IsPROCEDURE') = 1)
DROP PROCEDURE dbo.UpdateFile
System.Data.SqlClient.SqlException: There is already an object named 'UpdateFile' in the database.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL)
at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions)
CREATE PROCEDURE dbo.[UpdateFile]
@FileId int,
@VersionGuid uniqueidentifier,
@FileName nvarchar(100),
@Extension nvarchar(100),
@Size int,
@Width int,
@Height int,
@ContentType nvarchar(200),
@Folder nvarchar(200),
@FolderID int,
@LastModifiedByUserID int,
@Hash varchar(40)
AS
UPDATE dbo.Files
SET FileName = @FileName,
VersionGuid = @VersionGuid,
Extension = @Extension,
Size = @Size,
Width = @Width,
Height = @Height,
ContentType = @ContentType,
Folder = @Folder,
FolderID = @FolderID,
LastModifiedByUserID = @LastModifiedByUserID,
LastModifiedOnDate = getdate(),
SHA1Hash = @Hash
WHERE FileId = @FileId
System.Data.SqlClient.SqlException: Cannot drop the procedure 'dbo.AddFolder', because it does not exist or you do not have permission.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL)
at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions)
/**********************************************************/
/* Modify AddFolder SP */
/**********************************************************/
IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = object_id(N'dbo.[AddFolder]') AND OBJECTPROPERTY(id, N'IsPROCEDURE') = 1)
DROP PROCEDURE dbo.AddFolder
System.Data.SqlClient.SqlException: There is already an object named 'AddFolder' in the database.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL)
at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions)
CREATE PROCEDURE dbo.[AddFolder]
@PortalID int,
@UniqueId uniqueidentifier,
@VersionGuid uniqueidentifier,
@FolderPath varchar(300),
@StorageLocation int,
@IsProtected bit,
@IsCached bit,
@LastUpdated datetime,
@CreatedByUserID int
AS
INSERT INTO dbo.Folders (
PortalID,
UniqueId,
VersionGuid,
FolderPath,
StorageLocation,
IsProtected,
IsCached,
LastUpdated,
CreatedByUserID,
CreatedOnDate,
LastModifiedByUserID,
LastModifiedOnDate
)
VALUES (
@PortalID,
@UniqueId,
@VersionGuid,
@FolderPath,
@StorageLocation,
@IsProtected,
@IsCached,
@LastUpdated,
@CreatedByUserID,
getdate(),
@CreatedByUserID,
getdate()
)
SELECT SCOPE_IDENTITY()
System.Data.SqlClient.SqlException: Cannot drop the procedure 'dbo.UpdateFolder', because it does not exist or you do not have permission.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL)
at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions)
/**********************************************************/
/* Modify UpdateFolder SP */
/**********************************************************/
IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = object_id(N'dbo.[UpdateFolder]') AND OBJECTPROPERTY(id, N'IsPROCEDURE') = 1)
DROP PROCEDURE dbo.UpdateFolder
System.Data.SqlClient.SqlException: There is already an object named 'UpdateFolder' in the database.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL)
at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions)
CREATE PROCEDURE dbo.[UpdateFolder]
@PortalID int,
@VersionGuid uniqueidentifier,
@FolderID int,
@FolderPath varchar(300),
@StorageLocation int,
@IsProtected bit,
@IsCached bit,
@LastUpdated datetime,
@LastModifiedByUserID int
AS
UPDATE dbo.Folders
SET FolderPath = @FolderPath,
VersionGuid = @VersionGuid,
StorageLocation = @StorageLocation,
IsProtected = @IsProtected,
IsCached = @IsCached,
LastUpdated = @LastUpdated,
LastModifiedByUserID = @LastModifiedByUserID,
LastModifiedOnDate = getdate()
WHERE ((PortalID = @PortalID) OR (PortalID IS Null AND @PortalID IS Null)) AND FolderID = @FolderID
System.Data.SqlClient.SqlException: Transaction (Process ID 70) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL)
at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions)
/* Modify AddTab */
/*****************/
IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = object_id(N'dbo.[AddTab]') AND OBJECTPROPERTY(id, N'IsPROCEDURE') = 1)
DROP PROCEDURE dbo.AddTab
System.Data.SqlClient.SqlException: There is already an object named 'AddTab' in the database.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL)
at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions)
CREATE PROCEDURE dbo.[AddTab]
@ContentItemID int,
@PortalID int,
@UniqueId uniqueidentifier,
@VersionGuid uniqueidentifier,
@DefaultLanguageGuid uniqueidentifier,
@LocalizedVersionGuid uniqueidentifier,
@TabName nvarchar(50),
@IsVisible bit,
@DisableLink bit,
@ParentId int,
@IconFile nvarchar(100),
@IconFileLarge nvarchar(100),
@Title nvarchar(200),
@Description nvarchar(500),
@KeyWords nvarchar(500),
@Url nvarchar(255),
@SkinSrc nvarchar(200),
@ContainerSrc nvarchar(200),
@TabPath nvarchar(255),
@StartDate datetime,
@EndDate datetime,
@RefreshInterval int,
@PageHeadText nvarchar(500),
@IsSecure bit,
@PermanentRedirect bit,
@SiteMapPriority float,
@CreatedByUserID int,
@CultureCode nvarchar(50)
AS
INSERT INTO dbo.Tabs (
ContentItemID,
PortalID,
UniqueId,
VersionGuid,
DefaultLanguageGuid,
LocalizedVersionGuid,
TabName,
IsVisible,
DisableLink,
ParentId,
IconFile,
IconFileLarge,
Title,
Description,
KeyWords,
IsDeleted,
Url,
SkinSrc,
ContainerSrc,
TabPath,
StartDate,
EndDate,
RefreshInterval,
PageHeadText,
IsSecure,
PermanentRedirect,
SiteMapPriority,
CreatedByUserID,
CreatedOnDate,
LastModifiedByUserID,
LastModifiedOnDate,
CultureCode
)
VALUES (
@ContentItemID,
@PortalID,
@UniqueId,
@VersionGuid,
@DefaultLanguageGuid,
@LocalizedVersionGuid,
@TabName,
@IsVisible,
@DisableLink,
@ParentId,
@IconFile,
@IconFileLarge,
@Title,
@Description,
@KeyWords,
0,
@Url,
@SkinSrc,
@ContainerSrc,
@TabPath,
@StartDate,
@EndDate,
@RefreshInterval,
@PageHeadText,
@IsSecure,
@PermanentRedirect,
@SiteMapPriority,
@CreatedByUserID,
getdate(),
@CreatedByUserID,
getdate(),
@CultureCode
)
SELECT SCOPE_IDENTITY()
System.Data.SqlClient.SqlException: There is already an object named 'AddTabModule' in the database.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL)
at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions)
CREATE PROCEDURE dbo.[AddTabModule]
@TabId int,
@ModuleId int,
@ModuleTitle nvarchar(256),
@Header ntext,
@Footer ntext,
@ModuleOrder int,
@PaneName nvarchar(50),
@CacheTime int,
@CacheMethod varchar(50),
@Alignment nvarchar(10),
@Color nvarchar(20),
@Border nvarchar(1),
@IconFile nvarchar(100),
@Visibility int,
@ContainerSrc nvarchar(200),
@DisplayTitle bit,
@DisplayPrint bit,
@DisplaySyndicate bit,
@IsWebSlice bit,
@WebSliceTitle nvarchar(256),
@WebSliceExpiryDate datetime,
@WebSliceTTL int,
@UniqueId uniqueidentifier,
@VersionGuid uniqueidentifier,
@DefaultLanguageGuid uniqueidentifier,
@LocalizedVersionGuid uniqueidentifier,
@CultureCode nvarchar(10),
@CreatedByUserID int
AS
INSERT INTO dbo.TabModules (
TabId,
ModuleId,
ModuleTitle,
Header,
Footer,
ModuleOrder,
PaneName,
CacheTime,
CacheMethod,
Alignment,
Color,
Border,
IconFile,
Visibility,
ContainerSrc,
DisplayTitle,
DisplayPrint,
DisplaySyndicate,
IsWebSlice,
WebSliceTitle,
WebSliceExpiryDate,
WebSliceTTL,
UniqueId,
VersionGuid,
DefaultLanguageGuid,
LocalizedVersionGuid,
CultureCode,
CreatedByUserID,
CreatedOnDate,
LastModifiedByUserID,
LastModifiedOnDate
)
VALUES (
@TabId,
@ModuleId,
@ModuleTitle,
@Header,
@Footer,
@ModuleOrder,
@PaneName,
@CacheTime,
@CacheMethod,
@Alignment,
@Color,
@Border,
@IconFile,
@Visibility,
@ContainerSrc,
@DisplayTitle,
@DisplayPrint,
@DisplaySyndicate,
@IsWebSlice,
@WebSliceTitle,
@WebSliceExpiryDate,
@WebSliceTTL,
@UniqueId,
@VersionGuid,
@DefaultLanguageGuid,
@LocalizedVersionGuid,
@CultureCode,
@CreatedByUserID,
getdate(),
@CreatedByUserID,
getdate()
)
System.Data.SqlClient.SqlException: Cannot drop the procedure 'dbo.DeleteTabModule', because it does not exist or you do not have permission.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL)
at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions)
/* Update DeleteTabModule */
/***************************/
IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = object_id(N'dbo.[DeleteTabModule]') AND OBJECTPROPERTY(id, N'IsPROCEDURE') = 1)
DROP PROCEDURE dbo.DeleteTabModule
System.Data.SqlClient.SqlException: There is already an object named 'DeleteTabModule' in the database.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL)
at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions)
CREATE PROCEDURE dbo.[DeleteTabModule]
@TabId int,
@ModuleId int,
@SoftDelete bit
AS
IF @SoftDelete = 1
UPDATE dbo.TabModules
SET IsDeleted = 1,
VersionGuid = newId()
WHERE TabId = @TabId
AND ModuleId = @ModuleId
ELSE
DELETE
FROM dbo.TabModules
WHERE TabId = @TabId
AND ModuleId = @ModuleId
System.Data.SqlClient.SqlException: Cannot drop the procedure 'dbo.RestoreTabModule', because it does not exist or you do not have permission.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL)
at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions)
/* Update RestoreTabModule */
/***************************/
IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = object_id(N'dbo.[RestoreTabModule]') AND OBJECTPROPERTY(id, N'IsPROCEDURE') = 1)
DROP PROCEDURE dbo.RestoreTabModule
System.Data.SqlClient.SqlException: There is already an object named 'RestoreTabModule' in the database.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL)
at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions)
CREATE PROCEDURE dbo.[RestoreTabModule]
@TabId int,
@ModuleId int
AS
UPDATE dbo.TabModules
SET IsDeleted = 0,
VersionGuid = newId()
WHERE TabId = @TabId
AND ModuleId = @ModuleId
System.Data.SqlClient.SqlException: Cannot drop the procedure 'dbo.UpdateModuleOrder', because it does not exist or you do not have permission.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL)
at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions)
/* Update UpdateModuleOrder */
/***************************/
IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = object_id(N'dbo.[UpdateModuleOrder]') AND OBJECTPROPERTY(id, N'IsPROCEDURE') = 1)
DROP PROCEDURE dbo.UpdateModuleOrder
System.Data.SqlClient.SqlException: There is already an object named 'UpdateModuleOrder' in the database.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL)
at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions)
CREATE PROCEDURE dbo.[UpdateModuleOrder]
@TabId int,
@ModuleId int,
@ModuleOrder int,
@PaneName nvarchar(50)
AS
UPDATE dbo.TabModules
SET ModuleOrder = @ModuleOrder,
PaneName = @PaneName,
VersionGuid = newId()
WHERE TabId = @TabId
AND ModuleId = @ModuleId
System.Data.SqlClient.SqlException: There is already an object named 'UpdateTabModule' in the database.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL)
at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions)
CREATE PROCEDURE dbo.[UpdateTabModule]
@TabModuleId int,
@TabId int,
@ModuleId int,
@ModuleTitle nvarchar(256),
@Header ntext,
@Footer ntext,
@ModuleOrder int,
@PaneName nvarchar(50),
@CacheTime int,
@CacheMethod varchar(50),
@Alignment nvarchar(10),
@Color nvarchar(20),
@Border nvarchar(1),
@IconFile nvarchar(100),
@Visibility int,
@ContainerSrc nvarchar(200),
@DisplayTitle bit,
@DisplayPrint bit,
@DisplaySyndicate bit,
@IsWebSlice bit,
@WebSliceTitle nvarchar(256),
@WebSliceExpiryDate datetime,
@WebSliceTTL int,
@VersionGuid uniqueidentifier,
@DefaultLanguageGuid uniqueidentifier,
@LocalizedVersionGuid uniqueidentifier,
@CultureCode nvarchar(10),
@LastModifiedByUserID int
AS
UPDATE dbo.TabModules
SET
TabId = @TabId,
ModuleId = @ModuleId,
ModuleTitle = @ModuleTitle,
Header = @Header,
Footer = @Footer,
ModuleOrder = @ModuleOrder,
PaneName = @PaneName,
CacheTime = @CacheTime,
CacheMethod = @CacheMethod,
Alignment = @Alignment,
Color = @Color,
Border = @Border,
IconFile = @IconFile,
Visibility = @Visibility,
ContainerSrc = @ContainerSrc,
DisplayTitle = @DisplayTitle,
DisplayPrint = @DisplayPrint,
DisplaySyndicate = @DisplaySyndicate,
IsWebSlice = @IsWebSlice,
WebSliceTitle = @WebSliceTitle,
WebSliceExpiryDate = @WebSliceExpiryDate,
WebSliceTTL = @WebSliceTTL,
VersionGuid = @VersionGuid,
DefaultLanguageGuid = @DefaultLanguageGuid,
LocalizedVersionGuid = @LocalizedVersionGuid,
CultureCode= @CultureCode,
LastModifiedByUserID = @LastModifiedByUserID,
LastModifiedOnDate = getdate()
WHERE TabModuleId = @TabModuleId
System.Data.SqlClient.SqlException: There is already an object named 'EnsureLocalizationExists' in the database.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL)
at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions)
CREATE PROCEDURE dbo.EnsureLocalizationExists
@PortalId int,
@CultureCode nvarchar(10)
AS
IF NOT EXISTS (SELECT * FROM dbo.PortalLocalization WHERE CultureCode=@CultureCode AND Portalid=@PortalId)
BEGIN
DECLARE @PortalName nvarchar(128)
DECLARE @LogoFile nvarchar(50)
DECLARE @FooterText nvarchar(100)
DECLARE @Description nvarchar(500)
DECLARE @KeyWords nvarchar(500)
DECLARE @BackgroundFile nvarchar(50)
DECLARE @HomeTabId int
DECLARE @LoginTabId int
DECLARE @UserTabId int
DECLARE @AdminTabId int
DECLARE @RegisterTabId int
DECLARE @defaultlanguage nvarchar(10)
SELECT @defaultlanguage= DefaultLanguage FROM dbo.Portals WHERE Portalid=@PortalId
IF EXISTS (SELECT * FROM dbo.PortalLocalization WHERE CultureCode=@defaultlanguage AND Portalid=@PortalId)
BEGIN
--clone the default language
SELECT
@PortalName = PortalName,
@LogoFile = LogoFile,
@FooterText = FooterText,
@Description = Description,
@KeyWords = KeyWords,
@BackgroundFile = BackgroundFile,
@HomeTabId = HomeTabId,
@LoginTabId = LoginTabId,
@UserTabId = UserTabId,
@AdminTabId = AdminTabId,
@RegisterTabId = RegisterTabId
FROM dbo.PortalLocalization WHERE CultureCode=@defaultlanguage AND Portalid=@PortalId
INSERT INTO dbo.PortalLocalization (
PortalId,
CultureCode,
PortalName,
LogoFile,
FooterText,
Description,
KeyWords,
BackgroundFile,
HomeTabId,
LoginTabId,
UserTabId,
AdminTabId,
RegisterTabId,
CreatedByUserID,
CreatedOnDate,
LastModifiedByUserID,
LastModifiedOnDate
)
VALUES (
@PortalId,
@CultureCode,
@PortalName,
@LogoFile,
@FooterText,
@Description,
@KeyWords,
@BackgroundFile,
@HomeTabId,
@LoginTabId,
@UserTabId,
@AdminTabId,
@RegisterTabId,
-1,
getdate(),
-1,
getdate()
)
END
ELSE
BEGIN
IF EXISTS (select * from dbo.PortalLocalization where CultureCode='en-us' and Portalid=@PortalId)
BEGIN
--if defaultlanguage is missing clone en-us if available
SELECT
@PortalName = PortalName,
@LogoFile = LogoFile,
@FooterText = FooterText,
@Description = Description,
@KeyWords = KeyWords,
@BackgroundFile = BackgroundFile,
@HomeTabId = HomeTabId,
@LoginTabId=LoginTabId,
@UserTabId=UserTabId,
@AdminTabId=AdminTabId,
@RegisterTabId=RegisterTabId
FROM dbo.PortalLocalization where CultureCode='en-us' and Portalid=@PortalId
INSERT INTO dbo.PortalLocalization (
PortalId,
CultureCode,
PortalName,
LogoFile,
FooterText,
Description,
KeyWords,
BackgroundFile,
HomeTabId,
LoginTabId,
UserTabId,
AdminTabId,
RegisterTabId,
CreatedByUserID,
CreatedOnDate,
LastModifiedByUserID,
LastModifiedOnDate
)
VALUES (
@PortalId,
@CultureCode,
@PortalName,
@LogoFile,
@FooterText,
@Description,
@KeyWords,
@BackgroundFile,
@HomeTabId,
@LoginTabId,
@UserTabId,
@AdminTabId,
@RegisterTabId,
-1,
getdate(),
-1,
getdate()
)
END
ELSE
BEGIN
IF EXISTS (select top 1 * from dbo.PortalLocalization where Portalid=@PortalId)
BEGIN
--cannot select by particular culturecode as defaultlanguage has been deleted (possible in early versions of DotNetNuke)
SELECT TOP 1
@PortalName = PortalName,
@LogoFile = LogoFile,
@FooterText = FooterText,
@Description = Description,
@KeyWords = KeyWords,
@BackgroundFile = BackgroundFile,
@HomeTabId = HomeTabId,
@LoginTabId=LoginTabId,
@UserTabId=UserTabId,
@AdminTabId=AdminTabId,
@RegisterTabId=RegisterTabId
FROM dbo.PortalLocalization where portalid=@PortalId
INSERT INTO dbo.PortalLocalization (
PortalId,
CultureCode,
PortalName,
LogoFile,
FooterText,
Description,
KeyWords,
BackgroundFile,
HomeTabId,
LoginTabId,
UserTabId,
AdminTabId,
RegisterTabId,
CreatedByUserID,
CreatedOnDate,
LastModifiedByUserID,
LastModifiedOnDate
)
VALUES (
@PortalId,
@CultureCode,
@PortalName,
@LogoFile,
@FooterText,
@Description,
@KeyWords,
@BackgroundFile,
@HomeTabId,
@LoginTabId,
@UserTabId,
@AdminTabId,
@RegisterTabId,
-1,
getdate(),
-1,
getdate()
)
END
END
END
END
System.Data.SqlClient.SqlException: There is already an object named 'GetHostSettings' in the database.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL)
at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions)
CREATE PROCEDURE dbo.[GetHostSettings]
AS
IF NOT EXISTS ( select 1 from dbo.HostSettings where SettingName = 'GUID' )
INSERT INTO dbo.HostSettings ( SettingName, SettingValue, SettingIsSecure ) values ( 'GUID', newid(), 0 )
SELECT SettingName,
SettingValue,
SettingIsSecure,
CreatedByUserID,
CreatedOnDate,
LastModifiedByUserID,
LastModifiedOnDate
FROM dbo.HostSettings
Having said all that, the site seems to work okay. Should I worry about these errors? Can I fix them?
Thanks again for all your assistance!
|