Skip to Content

Error code name:serverNotFound. Please help


I was trying to run some code samples but I keep getting this error. I don't know what to do without JPEReportSourceFactory, nothing works. Any idea?

Error: There is no server specified.---- Error code:-2147217390 Error code name:serverNotFound


ReportClientDocument reportClientDoc = new ReportClientDocument();"list.rpt", 0);
      Object reportSource = reportClientDoc.getReportSource();

      CrystalReportViewer viewer=new CrystalReportViewer();
      viewer.processHttpRequest(request, response, getServletConfig().getServletContext(), response.getWriter());

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Aug 11, 2008 at 01:14 PM

    It's likely you're using the incorrect ReportClientDocument for the Java Reporting Component.

    The full name for the Java Reporting Component is:


    I'm assuming you're using the ReportClientDocument that comes with the Report Application Server (RAS) SDK:

    The RAS SDK expects a RAS server to connect with.


    Ted Ueda

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 11, 2008 at 01:17 PM

    Hi Paul,

    It looks like you are using unmanaged RAS and after you instantiate ReportClientDocument you need to set the RAS server that will be used as follows:

    reportClientDoc.setReportAppServer("<RAS server name>");

    RAS server name could be localhost or or which ever RAS server you want to connect to.

    Make sure that it is running and you have concurrent licenses.



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.