• Problem encountered while using on server

    By Atul Saxena 1 decade ago

    Database works fine as long as I am using it local. For server I changed, templatePdfName to

    http://myserver/Atul/pdfexportcc.nsf/test-pdf-template1.pdf?OpenFileResource. I am getting error in opening .pdf file. Please review attached file and advise what I am doing wrong.

    • For a start...

      By Rami Muurimäki 1 decade ago

      I think I need more info of your issue. There's a number of things that can be wrong. Here's a quick list you can do/ check/ reply first

      - Does the example database work properly on your server?

      - Have you checked your server logs? Is there something? The error handling part is on my "task list" and that one will be better in the future.

      - Does the browser have anonymous access to the PDF template? Check the ACL.

      - Double check the template URL. Does it work if you point to that address with your Internet explorer?

      - You have copied all the required design elements to your NSF?

      If we are unable to find the reason why the control is not working properly, I can always take a look. In this case I need to get your copy of the database. I think we'll find a way how you can send/ share that with me.

      Please let me know if you found the problem :)

       

      Oh and while developing the control, I used always a server. To be hones, I didn't even test it on as a local application.

      • Answers to your questions

        By Atul Saxena 1 decade ago

         

        - Does the example database work properly on your server?

        Answer : It works well local and it does not work on domino server.

        - Have you checked your server logs? Is there something? The error handling part is on my "task list" and that one will be better in the future.

        Answer :

        a) Errors shown in log.

        08/26/2011 12:15:33 PM  HTTP JVM: Error while executing JavaScript action expression. For more detailed information, please consult error-log-0.xml located in/home/notes/kotdata/domino/workspace/logs


        08/26/2011 12:15:33 PM  HTTP JVM: com.ibm.xsp.webapp.FacesServlet$ExtendedServletException: javax.faces.FacesException: Error while executing JavaScript action expression


        08/26/2011 12:15:33 PM  HTTP JVM: CLFAD0134E: Exception processing XPage request. For more detailed information, please consult error-log-0.xml located in/home/notes/kotdata/domino/workspace/logs

        - Does the browser have anonymous access to the PDF template? Check the ACL.

        Answer : I removed Anonymous Access

        - Double check the template URL. Does it work if you point to that address with your Internet explorer?

        Answer : It does not work on IE as well.

        - You have copied all the required design elements to your NSF?

        Answer : I am using your database to explore and will use the same concept in my upcoming CRM application.

        Please let me know, if you need any input from me.

        Atul Saxena

        jmdatul@gmail.com

         

         

         

         

         

    • Open defect

      By Rami Muurimäki 1 decade ago

      This defect hasn't been solved yet. I have tested the controller both in Windows and Linux environments with Domino 8.5.2 server and it works fine. For some reason I'm not able to replay the problems Atul is having, he even emailed the database to me. It works on our system but on hes.

      If someone has any ideas what would cause this, please let me know.