Précédent   Forum des professionnels en informatique > Logiciels > Solutions d'entreprise > Business Intelligence > Crystal Reports
Crystal Reports Forum d'entraide sur Crystal Reports. Avant de poster --> FAQ Crystal, Tutoriels Crystal
Partagez cette discussion sur d'autres réseaux sociaux : Viadeo Twitter Google Facebook Digg Delicious MySpace Yahoo
Réponse Proposer ce sujet en actualité
 
Outils de la discussion
Publicité
'
Vieux 11/07/2006, 12h14   #1
Invité régulier
 
Inscription : juin 2005
Messages : 47
Détails du profil
Informations forums :
Inscription : juin 2005
Messages : 47
Points : 8
Points : 8
Par défaut Erreur de chargement de DLL

Salut,

l'erreur :"Erreur de chargement de la dll cdo32" apparaît lorsque je veux référencer "Crystal Data Object" à partir de Visual Basic 6.
Le fichier cdo32.dll n'existait pas sur ma machine, je l'ai rajouté mais l'erreur persiste.
Est-ce ce problème qui génère l'erreur suivante lors de l'exécution de ma page asp?
Type d'erreur :
Crystal Reports ActiveX Designer (0x80043AC3)
Fichier introuvable. Détails : error
/New ASP PAge1.asp, line 70
ou alors serais-ce une autre cause.
Pourriez-vous me trouver une solution?

Merci

P.S.
La ligne 70 renferme l'instruction
Set session("oRpt") = session("oApp").OpenReport(path & reportname, 1)
marceline est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 12/07/2006, 11h47   #2
Invité régulier
 
Inscription : juin 2005
Messages : 47
Détails du profil
Informations forums :
Inscription : juin 2005
Messages : 47
Points : 8
Points : 8
bonjour,

je n'ai plus d'erreur au niveau de VB6, mais lors de l'exécution de ma page asp cette erreur persiste
Type d'erreur :
Crystal Reports ActiveX Designer (0x80043AC3)
Fichier introuvable. Détails : error
/New ASP PAge1.asp, line 70

merci
marceline est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 12/07/2006, 12h03   #3
BiM
Modératrice
 
Avatar de BiM
 
Femme
Consultante/Formatrice BIRT & Ingénieur Java/J2EE/GWT
Inscription : janvier 2005
Messages : 7 299
Détails du profil
Informations personnelles :
Sexe : Femme
Âge : 26
Localisation : France, Haute Garonne (Midi Pyrénées)

Informations professionnelles :
Activité : Consultante/Formatrice BIRT & Ingénieur Java/J2EE/GWT

Informations forums :
Inscription : janvier 2005
Messages : 7 299
Points : 8 650
Points : 8 650
Et il y a quoi à la ligne 70 de Page1.asp ?
__________________
__~{@ BiM - Modératrice "Business Intelligence" @}~
Consultante/Formatrice BIRT & Ingénieur Java/J2EE/GWT
___________.~{@ Lapine crétine @}~
BiM est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 12/07/2006, 12h21   #4
Invité régulier
 
Inscription : juin 2005
Messages : 47
Détails du profil
Informations forums :
Inscription : juin 2005
Messages : 47
Points : 8
Points : 8
il y a cette instruction :
Set session("oRpt") = session("oApp").OpenReport(path & reportname, 1)
marceline est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 12/07/2006, 12h28   #5
BiM
Modératrice
 
Avatar de BiM
 
Femme
Consultante/Formatrice BIRT & Ingénieur Java/J2EE/GWT
Inscription : janvier 2005
Messages : 7 299
Détails du profil
Informations personnelles :
Sexe : Femme
Âge : 26
Localisation : France, Haute Garonne (Midi Pyrénées)

Informations professionnelles :
Activité : Consultante/Formatrice BIRT & Ingénieur Java/J2EE/GWT

Informations forums :
Inscription : janvier 2005
Messages : 7 299
Points : 8 650
Points : 8 650
Et le chemin est bon ? (Surtout si tu es sur un serveur)
__________________
__~{@ BiM - Modératrice "Business Intelligence" @}~
Consultante/Formatrice BIRT & Ingénieur Java/J2EE/GWT
___________.~{@ Lapine crétine @}~
BiM est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 12/07/2006, 12h35   #6
Invité régulier
 
