Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 46379

Singleton retrieve query should not return more than 1 record...

$
0
0

Hi CRM Folks!

I really hope you can help me because im getting a little frustrated here...

I have a dev enviroment where i created an unmanaged solution and a test enviroment which I imported this solution as a managed one. I added a few things, created patches and imported them in the test enviroment and everything worked fine. Then I cloned a new solution and tried to import it but i got an error that "a line with a duplicate key cannot be added in the dbo.DependencyBase-object with the unique ndx_UniqueDependencyNode-index." 

Because i'm pretty new to the whole CRM thing I think it could be because I replicated some of the changes which i did in the dev directly in the test enviroment by hand. After a few hours of digging I found a forum post that suggested to go to the specific index ndx_UniqueDependencyNode in the Database, go to Options and set the "ignore duplicate values" entry to true. I did this and then I was able to import the solution. After that I set the entry back to false.

Now when I want to apply the solution upgrade i get an error message that says: Singleton Retrieve Query should not return more than 1 record.

I tried to delete the whole managed solution, so i can just import the unmanaged again in the test enviroment, but I get the same error here too.

I'm actually a bit clueless how I can solve this issue and hope anyone could help me here.

Thanks in advanced!

Greetings from germany.


Viewing all articles
Browse latest Browse all 46379

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>