Skip to main content

Notifications

Dynamics 365 general forum

Managed Solution Import issue

Posted on by 30

Hi 

We are having errors generated from import of managed solution. 

Could anyone help identify the cause of this failure? 

SqlException: The correlation name 'manualsla_new_customentityname' is specified multiple times in a FROM clause., View Script: if exists (select * from sys.objects where name = 'new_customentityname' and type = 'V') begin  drop view [new_customentityname] end go   -- -- base view for new_customentityname -- create view dbo.[new_customentityname]  (     -- logical attributes   * then returns list of fields, some of which are custom, within the custom entity* 

I have recently ticked the 'Enable for SLA' on this custom record, is this connected/ causing this error? If so, how can I reverse/ resolve this? 

Many thanks

Lynda 

  • Suggested answer
    Johnny Gong Profile Picture
    Johnny Gong 6,482 on at
    RE: Managed Solution Import issue

    Hi Lynda,
    I met similar case before. It's truly related with SLA. Entity should have SLA disabled on the mentioned solution.
    Since you could not directly access Online DB. I suggest you need to raise a service request from Admin Center to escalate the issue to Dev Team.
    Then you could suggest them try the following script which could help you successfully import solution:

    Update entity set isSLAEnabled = 1 where Name = 'manualsla_new-customerntityname' and SolutionId = '...'


    Solution Id is your mentioned managed solution id. 

    Regards

    Johnny

  • Suggested answer
    Kokulan Profile Picture
    Kokulan 18,048 on at
    RE: Managed Solution Import issue

    Hi

    What version of CRM you are on?  That to me looks like a CRM bug, you might have to consider raising a ticket with Microsoft.

    Do you have any backup before you enabled the SLA on this entity?

    Whats the version differences between source and target?

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans