Hi!
I'm trying to register a .NET DLL with COM interoperability. When I
execute regasm to register, it seems to work all good but at the end of
process throws the following error (in spanish):
"Error de RegAsm: Error al guardar la biblioteca de tipos exportada:
Acceso denegado."
In english would be something like this:
"RegAsm error: error saving (registering?) the type librerary exported:
Access denied."
When I register it from Visual Studio it works fine. I've seen the
permissions in Windows Register and I think that they are correct.
I'm working on a Windows XP Professional (SP2) as administrator and the
.NET Framework version is 1.1.4322.
The whole trace of the exeuction is this:
------------ Trace start ----------------
regasm FIATC.dll /codebase /tlb:FIATC.tlb /verbose
Se registraron correctamente los tipos
Se exportó el tipo AutosServiceService.
Se exportó el tipo PeticionTarificacion.
Se exportó el tipo BonusMalus.
Se exportó el tipo Tarea.
Se exportó el tipo MensajesContratacion.
Se exportó el tipo ErrorAutos.
Se exportó el tipo DatosRecibo.
Se exportó el tipo Garantia.
Se exportó el tipo DatosComisiones.
Se exportó el tipo RespuestaContratacion.
Se exportó el tipo Vehiculo1.
Se exportó el tipo Tomador.
Se exportó el tipo Propietario.
Se exportó el tipo General1.
Se exportó el tipo DatosBancarios.
Se exportó el tipo Control1.
Se exportó el tipo Conductores1.
Se exportó el tipo Beneficiarios.
Se exportó el tipo PeticionContratacion.
Se exportó el tipo MensajesTarificacion.
Se exportó el tipo Modalidad.
Se exportó el tipo DatosNumericos.
Se exportó el tipo RespuestaTarificacion.
Se exportó el tipo Vehiculo.
Se exportó el tipo General.
Se exportó el tipo GarantiasOpcionales.
Se exportó el tipo DescuentosDirectos.
Se exportó el tipo Control.
Se exportó el tipo Conductores.
Se exportó el tipo ConsPoblacionSVC.
Se exportó el tipo Contracte.
Se exportó el tipo ContracteSVC.
Se exportó el tipo Error.
Se exportó el tipo Errors.
Se exportó el tipo FIATCError.
Se exportó el tipo FIATCErrors.
Se exportó el tipo FIATCServices.
Se exportó el tipo MFServiceService.
Se exportó el tipo Poblacion.
Se exportó el tipo Poblaciones.
Se exportó el tipo Serializer.
Se exportó el tipo SupportWebServices.
Se exportó el tipo Tarifa.
Se exportó el tipo Tarifas.
Se exportó el tipo TarificSVC.
Error de RegAsm: Error al guardar la biblioteca de tipos exportada:
Acceso denegado.
------------ Trace end ----------------
Thanks a lot in advance,
Marc.
Gurleen - 08 Jun 2005 21:36 GMT
Hi,
It might be that you have the type library opened/referenced in
some other place . If you are trying to use regasm on command line make
sure you quit any IDE/program in which you may be referencing this
typelib.