If your DLL was compiled in .NET, are you sure you made your assembly visible to COM?
Also you've apparently specified the ProgID of your assembly to be "MGDMSDocNamer.DocNamer", so have you checked that you've specified the Name property of your ICommand to be the same value?
If your DLL was compiled in .NET, are you sure you made your assembly visible to COM? Also you've apparently specified the ProgID of your assembly to be "MGDMSDocNamer.DocNamer", so have you checked that you've specified the Name property of your ICommand to be the same value?