This error means you are using a ID3D11ChildDevice object created by device A but are trying to set it to a device B's context.
In other words, the render target you are using was created with a different Direct3D 11 device than the one you are trying to render with.
You probably need to provide more context about your usage here for any more help.