Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

SQL Server error

(0) ShareShare
ReportReport
Posted on by 550

Hi,

When I try to import a solution , I get an SQL Server error in opportunity rntity and solution Failed to Import. Whe I download log file I get following error.

 
    <KeyValuePairOfstringanyType>
      <d2p1:key>OperationStatus</d2p1:key>
      <d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">0</d2p1:value>
    </KeyValuePairOfstringanyType>
    <KeyValuePairOfstringanyType>
      <d2p1:key>SubErrorCode</d2p1:key>
      <d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">-2146233088</d2p1:value>
    </KeyValuePairOfstringanyType>
  </ErrorDetails>
  <Message>Object reference not set to an instance of an object.</Message>
  <Timestamp>2017-07-18T13:39:52.224347Z</Timestamp>
  <ExceptionRetriable>false</ExceptionRetriable>
  <ExceptionSource i:nil="true" />
  <InnerFault i:nil="true" />
  <OriginalException i:nil="true" />
  <TraceText>
[EntityPlugins: EntityPlugins.UpdateOpportunityPlugin]
[88db8ac1-d96a-e711-8107-5065f38a9a01: EntityPlugins.UpdateOpportunityPlugin: Update of opportunity]
</TraceText>
</OrganizationServiceFault>

.

*This post is locked for comments

  • David Jennaway Profile Picture
    David Jennaway 14,063 on at
    RE: SQL Server error

    The error is being raised by a plugin (UpdateOpportunityPlugin). The first thing I'd do is check if this is a custom plugin, or part of the CRM platform. If it's a custom plugin, and you have the source code, then the best option would be to determine why it throws this error, and probably update the code so that it handles errors better. Alternatively, you could disable any steps on the plugin whilst you import the solution, though it would be best to do this when you're not expecting any normal updates to opportunities, to avoid skipping running this plugin for them

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,253 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans