Como se hace funcionar crystal report en otro pc al instalar un rpograma echo en .Net 2005?

22/11/2005 - 09:06 por Benjamin | Informe spam
A ver intentado agregar las librerias necesarias para que la aplicacion, que
incluye un report,para que me lo abra en el ordenador donde se instala la
aplicacion.
Despues que me diera errores por librerias que no estaba y ya he añadido, me
da el siguiente error que me cierra la aplicacion por un error
the type inicializate for
'CrystalDecisions.CrystalReports.Engine.ReportDocument' thre an exception y
en detalles de ese error me dice lo siguiente

System.TypeInitializationException: The type initializer for
'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an
exception. > System.IO.FileNotFoundException: Could not load file or
assembly 'CrystalDecisions.ReportAppServer.CommLayer, Version.2.3600.0,
Culture=neutral, PublicKeyTokeni2fbea5521e1304' or one of its
dependencies. El sistema no puede hallar el archivo especificado.File name:
'CrystalDecisions.ReportAppServer.CommLayer, Version.2.3600.0,
Culture=neutral, PublicKeyTokeni2fbea5521e1304' at
CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor()
Bueno de eso deduzco que no esta el archivo rpt del reports, pero se
supone(corregidme si me equivoco) que esta enbebido en el exe de la
aplicacion como si fuera un formulario, por lo tanto, no se que pasa!!!!

Gracias y Salu2.

Preguntas similare

Leer las respuestas

#1 Benjamin
23/11/2005 - 09:07 | Informe spam
No encuentro nada asi, no pdorias decirme como hacerlo?


Gracias
Respuesta Responder a este mensaje
#2 Benjamin
23/11/2005 - 19:13 | Informe spam
<enorso> Gracias por nada, si pregunto aqui es porque ya he buscado en mas
sitios, procuro que antes de molestar a nadie, a ver buscado bastante.
Pero bueno, ya encontre la solucion y aqui os la dejo para todos, era algo
"sencillo", aunque como nadie nace aprendido

ClickOnce deployment:

1) Start Visual Studio 2005 (Beta2)
2) Select File, then click New Project.
3) Choose a language (C#, VB, J#) and select Windows Application.
4) Create your application
5) In the Solution Explorer, right-click the project name, and click
Properties
6) Click on the Publish tab, and then click Prerequisites.
7) In the Prerequisites dialog box, under the Choose which prerequisites to
install list,
select .NET Framework 2.0 and Crystal Reports for .NET.
8) back to the Solution Explorer, right-click the project name, and click
Publish...
9) When the Publish Wizard dialog box appears, click Next.
10) In the Will the application be available offline? dialog box, select
Yes, this
application is available online or offline, and then click Next
11) From the Ready to Publish! dialog box, note the URL where the
application is
published, and then click Finish.
12) On the client machine, open a Web browser window
13) In the browser's address bar, type the URL of the published Web Site.
14) The Web Site contains links to install and run the Windows application
with the
prerequisites or without the prerequisites.
15) Click the install link to install the prerequisites on the client
machine.
15) Click the install link to install your application on the client
machine.


Setup Project Deployment:

Setup Project Deployment is very similar to ClickOnce deployment, but here
you can deploy either a windows application or a web application.

Here I will assume that you have already created your application

1) Start Visual Studio 2005 (Beta2)
2) Select File, then click New Project.
3) Choose Other Project Types and Setup and Deployment.
4) Select Setup Project or Web Setup Project
5) Add in your project output, file, assembly...etc
6) In the Solution Explorer, right-click the setup project name, and click
Properties
7) From the Property Pages dialog, click Prerequisites
8) In the Prerequisites dialog box, under the Choose which prerequisites to
install list,
select .NET Framework 2.0 and Crystal Reports for .NET.
9) Back to Property Pages dialog, click OK
10) In the Solution Explorer, right-click the setup project name, and click
Build
email Siga el debate Respuesta Responder a este mensaje
Ads by Google
Help Hacer una preguntaRespuesta Tengo una respuesta
Search Busqueda sugerida