Do you test the component from Navision every time you make changes to it? I had the same problem with a automation server component build with Delphi. Closing Navision was sufficient, to be able to compile the component source again after modifications.