|
|
|
Joined: 3/21/2005
Posts: 8
|
|
|
07.02.01.log.resources
System.Data.SqlClient.SqlException (0x80131904): Invalid column name 'ObjectData'. Invalid column name 'ObjectData'. at System.Data.SqlClient.SqlConnection. (SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at DotNetNuke.Data.SqlDataProvider.ExecuteScriptInternal(String connectionString, String script) ClientConnectionId:35cd05c2-7bd2-49be-ba7d-444b90d0bd32
CREATE PROCEDURE dbo.[CoreMessaging_AddSubscription] @UserId INT , @PortalId INT , @SubscriptionTypeId INT , @ObjectKey NVARCHAR(255) , @Description NVARCHAR(255), @ModuleId INT , @TabId INT, @ObjectData NVARCHAR(MAX) AS BEGIN DECLARE @SubscriptionId INT = NULL SELECT TOP 1 @SubscriptionId = SubscriptionId FROM dbo.CoreMessaging_Subscriptions WHERE UserId = @UserId AND (( @PortalId is null and PortalId is null) or (PortalId = @PortalId)) AND SubscriptionTypeId = @SubscriptionTypeID AND ObjectKey = @ObjectKey AND ((@ModuleId is null and ModuleId is null ) or (ModuleId = @ModuleId)) AND ((@TabId is null and TabId is null ) or (TabId = @TabId)) IF (@SubscriptionId IS NULL) BEGIN INSERT INTO dbo.CoreMessaging_Subscriptions ( UserId , PortalId , SubscriptionTypeId , ObjectKey , Description, CreatedOnDate , ModuleId , TabId, ObjectData ) VALUES ( @UserId , @PortalId , @SubscriptionTypeId , @ObjectKey , @Description, GETUTCDATE() , @ModuleId , @TabId, @ObjectData )
SELECT SCOPE_IDENTITY() AS [SubscriptionId] END ELSE BEGIN UPDATE dbo.CoreMessaging_Subscriptions SET UserId = @UserId , PortalId = @PortalId , SubscriptionTypeId = @SubscriptionTypeId , ObjectKey = @ObjectKey , Description = @Description , ModuleId = @ModuleId , TabId = @TabId, ObjectData = @ObjectData WHERE SubscriptionId = @SubscriptionId
SELECT @SubscriptionId AS [SubscriptionId] END END
|
|
|
|
| |
|
|
Joined: 3/21/2005
Posts: 8
|
|
|
07.02.02.log.resources
System.Data.SqlClient.SqlException (0x80131904): Cannot find either column "dbo" or the user-defined function or aggregate "dbo.FilePath", or the name is ambiguous.
at System.Data.SqlClient.SqlConnection. (SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at DotNetNuke.Data.SqlDataProvider.ExecuteScriptInternal(String connectionString, String script)
ClientConnectionId:35cd05c2-7bd2-49be-ba7d-444b90d0bd32
CREATE VIEW dbo.[vw_Portals]
AS
SELECT
P.PortalID,
P.PortalGroupID,
PL.PortalName,
dbo.FilePath(PL.LogoFile) AS LogoFile,
PL.FooterText,
P.ExpiryDate,
P.UserRegistration,
P.BannerAdvertising,
P.AdministratorId,
P.Currency,
P.HostFee,
P.HostSpace,
P.PageQuota,
P.UserQuota,
P.AdministratorRoleId,
P.RegisteredRoleId,
PL.Description,
PL.KeyWords,
dbo.FilePath(PL.BackgroundFile) AS BackgroundFile,
P.GUID,
P.PaymentProcessor,
P.ProcessorUserId,
P.ProcessorPassword,
P.SiteLogHistory,
U.Email,
P.DefaultLanguage,
P.TimezoneOffset,
PL.AdminTabId,
P.HomeDirectory,
PL.SplashTabId,
PL.HomeTabId,
PL.LoginTabId,
PL.RegisterTabId,
PL.UserTabId,
PL.SearchTabId,
PL.Custom404TabId,
PL.Custom500TabId,
dbo.SuperUserTabID() AS SuperTabId,
P.CreatedByUserID,
P.CreatedOnDate,
P.LastModifiedByUserID,
P.LastModifiedOnDate,
PL.CultureCode
FROM dbo.Portals AS P
INNER JOIN dbo.PortalLocalization AS PL ON P.PortalID = PL.PortalID
LEFT JOIN dbo.Users AS U ON P.AdministratorId = U.UserID
System.Data.SqlClient.SqlException (0x80131904): Invalid object name 'dbo.vw_Portals'.
at System.Data.SqlClient.SqlConnection. (SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at DotNetNuke.Data.SqlDataProvider.ExecuteScriptInternal(String connectionString, String script)
ClientConnectionId:35cd05c2-7bd2-49be-ba7d-444b90d0bd32
CREATE VIEW dbo.[vw_PortalsDefaultLanguage]
AS
SELECT * FROM dbo.[vw_Portals] WHERE CultureCode = DefaultLanguage
|
|
|
|
| |
|
|
Joined: 3/21/2005
Posts: 8
|
|
|
07.04.00.log.resources
System.Data.SqlClient.SqlException (0x80131904): Cannot find either column "dbo" or the user-defined function or aggregate "dbo.FilePath", or the name is ambiguous.
at System.Data.SqlClient.SqlConnection. (SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at DotNetNuke.Data.SqlDataProvider.ExecuteScriptInternal(String connectionString, String script)
ClientConnectionId:35cd05c2-7bd2-49be-ba7d-444b90d0bd32
-- updated view to use new function
-- note comment regarding signature modification
CREATE VIEW dbo.[vw_Tabs]
AS
SELECT
T.TabID,
T.TabOrder,
T.PortalID,
T.TabName,
T.ParentId,
T.[Level],
T.TabPath,
T.UniqueId,
T.VersionGuid,
T.DefaultLanguageGuid,
T.LocalizedVersionGuid,
T.IsVisible,
T.HasBeenPublished,
dbo.FilePath(T.IconFile) AS IconFile,
dbo.FilePath(T.IconFileLarge) AS IconFileLarge,
T.DisableLink,
T.Title,
T.Description,
T.KeyWords,
T.IsDeleted,
T.SkinSrc,
T.ContainerSrc,
T.StartDate,
T.EndDate,
T.Url,
CASE WHEN dbo.HasChildTab(T.TabID) = 1 THEN 'true' ELSE 'false' END AS HasChildren,
T.RefreshInterval,
T.PageHeadText,
T.IsSecure,
T.PermanentRedirect,
T.SiteMapPriority,
CI.ContentItemID,
CI.[Content],
CI.ContentTypeID,
CI.ModuleID,
CI.ContentKey,
CI.Indexed,
CI.StateID,
T.CultureCode,
T.CreatedByUserID,
T.CreatedOnDate,
T.LastModifiedByUserID,
T.LastModifiedOnDate
FROM dbo.Tabs AS T
LEFT JOIN dbo.ContentItems AS CI ON T.ContentItemID = CI.ContentItemID
System.Data.SqlClient.SqlException (0x80131904): Cannot find either column "dbo" or the user-defined function or aggregate "dbo.FilePath", or the name is ambiguous.
at System.Data.SqlClient.SqlConnection. (SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at DotNetNuke.Data.SqlDataProvider.ExecuteScriptInternal(String connectionString, String script)
ClientConnectionId:35cd05c2-7bd2-49be-ba7d-444b90d0bd32
-- updated view to use new function
-- note comment regarding signature modification
CREATE VIEW dbo.[vw_Tabs]
AS
SELECT
T.TabID,
T.TabOrder,
T.PortalID,
T.TabName,
T.ParentId,
T.[Level],
T.TabPath,
T.UniqueId,
T.VersionGuid,
T.DefaultLanguageGuid,
T.LocalizedVersionGuid,
T.IsVisible,
T.HasBeenPublished,
dbo.FilePath(T.IconFile) AS IconFile,
dbo.FilePath(T.IconFileLarge) AS IconFileLarge,
T.DisableLink,
T.Title,
T.Description,
T.KeyWords,
T.IsDeleted,
T.SkinSrc,
T.ContainerSrc,
T.StartDate,
T.EndDate,
T.Url,
CASE WHEN dbo.HasChildTab(T.TabID) = 1 THEN 'true' ELSE 'false' END AS HasChildren,
T.RefreshInterval,
T.PageHeadText,
T.IsSecure,
T.PermanentRedirect,
T.SiteMapPriority,
CI.ContentItemID,
CI.[Content],
CI.ContentTypeID,
CI.ModuleID,
CI.ContentKey,
CI.Indexed,
CI.StateID,
T.CultureCode,
T.CreatedByUserID,
T.CreatedOnDate,
T.LastModifiedByUserID,
T.LastModifiedOnDate,
T.IsSystem
FROM dbo.Tabs AS T
LEFT JOIN dbo.ContentItems AS CI ON T.ContentItemID = CI.ContentItemID
|
|
|
|
| |
|
|
Joined: 3/21/2005
Posts: 8
|
|
|
Sebastian
I've posted content of logs files.
Also, I see that '07.04.00_Application.log.resources' file contains error:
Error: Collection cannot be null. Parameter name: c at System.Collections.ArrayList..ctor(ICollection c) at DotNetNuke.Entities.Portals.PortalController.GetPortals() at DotNetNuke.Services.Upgrade.Upgrade.UpgradeToVersion740() at DotNetNuke.Services.Upgrade.Upgrade.UpgradeApplication(String providerPath, Version version, Boolean writeFeedback)
What can I do to complete upgrade?
If I install new copy - is the any way to copy content from existent site?
Thank you!
Oleg
|
|
|
|
| |