Inscription : juin 2005
Messages : 47
Détails du profil
Informations forums :
Inscription : juin 2005
Messages : 47
Points : 8
Points : 8
le chemin est bon et je suis en local.
j'ai l'impression qu'il me manque des dll
marceline est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 12/07/2006, 12h36   #7
BiM
Modératrice
 
Avatar de BiM
 
Femme
Consultante/Formatrice BIRT & Ingénieur Java/J2EE/GWT
Inscription : janvier 2005
Messages : 7 299
Détails du profil
Informations personnelles :
Sexe : Femme
Âge : 26
Localisation : France, Haute Garonne (Midi Pyrénées)

Informations professionnelles :
Activité : Consultante/Formatrice BIRT & Ingénieur Java/J2EE/GWT

Informations forums :
Inscription : janvier 2005
Messages : 7 299
Points : 8 650
Points : 8 650
Si tu as mis un chemin du genre c:/blabla... je ne suis pas sûre qu'il aime.
__________________
__~{@ BiM - Modératrice "Business Intelligence" @}~
Consultante/Formatrice BIRT & Ingénieur Java/J2EE/GWT
___________.~{@ Lapine crétine @}~
BiM est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 12/07/2006, 12h43   #8
Invité régulier
 
Inscription : juin 2005
Messages : 47
Détails du profil
Informations forums :
Inscription : juin 2005
Messages : 47
Points : 8
Points : 8
voici la page asp
NewAspPage1.asp
marceline est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 12/07/2006, 12h55   #9
BiM
Modératrice
 
Avatar de BiM
 
Femme
Consultante/Formatrice BIRT & Ingénieur Java/J2EE/GWT
Inscription : janvier 2005
Messages : 7 299
Détails du profil
Informations personnelles :
Sexe : Femme
Âge : 26
Localisation : France, Haute Garonne (Midi Pyrénées)

Informations professionnelles :
Activité : Consultante/Formatrice BIRT & Ingénieur Java/J2EE/GWT

Informations forums :
Inscription : janvier 2005
Messages : 7 299
Points : 8 650
Points : 8 650
Ton lien ne m'aide pas, j'aimerais savoir ce que contient path et filename.
Fais un affichage et regardes si c'est bon. S'ils sont bons, met les sur le forum (en cachant une partie du chemin si ca te gêne).
__________________
__~{@ BiM - Modératrice "Business Intelligence" @}~
Consultante/Formatrice BIRT & Ingénieur Java/J2EE/GWT
___________.~{@ Lapine crétine @}~
BiM est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 12/07/2006, 13h03   #10
Invité régulier
 
Inscription : juin 2005
Messages : 47
Détails du profil
Informations forums :
Inscription : juin 2005
Messages : 47
Points : 8
Points : 8
je comprends pas bien, mais voici le contenu de la page

<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<%

Reportname = "ImportationsParProvenance"

Param1 = request.Form("annee")

response.Write("<br>")
'---Déclaration et instanciation des objets pour les données
Dim oImpParProvenance, rsLstImportation
Set oImpParProvenance=Server.CreateObject("PrjImpParProvenance.ImpParProvenance")
Set rsLstImportation=Server.CreateObject("ADODB.Recordset")
'Set rsLstImportation=oImpParProvenance.ImportationsParProvenance1(Param1, Param2, Param3)
'----------

