Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Invalid object name 'crt.CHANNELCONFIGURATIONVIEW'

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi

I try change live channel database in Online Store, and then I got error message in Event Viewer :

=====================================================================

System.Data.SqlClient.SqlException (0x80131904): Invalid object name 'crt.CHANNELCONFIGURATIONVIEW'.
   at System.Data.SqlClient.SqlConnection.OnError(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.SqlDataReader.TryConsumeMetaData()
   at System.Data.SqlClient.SqlDataReader.get_MetaData()
   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
   at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
   at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
   at System.Data.SqlClient.SqlCommand.ExecuteReader()
   at Microsoft.Dynamics.Commerce.Runtime.Data.DatabaseAccessor.ExecuteReader[T](SqlPagedQuery query)
   at Microsoft.Dynamics.Commerce.Runtime.Data.DatabaseAccessor.ExecuteSelect[T](SqlPagedQuery query)
   at Microsoft.Dynamics.Commerce.Runtime.Data.ChannelDatabaseAccessor.GetChannelConfiguration(Int64 channelId)
   at Microsoft.Dynamics.Commerce.Runtime.Data.ChannelDataManager.GetChannelConfiguration(Int64 channelId)
   at Microsoft.Dynamics.Commerce.Runtime.CommerceRuntime.CreateRequestContext(Request request)
   at Microsoft.Dynamics.Commerce.Runtime.CommerceRuntime.Execute[T](Request request)
   at Microsoft.Dynamics.Commerce.Runtime.Client.ChannelManager.GetCurrentChannelId()
   at Microsoft.Dynamics.Retail.SharePoint.Connector.ChannelState.InitializeChannel(CommerceRuntime runtime, Configuration appConfig, Guid destinationId)
   at Microsoft.Dynamics.Retail.SharePoint.Connector.PublishingEntry.Publish(Configuration appConfig, Guid destinationId)

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Invalid object name 'crt.CHANNELCONFIGURATIONVIEW'

    I found this error when I don't run full job to channel database

    Please verify

    1. retail server and database name in Channel database config

    2. Validate channel profile

    3. Add channel profile in store

    4. check connection string in web.config of RetailServer

    5. test update register and check data in channel database 

  • SergeyP Profile Picture
    SergeyP 2,928 on at
    RE: Invalid object name 'crt.CHANNELCONFIGURATIONVIEW'

    When asking for help it is pretty important to make sure that others will understand your question and as a result you would really have chances that someone could help you. Try to read your question, look into previous messages of this thread and try to guess whether enough information has been provided or not.

    So, please provide more details about the steps you have done and about your goal, the information provided so far doesn't allow to figure out what exactly was done, in what sequence and why that was done.

  • pearl_jo Profile Picture
    pearl_jo 640 on at
    RE: Invalid object name 'crt.CHANNELCONFIGURATIONVIEW'

    Dear Pramudita,

    I have the same issue with you.

    Do you have any solution?

    Thank you.

  • Verified answer
    SergeyP Profile Picture
    SergeyP 2,928 on at
    RE: Invalid object name 'crt.CHANNELCONFIGURATIONVIEW'

    Please provide more details about the steps you have done and about your goal, the information provided so far doesn't allow to figure out what exactly was done and why that was done.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey Pt 2

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,820 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,514 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans