In my experience, sometimes this happens without a logical explanation.
What I do in this case I close both asm and then I open the first one and save it again and I do the same for the second one. I close everything and then I reopen in principle everything goes back to normal unless a part file or the ASM itself is corrupted (which has become very rare since V 2018).
You will notice that regardless of that, even when you save after refresh with the green red circles icon, when you reopen it asks you to refresh under the pretext of a previous version to be updated. You can do the experiment you open an ASM and you don't touch anything and you close it you reboot your machine and well when you reopen the famous ASM it asks you to refresh (go understand ;-) )
Perhaps our colleagues will show us a more rational method.
Now, when I want to put assembly B in assembly A, all the components load, and when I implement it it gives me the same message that there is a recovery state in the asm... I don't understand, it's quite annoying!
Especially since my asm B is clean, no corrupted, deleted, hidden parts, etc...
If you can send me the asm I can look because sometimes I had files that were not considered corrupted by SW but which in fact were swarming.
What you can also do is take two other ASMs (no matter which ones but you don't use the two incriminated) and you see if he is still causing you trouble. In other words, you can also put your treadmill with another ASM and then you do the same with your charger without the treadmill.
Question: do you enter the second ASMs with the drag and drop function or with the insert component function?
it must be a very simple thing but you still have to put your finger on it :-) SolidWorks is not Voodoo ;-)
For me, the message only comes when a component is in a state of recovery.
To check which one is in a state of recovery, proceeds by dichotomy.
You open your assembly B, you set it to the delete half of the parts, you save it and you try to insert it. If the message still appears you re-delete half of the remaining parts etc.etc.
And when you have one coin left, you have the guilty coin.
You open it and you lower the recovery bar that causes this message.
On the other hand, on my workstation at the opening, if a part is in a state of recovery, it offers me to switch it back to normal mode, which I do in this case. (try to close and re-open the assembly just in case)
I managed to find the problem, I opened all the parts one by one of my assembly to see if the "bar" of my creation tree was lowered to the max, and it turned out that on ONE part, the bar was above my bent state. so necessarily in a state of recovery!
I managed to unblock myself, just put all the parts of the assembly in the deleted state, insert the "empty" assembly and then remove the delete state of all the parts.
Users have encountered this problem with me too. We work with SOLIDWORKS 2021 SP5.1. When an assembly that contains a part in a rework state is opened in resolved mode , a warning message appears, and proposes to correct it in session.
"This document contains Exhibit "xxxxx" which was registered in a previous state. Do you want to make a forward recovery? This warning message appears for each part in this state. A "Do not show again" box is available.
It is possible that you have checked the "Do not show again" box and are missing the information. In this case, go to the SW options, under Messages/Errors/Warnings, and check the line "This document contains other parts and/or assemblies that have been registered". " and then click OK.
Then, reopen the assembly in resolved mode to be notified by Solidworks of parts in a rework state.