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
Error al publicar sitio web que usa Calc
Error al publicar sitio web que usa Calc
OpenOffice 3.1 en Windows 8
Re: Error al publicar sitio web que usa Calc
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
Saludos
______________________________________________
"Todo cuanto no podemos dar nos posee". - André Gide
LibreOffice 6.2 | ArchLinux | Gnome3
No respondo preguntas privadas, por favor, usa el foro
"Todo cuanto no podemos dar nos posee". - André Gide
LibreOffice 6.2 | ArchLinux | Gnome3
No respondo preguntas privadas, por favor, usa el foro