Exception "The RPC server is unavailable" when trying to print .rdlc report from reportviewer. RRS feed

  • Question

  • hi 

    I am trying to print a report (.rdlc) from a report viewer control. I have referred to this code to convert the report into EMF file 

    The EMF files are getting created however when it comes to the line


    it throws exception saying  "The RPC server is unavailable". The printer is working fine. Its a network printer and I have given proper path for it.
    The point to be noted is, when for the first time I tried to print it threw exception saying "Access Denied", and  "The RPC server is unavailable" there after.
    Has someone ever seen this error.

    Monday, March 8, 2010 9:20 PM

All replies

  • Hi Rash!


    I have found the same error in the application I'm developing too but the difference is that I'm not printing the document within the code but with the print button inside the report viewer control.


    Did you find any solution?




    Tuesday, January 25, 2011 6:02 PM
  • Did you guys find a solution to this Issue? I am running in to the same problem.
    Thursday, June 9, 2011 6:29 PM