Server Error in '/' Application.

Ambiguous column name 'parentID'.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.SqlClient.SqlException: Ambiguous column name 'parentID'.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[SqlException (0x80131904): Ambiguous column name 'parentID'.] System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) +277 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) +765 System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) +4616 System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() +88 System.Data.SqlClient.SqlDataReader.get_MetaData() +103 System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted) +621 System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest) +3382 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) +707 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) +83 System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) +302 StackExchange.Profiling.Data.ProfiledDbCommand.ExecuteDbDataReader(CommandBehavior behavior) in c:\Code\github\SamSaffron\MiniProfiler\StackExchange.Profiling\Data\ProfiledDbCommand.cs:248 Umbraco.Core.Persistence.<>c__DisplayClass5_0.<ExecuteReaderWithRetry>b__0() +185 Umbraco.Core.Persistence.FaultHandling.RetryPolicy.ExecuteAction(Func`1 func) +398 Umbraco.Core.Persistence.<Query>d__74`1.MoveNext() +873 System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) +453 System.Linq.Enumerable.ToList(IEnumerable`1 source) +69 Umbraco.Core.Persistence.Database.Page(Int64 page, Int64 itemsPerPage, String sql, Object[] args) +307 Umbraco.Core.Persistence.Repositories.VersionableRepositoryBase`2.GetPagedXmlEntriesByPath(String path, Int64 pageIndex, Int32 pageSize, String[] orderBy, Int64& totalRecords) +1110 Umbraco.Core.Services.ContentService.GetPagedXmlEntries(String path, Int64 pageIndex, Int32 pageSize, Int64& totalRecords) +292 UmbracoExamine.<>c__DisplayClass37_0.<PerformIndexAll>b__4(String path, Int32 pIndex, Int32 pSize) +74 UmbracoExamine.UmbracoContentIndexer.ReindexWithXmlEntries(String type, Int32 parentId, Func`1 getContentTypes, Func`4 getPagedXmlEntries, Func`2 getContent) +741 UmbracoExamine.UmbracoContentIndexer.PerformIndexAll(String type) +944 UmbracoExamine.BaseUmbracoIndexer.IndexAll(String type) +76 UmbracoExamine.BaseUmbracoIndexer.PerformIndexRebuild() +120 UmbracoExamine.BaseUmbracoIndexer.RebuildIndex() +69 Umbraco.Web.ExamineStartup.Complete() +194 Umbraco.Web.WebBootManager.Complete(Action`1 afterComplete) +162 Umbraco.Core.UmbracoApplicationBase.StartApplication(Object sender, EventArgs e) +390 [HttpException (0x80004005): Ambiguous column name 'parentID'.] System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +517 System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +185 System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +168 System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +277 System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +369 [HttpException (0x80004005): Ambiguous column name 'parentID'.] System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +532 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +111 System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +724


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4690.0