Error al cargar informe
Publicado por Rocío (10 intervenciones) el 04/04/2001 20:28:26
Estoy utilizando Crystal Report 7.0 y me da dos tipos de error según la asignación del Path.
Si el Path lo obtengo de esta manera como el ejemplo del Crytal:
Path = Request.ServerVariables("PATH_TRANSLATED")
While (Right(Path, 1) <> "\" And Len(Path) <> 0)
iLen = Len(Path) - 1
Path = Left(Path, iLen)
Wend
En este caso Path me devuleve:
C:\Inetpub\wwwroot\Reportes_G\
Me muestra este error:
Ha ocurrido un Error en el servidor al tratar de accesar a la fuente de datos
20614: Hubo un fallo al iniciar el procesamiento de fondo.
Y si asigno la ruta fija:
Path = "http://localhost/Reportes_G/"
Me muestra este error:
cpeaut32 error '800a502d'
No se puede cargar el informe.
En esta linea:
Set session("oRpt") = session("oApp").OpenReport(Path & reportname, 1)
¿Alguno cree saber cómo debo enviarle el Path¿ o ¿Por qué no se carga el informe?
Gracias...
Si el Path lo obtengo de esta manera como el ejemplo del Crytal:
Path = Request.ServerVariables("PATH_TRANSLATED")
While (Right(Path, 1) <> "\" And Len(Path) <> 0)
iLen = Len(Path) - 1
Path = Left(Path, iLen)
Wend
En este caso Path me devuleve:
C:\Inetpub\wwwroot\Reportes_G\
Me muestra este error:
Ha ocurrido un Error en el servidor al tratar de accesar a la fuente de datos
20614: Hubo un fallo al iniciar el procesamiento de fondo.
Y si asigno la ruta fija:
Path = "http://localhost/Reportes_G/"
Me muestra este error:
cpeaut32 error '800a502d'
No se puede cargar el informe.
En esta linea:
Set session("oRpt") = session("oApp").OpenReport(Path & reportname, 1)
¿Alguno cree saber cómo debo enviarle el Path¿ o ¿Por qué no se carga el informe?
Gracias...
Valora esta pregunta
0