Do not use on any
shared computer
July 24, 2008 09:11pm pdt
null
[x]
Attachment Details

Aplicación de servidor no disponible

Tags: ASP.Net - Crystal Reports XI R2, IExplorer 7
Estoy desarrollando una aplicación web con ASP.Net 2.0, VS2005 y Crystal Reports XI
Tengo problemas al momento de crear el reporte, al llamar oRpt = New ReportDocument
Marca el siguiente error:
Error de servidor en la aplicación '/AppNameI'.
--------------------------------------------------------------------------------
Error al recuperar un generador de clases COM para el componente con CLSID {5EFA39FA-B2C4-4A6E-84D6-C3333D1A3D07} debido al siguiente error: 80070005.
Descripción: Excepción no controlada al ejecutar la solicitud Web actual. Revise el seguimiento de la pila para obtener más información acerca del error y dónde se originó en el código.

Detalles de la excepción: System.UnauthorizedAccessException: Error al recuperar un generador de clases COM para el componente con CLSID {5EFA39FA-B2C4-4A6E-84D6-C3333D1A3D07} debido al siguiente error: 80070005.

ASP.NET no está autorizado para obtener acceso al recurso solicitado. Considere la posibilidad de conceder derechos de acceso al recurso para la identidad de solicitud de ASP.NET. Si la aplicación no se va a suplantar, ASP.NET utiliza una identidad de proceso base (normalmente {MACHINE}\ASPNET en IIS 5 o Network Service en IIS 6). Si la aplicación se va a suplantar mediante <identity impersonate="true"/>, la identidad será el usuario anónimo (generalmente IUSR_MACHINENAME) o el usuario solicitado autenticado.

Para conceder a ASP.NET acceso a un archivo, desde el Explorador, haga clic con el botón secundario del mouse en el archivo, elija "Propiedades" y seleccione la ficha Seguridad. Haga clic en "Agregar" para agregar el usuario o grupo adecuado. Resalte la cuenta de ASP.NET y active las casillas según el acceso deseado.

Error de código fuente:
Línea 77:         If oRpt Is Nothing Then oRpt = New ReportDocument
Línea 78:         'Try
Línea 79:         'Dim dsDatos As New Data.DataSet
 

Archivo de origen: C:\WebApp\HARMI\pagInstalacionesRpt.aspx.vb    Línea: 77
Seguimiento de la pila:
[UnauthorizedAccessException: Error al recuperar un generador de clases COM para el componente con CLSID {5EFA39FA-B2C4-4A6E-84D6-C3333D1A3D07} debido al siguiente error: 80070005.]
   CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor() +171
[TypeInitializationException: Se produjo una excepción en el inicializador de tipo de 'CrystalDecisions.CrystalReports.Engine.ReportDocument'.]
   CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor() +0
   pagInstalacionesRpt.BindReport(String reporte) in C:\WebApp\HARMI\pagInstalacionesRpt.aspx.vb:77
   pagInstalacionesRpt.Page_Load(Object sender, EventArgs e) in C:\WebApp\HARMI\pagInstalacionesRpt.aspx.vb:69
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +47
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1436
Aparece ademas la pantalla de JIT Debugging:
JIT Debugging failed with the followieng error: Acceso denegado
JIT Debugging was initiated by the user account 'MachineName\ASPNET'
Check the documentation index for Just in time debugging, error's for more information.

Si pongo la propiedad:<identity impersonate="true" userName="usr" password="pwd"/>
Aparece lo siguiente:
Aplicación de servidor no disponible
La aplicación Web a la que está intentando obtener acceso en este servidor Web no está disponible actualmente.nbsp; Presione el botón "Actualizar" del explorador Web para reintentar la solicitud.
Nota del administrador: En el registro de eventos de la aplicación del servidor Web puede encontrar el mensaje de error que detalla la causa del error de esta solicitud específica. Revise esta entrada de registro para consultar la causa del error.

Cual puede ser el problema, he estado buscando pero no he encontrado solución.
Pasa tanto en el equipo de desarrollo como remotamente.
La licencia de Crystal Reports es XI R2 developer.

Agradezco su ayuda.
Start your free trial to view this solution
Question Stats
Zone: Web Development
Question Asked By: aslyas
Question Asked On: 05.13.2008
Participating Experts: 2
Points: 250
Views: 0
Translate:
Loading Advertisement...
 
[+][-]Expert Comment by jaime_olivares

Rank: Guru

Expert Comment by jaime_olivares:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Author Comment by aslyas
Author Comment by aslyas:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Expert Comment by jaime_olivares

Rank: Guru

Expert Comment by jaime_olivares:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Author Comment by aslyas
Author Comment by aslyas:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Expert Comment by jaime_olivares

Rank: Guru

Expert Comment by jaime_olivares:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Expert Comment by jaime_olivares

Rank: Guru

Expert Comment by jaime_olivares:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Author Comment by aslyas
Author Comment by aslyas:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Expert Comment by mlmcc

Rank: Genius

Expert Comment by mlmcc:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Author Comment by aslyas
Author Comment by aslyas:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Expert Comment by jaime_olivares

Rank: Guru

Expert Comment by jaime_olivares:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
Loading Advertisement...
20080723-EE-VQP-34 / EE_QW_2_20070628