Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Interop / June 2005

Tip: Looking for answers? Try searching our database.

RegAsm Error: Error to register the type library exported: Access denied

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Marc - 08 Jun 2005 07:41 GMT
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.

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.