sess = Session.SessionID
Reportname = Reportname & ".rpt"
If Not IsObject (session("oApp")) Then
Set session("oApp") = Server.CreateObject("CrystalRuntime.Application.11")
End If
Path = Request.ServerVariables("PATH_TRANSLATED")
While (Right(Path, 1) <> "\" And Len(Path) <> 0)
iLen = Len(Path) - 1
Path = Left(Path, iLen)
Wend
If IsObject(session("oRpt")) then
Set session("oRpt") = nothing
End if
Set rsLstImportation = oImpParProvenance.ImportationsParProvenance1(Param1)
Set session("oRpt") = session("oApp").OpenReport(path & reportname, 1)
Set session("CrSections ")= session("oRpt").Sections
session("oRpt").discardsavedData
session("oRpt").database.setdatasource rsLstImportation


If Err.Number <> 0 Then
response.Write(err.description)
' Response.Write "Error Occurred creating Report Object: " & Err.Description
Set session("oRpt") = nothing
Set session("oApp") = nothing

'Response.End
End If

'Response.end

'Initialization of options
session("oRpt").MorePrintEngineErrorMessages = False
session("oRpt").EnableParameterPrompting = False
Set CrystalExportOptions = session("oRpt").ExportOptions

ExportDirectory = Path
CrystalExportOptions.DiskFileName = ExportDirectory & ExportFileName
CrystalExportOptions.FormatType = CInt(ExportType)
CrystalExportOptions.DestinationType = CInt(1)
CrystalExportOptions.PDFFileName = ExportFileName
session("oRpt").Export False
Response.Redirect (ExportFileName)

%>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Document sans titre</title>
</head>

<body>

</body>
</html>
marceline est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 12/07/2006, 13h07   #11
Invité régulier
 
Inscription : juin 2005
Messages : 47
Détails du profil
Informations forums :
Inscription : juin 2005
Messages : 47
Points : 8
Points : 8
ImportationsParProvenance est le nom de l'état
et il est dans "C:\Job_courant\SourcesVB\PrjEtEtats
marceline est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 12/07/2006, 14h16   #12
BiM
Modératrice
 
Avatar de BiM
 
Femme
Consultante/Formatrice BIRT & Ingénieur Java/J2EE/GWT
Inscription : janvier 2005
Messages : 7 299
Détails du profil
Informations personnelles :
Sexe : Femme
Âge : 26
Localisation : France, Haute Garonne (Midi Pyrénées)

Informations professionnelles :
Activité : Consultante/Formatrice BIRT & Ingénieur Java/J2EE/GWT

Informations forums :
Inscription : janvier 2005
Messages : 7 299
Points : 8 650
Points : 8 650
Je pense qu'un chemin relatif serait peut-être la solution (../dossier/monrapport.rpt par exemple).
__________________
__~{@ BiM - Modératrice "Business Intelligence" @}~
Consultante/Formatrice BIRT & Ingénieur Java/J2EE/GWT
___________.~{@ Lapine crétine @}~
BiM est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 12/07/2006, 15h09   #13
Invité régulier
 
Inscription : juin 2005
Messages : 47
Détails du profil
Informations forums :
Inscription : juin 2005
Messages : 47
Points : 8
Points : 8
j'ai utilisé le chemin relatif, le programme page l'instruction d'erreur précédente mais provoque une autre erreur

Erreur d'exécution Microsoft VBScript (0x800A01B6)
Cet objet ne gère pas cette propriété ou cette méthode: 'CrystalExportOptions.PDFFileName'

au niveau de l'instruction :CrystalExportOptions.PDFFileName = ExportFileName
marceline est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 13/07/2006, 09h14   #14
Invité régulier
 
Inscription : juin 2005
Messages : 47
Détails du profil
Informations forums :
Inscription : juin 2005
Messages : 47
Points : 8
Points : 8
Bonjour,

merci à BiM d'avoir essayé de résoudre ce problème
marceline est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 17/07/2006, 23h40   #15
BiM
Modératrice
 
Avatar de BiM
 
Femme
Consultante/Formatrice BIRT & Ingénieur Java/J2EE/GWT
Inscription : janvier 2005
Messages : 7 299
Détails du profil
Informations personnelles :
Sexe : Femme
Âge : 26
Localisation : France, Haute Garonne (Midi Pyrénées)

Informations professionnelles :
Activité : Consultante/Formatrice BIRT & Ingénieur Java/J2EE/GWT

Informations forums :
Inscription : janvier 2005
Messages : 7 299
Points : 8 650
Points : 8 650
Il n'y a pas d'attribut PDFFileName alors.
__________________
__~{@ BiM - Modératrice "Business Intelligence" @}~
Consultante/Formatrice BIRT & Ingénieur Java/J2EE/GWT
___________.~{@ Lapine crétine @}~
BiM est déconnecté   Envoyer un message privé Réponse avec citation 00
Réponse Proposer ce sujet en actualité
Outils de la discussion



Fuseau horaire GMT +2. Il est actuellement 10h41.


 
 
 
 
Partenaires

Hébergement Web