Good evening,
I installed Prince on a
Windows Server 2012 R2 Standard
with IIS 8.5.96
I set Full control permissions to Everyone on whole C:\Prince folder, subfolder, etc...
I tried 64 bit and 32 bit versions, I downloaded and registered DLL for ActiveX using.
I checked enableParentPaths in IIS/ASP and Enable32bitApplications in IIS/Application Pool/DefaultAppPool.
I set Managed Piped Mode on Classic in
I checked enableParentPaths in IIS/ASP and Enable32bitApplications in IIS/Application Pool/DefaultAppPool
Still this sample code return Unsuccessful and won't log.
Can anyone help me?
<%
Dim pr
Dim res
Set pr = Server.CreateObject("PrinceCom.Prince")
pr.SetPrincePath "C:\Prince\engine\bin\prince.exe"
pr.AddStyleSheet "C:\Prince\css\test1.css"
pr.AddStyleSheet "C:\Prince\css\test2.css"
'pr.SetEncryptInfo 128, "password1", "password2", true, true, true, true
pr.setlog("C:\prince\log.txt")
If pr.Convert("C:\Prince\examples\magic.html", "C:\prince\output.pdf") = 1 Then
res = "Successful"
Else
res = "Unsuccessful"
End If
response.write res
%>
I installed Prince on a
Windows Server 2012 R2 Standard
with IIS 8.5.96
I set Full control permissions to Everyone on whole C:\Prince folder, subfolder, etc...
I tried 64 bit and 32 bit versions, I downloaded and registered DLL for ActiveX using.
I checked enableParentPaths in IIS/ASP and Enable32bitApplications in IIS/Application Pool/DefaultAppPool.
I set Managed Piped Mode on Classic in
I checked enableParentPaths in IIS/ASP and Enable32bitApplications in IIS/Application Pool/DefaultAppPool
Still this sample code return Unsuccessful and won't log.
Can anyone help me?
<%
Dim pr
Dim res
Set pr = Server.CreateObject("PrinceCom.Prince")
pr.SetPrincePath "C:\Prince\engine\bin\prince.exe"
pr.AddStyleSheet "C:\Prince\css\test1.css"
pr.AddStyleSheet "C:\Prince\css\test2.css"
'pr.SetEncryptInfo 128, "password1", "password2", true, true, true, true
pr.setlog("C:\prince\log.txt")
If pr.Convert("C:\Prince\examples\magic.html", "C:\prince\output.pdf") = 1 Then
res = "Successful"
Else
res = "Unsuccessful"
End If
response.write res
%>