Error (<class conversion.com.sun.star.lang.IllegalArgumentException at 0xb7bc8d1c>) during conversion:URL seems to be an unsupported one.
Because of this line, I'm keep whining for whole day!
I want OpenOffice convert my document to PDF using UNO. Works perfectly in my development box, but when using different box it don't like me. Hate deployment, hate hate ...
I wish that I'm get paid by the line :D , so I can apply this cheat in my code:
If Request.QueryString("source_url") = "" Then
strRedirect = strRedirect & "&verify=1"
If Request.QueryString("process") = "1" Then
strRedirect = strRedirect & "&process=1"
End If
Response.Redirect(strRedirect)
Else
strRedirect = strRedirect & "&verify=1"
If Request.QueryString("process") = "1" Then
strRedirect = strRedirect & "&process=1"
End If
Response.Redirect(strRedirect)
End If
1 comment:
comment to myself:
The problem solved. Reinstall OpenOffice (tip for deployment).
I don't believe I laugh many times when see the code snippet. My friends wondering why I laughing while sitting in front of the stupid monitor. What a weirdo nerd!
Post a Comment