Options

Problem with report.saveaspdf from Webservice

AlishaAlisha Member Posts: 217
edited 2010-09-16 in NAV Three Tier
Hi,

I'm trying to run a report using SAVEASPDF from a website created using NAV 2009 webservices. It works fine if i use a std report (i was using no. 111), but when i put a report i've created, it doesn't create the pdf , it does nothing..

I cannot see any difference between the reports, I've designed the layout on mine and tested it on RTC to make sure it works, and it does.

Any ideas??

Many thanks !

Comments

  • Options
    ara3nara3n Member Posts: 9,255
    did you create a layout for it?
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • Options
    AlishaAlisha Member Posts: 217
    Yes, I did. The report prints fine on RTC.
  • Options
    clauslclausl Member Posts: 455
    Can you save your reports to PDF in the Report Viewer with no errors?

    Regards,
    Claus
    Claus Lundstrøm | MVP | Senior Product Manager | Continia.com
    I'm blogging here:http://mibuso.com/blogs/clausl and used to blog here: http://blogs.msdn.com/nav
    I'm also offering RDLC Report Training, ping me if you are interested. Thanks to the 700 NAV developers that have now already been at my training. You know you can always call if you have any RDLC report issues :-)
  • Options
    AlishaAlisha Member Posts: 217
    Yes, it saves the report ok. It just does not work from the Web Service, and only with this report.... as I said, a standard one works perfectly. It must be something about the report itself, but I can't see it...
  • Options
    AlishaAlisha Member Posts: 217
    No one can help? i've run out of ideas to try.... :(
  • Options
    Marije_BrummelMarije_Brummel Member, Moderators Design Patterns Posts: 4,262
    Maybe the WS user does not have access to the file location?
  • Options
    AlishaAlisha Member Posts: 217
    Then it wouldn't work with the standard report either no...?

    The standard report works perfect, my report (no. 50001), doesn't....

    Edit: It's working!! I must have typed something wrong at some point and I just fixed it!!

    Thanks to everyone that tried to help!!
Sign In or Register to comment.