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...Ambiguous column name 'ModuleId'Ambiguous column name 'ModuleId'
Previous
 
Next
New Post
12/20/2014 11:11 AM
 

Hello all, 

We are trying to upgrade from 6.2.9 to 7.1.2 but we are having a problem as described below. I had this problem in the past and Sebastian suggested to create a stored procedure using this. However, the problem is not fixed. The site upgrade still hangs there. I have set the Database compatibility level to 100. (We are using SQL Server 2008 R2.)

This upgrade is very important to us since we had multiple problems with the security and also with the File Manager. 

Thanks in advance.

 

DotNetNuke

Upgrade
Current Version - 07.01.02
Upgrade - Version 07.01.02

1Account Info
2Upgrade
View Website
10:21 Minutes   |   26% ERROR occured - System.Data.SqlClient.SqlException (0x80131904): Ambiguous column name 'ModuleId'.
 at System.Data.SqlClient.SqlConnection. (SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
 at System.Data.SqlClient.SqlInternalConnection. (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)
 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:91c6785d-61d3-420f-bbc1-ffb8bed81543
 
 CREATE PROCEDURE dbo.[GetRecycleModules] @PortalID int AS SELECT OwnerPortalID, PortalID, vw_Modules.TabID, vw_Modules.TabModuleID, vw_Modules.ModuleID, ModuleDefID, vw_Modules.ModuleOrder, vw_Modules.PaneName, vw_Modules.ModuleTitle, vw_Modules.CacheTime, vw_Modules.CacheMethod, vw_Modules.Alignment, vw_Modules.Color, vw_Modules.Border, vw_Modules.IconFile, AllTabs, vw_Modules.Visibility, vw_Modules.IsDeleted, vw_Modules.Header, vw_Modules.Footer, StartDate, EndDate, vw_Modules.ContainerSrc, vw_Modules.DisplayTitle, vw_Modules.DisplayPrint, vw_Modules.DisplaySyndicate, vw_Modules.IsWebSlice, vw_Modules.WebSliceTitle, vw_Modules.WebSliceExpiryDate, vw_Modules.WebSliceTTL, InheritViewPermissions, IsShareable, IsShareableViewOnly, DesktopModuleID, DefaultCacheTime, ModuleControlID, BusinessControllerClass, IsAdmin, SupportedFeatures, ContentItemID, [Content], ContentTypeID, ContentKey, Indexed, StateID, vw_Modules.CreatedByUserID, vw_Modules.CreatedOnDate, LastContentModifiedOnDate, vw_Modules.UniqueId, vw_Modules.VersionGuid, vw_Modules.DefaultLanguageGuid, vw_Modules.LocalizedVersionGuid, vw_Modules.CultureCode, TabModules.LastModifiedByUserID, TabModules.LastModifiedOnDate FROM vw_Modules INNER JOIN TabModules ON vw_Modules.TabModuleID = TabModules.TabModuleID WHERE PortalId = @PortalID ORDER BY ModuleId
 
Retry View Logs
Updating Database

Updating Extensions

Visit Website
 
New Post
12/20/2014 11:58 AM
 

Actually, if I force refresh, the fix suggested by Sebastian works.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...Ambiguous column name 'ModuleId'Ambiguous column name 'ModuleId'


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