Habilitar COM de Excel en una aplicación
Type dcomcnfg in Run.Select Microsoft Excel application and click
properties.In this go to security tab.U can see 3 Radio button.
Checked "Use custom access permissions" and go to edit button.Here u
have to add systemname/ASPNET(asp_wp account)(It will be populate
when u click show users) and Administrator.
Same way u have to follow remaining 2 radio buttons.
After that u go to Identity tab and check the "The launching
user".Then run your application.Still if u get access denied or
system throw error change the "The launching user" to "The
interactive user".

1 Comentarios:
Obviamente, hay que habilitar el uso de ActiveX en el browser del usuario.
Y si la aplicacion se ejecuta con Seguridad Integrada, habilitar el permiso en el dcomcmfg tambien para el usuario logueado
Publicar un comentario
Suscribirse a Comentarios de la entrada [Atom]
<< Página Principal