f o p ! ! help

tomsy

Grünschnabel
wieso läuft das nicht

Code:
<%

strXSLPath="-xsl format.xsl"
strXMLPath="-xml daten.xml"
strPDFPath="-pdf outputxxx.pdf"


call xml2pdf(strXSLPath, strXMLPath, strPDFPath)

Function xml2pdf(strXSLPath, strXMLPath, strPDFPath)
Dim strCommand
strCommand = "J:\INTRANET\PRODUCTIVE\D_IPU\IPU_TEST\FOP/fop.bat " & strXSLPath & " " & strXMLPath & " " & strPDFPath
Set objShell = Server.CreateObject("wscript.shell")
xml2pdf = objShell.run("cmd.exe /C " & strCommand)
Set objShell = nothing
End Function
%>

:(
 
Was läuft denn nicht? Fehler?

im browser wird angezeigt: wird geladen
hört nicht auf zu laden
fehlermeldung erscheint net
auch wird kein pdf file erstellt
..............................................................................
:mad:
 
Hast du Schreibrecht im entsprechenden Ordner? Funktioniert das ganze wenn du das Batch-File mit den genau gleichen Parametern von Hand aufrufst? Bist du sicher dass alle Pfade richtig sind?
 
ja, schreibrecht hab ich in dem ordner
ja es funktioniert, wenn ich es von hand aufrufe
ja, die pfade stimmen
;)
danke trotzdem
 

Neue Beiträge

Zurück