When trying to run regasm in Win2008 Server:
regasm "C:\Program Files\FooProg\Bar.dll" /tlb:"C:\Program Files\FooProg\Bar.tlb"
I get the following error:
RegAsm : error RA0000 : An error occurred while saving the exported type library: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
what does this mean
That error mostlikely comes up because you can't delete a corresponding .tlb file. Two other suggestions:
That error mostlikely comes up because you can't delete a corresponding .tlb file. Two other suggestions: 1. Stop IIS and attempt to register again: 2. Stop IIS, remove .tlb files from wherever your DLL file is and then attempt to register again.
You can also get this problem if you don't specify a full path in the
It'll attempt to write to
C:\windows\system32. Even if you run as Administrator, by default you don't have rights to write to that directory.
The solution is simply to provide a full path (to a directory you have rights to) in the
User contributions licensed under CC BY-SA 3.0