Error al publicar sitio web que usa Calc

Para discutir temas generales, incluso si no tienen que ver directamente con Apache OpenOffice
Responder
D1ego
Mensajes: 1
Registrado: Lun Jul 01, 2013 8:33 pm

Error al publicar sitio web que usa Calc

Mensaje por D1ego »

Desarrolle una aplicación web en Visual Studio 2012, bajo Windows 8, que usa Calc para uno de sus reportes. En la maquina donde lo desarrollé muestra correctamente el reporte, de hecho se crea el archivo en tiempo de ejecución. Pero al publicar la aplicación en un servidor con Windows Server 2003, no funciona, pensé que era suficiente con instalar el OpenOffice o LibreOffice. Debo incluir alguna referencia a algún DLL o que me falta incluir en el proyecto. Gracias de antemano. El error que me envía es el siguiente.

Server Error in '/wsPTGeografia' Application.

Cannot create ActiveX component.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Exception: Cannot create ActiveX component.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[Exception: Cannot create ActiveX component.]
Microsoft.VisualBasic.Interaction.CreateObject(String ProgId, String ServerName) +214
repoGeneCalc.repoMensual(String fecha) +433
repoGeneCalc.btnReporte_Click(Object sender, EventArgs e) +34
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +118
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +112
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5563

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.233



Editado por el moderador (mauricio) para cambiar el icono de la flama que sirve solo para reportar errores. Si no lo has hecho aún por favor lee la Guía de supervivencia
OpenOffice 3.1 en Windows 8
Avatar de Usuario
mauricio
Mensajes: 6092
Registrado: Sab Nov 22, 2008 5:36 am
Ubicación: CDMX
Contactar:

Re: Error al publicar sitio web que usa Calc

Mensaje por mauricio »

Hace año arregle un problema "similar", el problema fue de permisos, al ser un servidor, estos son más restrictivos, asegurate que no sea este caso, dale permisos a tu aplicación para crear otros procesos... no me preguntes donde, hace años que no toco un Win Server...

Saludos
______________________________________________
"Todo cuanto no podemos dar nos posee". - André Gide
LibreOffice 6.2 | ArchLinux | Gnome3
No respondo preguntas privadas, por favor, usa el foro
Responder