Error code name:serverNotFound. Please help

Hi,
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:
com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException: There is no server specified.---- Error code:-2147217390 Error code name:serverNotFound
Code:
ReportClientDocument reportClientDoc = new ReportClientDocument();
      reportClientDoc.open("list.rpt", 0);
      Object reportSource = reportClientDoc.getReportSource();
      CrystalReportViewer viewer=new CrystalReportViewer();
      viewer.setParameterFields(fields);
      viewer.setOwnPage(true);
      viewer.setReportSource(reportSource);
      viewer.setEnableParameterPrompt(false);
      viewer.setEnableLogonPrompt(false);
      viewer.setBestFitPage(true);
      viewer.setHasLogo(false);
      viewer.setDisplayGroupTree(false);
      viewer.setPrintMode(CrPrintMode.PDF);
      viewer.processHttpRequest(request, response, getServletConfig().getServletContext(), response.getWriter());

It's likely you're using the incorrect ReportClientDocument for the Java Reporting Component.
The full name for the Java Reporting Component is:
com.crystaldecisions.reports.sdk.ReportClientDocument
I'm assuming you're using the ReportClientDocument that comes with the Report Application Server (RAS) SDK:
com.crystaldecisions.sdk.occa.report.application.ReportClientDocument
The RAS SDK expects a RAS server to connect with.
Sincerely,
Ted Ueda

Similar Messages

  • My compouter (PC) no longer recognizes my ipod (4th gen), it "sees" an unknowndevice and gives me error code 43.  Please help.

    My compouter (PC) no longer recognizes my ipod (4th gen), it "sees" an unknowndevice and gives me error code 43.  Please help.

    Check for hardware issues
    Try to restore your iOS device two more times while connected with a cable, computer, and network you know are good. Also, confirm your security software and settings are allowing communication between your device and update servers. If you still see the alert when you update or restore, contact Apple support.
    Common errors: 1, 10-47, 1002, 1011, 1012, 1014, 1000-1020.
    If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar                                      

  • Internal rpc error (error code:2).  Please help.

    Our Oracle database is on Solaris 9. When we do stress testing on database and server. We have got this error message.
    Monitor name :UNIX Resources. Internal rpc error (error code:2).
    Hint: Check that RPC on this machine is up and running. Check that rstat daemon
    on this machine is up and running (use rpcinfo utility for this verification).
    Details: RPC: RPC call failed.
    RPC-TCP: recv()/recvfrom() failed.
    RPC-TCP: Timeout reached. (entry point: Factory::CollectData). [MsgId: MMSG-47197]
    The error appears randomly when number of users querying database increases to high number.
    Please help me to figure out the reason and solutions. Thanks in advance.

    consider the following
    not for copying
    but for studying working code
    to help clarify ideas
    import java.io.*;
    list items and count of each item
    in a list of socks
    file has list of socks ...
    4
    red sock
    green sock
    blue sock
    green sock
    the first line is n = count of socks
    if no socks match, there are n items
    for example : 3 items in ...
    3
    red sock
    blue sock
    green sock
    if all socks match there is one item
    for example : 1 item in ...
    3
    red sock
    red sock
    red sock
    if socks come in pairs, there are at most n/2 items
    for example : 2 items in ...
    4
    red sock
    green sock
    red sock
    green sock
    program does not assume that socks come in pairs !!
    public class Socks {
    public static void main(String args[]) throws IOException
    String[] socks = new String[1000];
    int numOfsocks;
    String[] item = new String[1000];
    int[] count = new int[1000]; // initializes each count to zero
    int totalcount = 0;
    int i;
    int j;
    boolean ifound;
    FileReader fr = new FileReader("test.txt");
    BufferedReader inFile = new BufferedReader(fr);
    numOfsocks = Integer.parseInt(inFile.readLine());
    for (i = 0; i < numOfsocks; i++)
    socks[ i ] = inFile.readLine();
    inFile.close();
    for (i = 0; i < numOfsocks; i++) {
    ifound = false;
    for (j = 0; j < totalcount; j++) {
    if (socks[ i ].equalsIgnoreCase(item[j])) {
    ifound = true;
    count[j]++; // increase count for matched item
    break; // exit "for j loop"
    } // for j
    // sock not found so add it to item list ...
    if (ifound == false) {
    item[totalcount] = socks[ i ];
    count[totalcount] = 1;
    totalcount++;
    } // for i
    for (i = 0; i < totalcount; i++)
    System.out.println (item[ i ] + ", count = " + count[ i ]);
    } // class

  • I cannot access iTunes Store due to an error code 0x80090318. Please help!

    I cannot connect to iTunes Store. I tried re downloading, it's OS windows 8.1
    Please help!

    Type that Error code into the Search window... Top right

  • It says it needs to be connected to itunes and restored.  when i do that, it goes through the whole process then comes up with "iphone could not be restored. unknown error code (-1)".  Please help

    My brother gave me his old iphone when the touch screen went out on mine.  It's in great shape but when I received it, it says that it needs to be connected to itunes to be restored.  I have done this and it goes through the whole process then says iphone "iphone" could not be restored.  unknown error code (-1).  There is not a -1 code on the list and I have tried most of the suggestions.
    Does my sim card need to be in when I am doing this?  And any other suggestions?

    I did put it in DFU mode but its still not working, although everytime it shows your iphone needs to be restored. Kindly help.

  • Extension Manager fails to update, Error code 49? Please help. Thank you.

    Extension Manager fails to update. Error code 49?

    JJk4567 49 can be due to a download error.  Please see Error downloading Creative Cloud applications - http://helpx.adobe.com/creative-cloud/kb/error-downloading-cc-apps.html for additional details.

  • Error code -43 ?  Please help-

    I've picked up a few items in my hard drive that I can't seem to get rid of. Whenever I try to move these folders to the trash I get "The operation cannot be completed because one or more required items cannot be found. (error code -43)." What gives? Thanks in advance.

    -43 fnfErr File not found; Folder not found; Edition container not found; Target not found.
    That is strange because if that is true of a visible or broken file it should either no longer be visible or should let you move it to the trash. Can you give us any more details about what kind of file it is and where you got it from?

  • I am trying to open up my Adobe Photoshop CS4 from my hard drive. Whenever, I launch it it reads: Licensing for this product has stopped working. Error code 6! Please help!

    Does anyone know what I can do? Help!

    See if the information at these links might help:
    Error "Licensing has stopped working" | Windows
    Error "Licensing has stopped working" | Mac OS
    -Noel

  • HT201210 my iphone 1st gen is stuck in recovery mode and every time i try to reinstall firmware i get an error code 1015 can anyone help please?

    my iphone 1st gen is stuck in recovery mode and every time i try to reinstall firmware i get an error code 1015 can anyone help please?

    Make sure you are using current iTunes on your computer. Click the iTunes Tab at the top of this page. Or try to Restore your iPhone with a different computer.

  • When I download the digital copy of the Hunger Games, it stops at 4.0GB and first returns an error code -1309 and then the code -50. Please help me complete the download.

    When I download the digital copy of the Hunger Games, it stops at 4.0GB and first returns an error code -1309 and then the code -50. Please help me complete the download. I have tried removing the .tmp folder and downloading it again, but each time it stops the download in the same place.

    I discovered the solution. The external drive I was saving it to was formatted as FAT32. In that format, the largest files can only be 4GB, which explains why it kept stopping at 4GB. I backed up all the files then reformatted it as Mac OS Extended (Journaled), this is possible since I am on an iMac.

  • I started the OS system from a backup hard drive. Now My Adobe products doesnt work. "the licensing does not work for this product" Error code 150:30. Help me please!!

    I started the OS system from a backup hard drive. Now My Adobe products doesnt work. "the licensing does not work for this product" Error code 150:30. Help me please!!

    Reinstall the software properly. migration/ backups do not work due to the specific requirements of the activation system.
    Mylenium

  • Can not create temp file---- Error code:-2147215357 [CRSDK00000615] Error code name:internal

    Hello,
    While exporting Export reporting from BI4 getting exception
    Can not create temp file---- Error code:-2147215357 [CRSDK00000615] Error code name:internal
    In Trace Log I am getting
    com.crystaldecisions.xml.serialization.XMLWriter||Failed to create an object instance for CrystalReports.TextObjectFormat
    java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key CrystalReports.TextObjectFormat
      at java.util.ResourceBundle.getObject(ResourceBundle.java:374)
      at java.util.ResourceBundle.getString(ResourceBundle.java:334)
    I tried following solution according to the all forums but still issue exist.
    Done changes mention in KB article In <Installation-dir-of-BO>\Common\4.0\java\CRConfig.XML we have to increase the JAVA heap MIN and Max size
              <JVMMaxHeap>64000000</JVMMaxHeap>          <JVMMinHeap>32000000</JVMMinHeap>
    Increase the value in the ReportApplicationServer Services in the CMC for "Number of database records to read when previewing or refreshing a report". The value -1 is for unlimited records but not recommended for performance.
    Check for temporary read write permission on server
    Using SDK library from C:\Program Files (x86)\SAP Business Objects\SAP BusinessObjects Enterprise XI 4.0\java\lib
    Can you please let me know is there anything missing.

    Hi,
    We face the same problem with some BI4 reports.
    The same report works well with the "Crystal Reports Viewers API", as used in Infoview, but not with the "Report Application Server (RAS) API".
    This error appears after some time working on a report. If we reproduce the same report, but from zero, no problem.
    Hope it can help.
    Ludovic.

  • Report App Server;Error code:-2147215349 Error code name:docNotReady.......

    Hi Experts,
    In our application we are trying to connect to the RAS server  for the ad hoc reporting capabilities that allow users to modify reports over the Web.
    In order to do this what are servers need to run on the server side( I am looking for settings on server side like, what are the servers and services to be run on).
    When we try to open the document  we are getting the error. The code and error msg are as follows.
    private void GetReportClientDocument()
              try {
                   sessionManager = CrystalEnterprise.getSessionMgr();
                   enterpriseSession = sessionManager.logon(username,password, servername, "SecEnterprise");
                   iStore = (IInfoStore) enterpriseSession.getService("InfoStore");
                   String sampleReportName = "Test_Open";
                   IInfoObjects infolist = iStore.query("Select SI_CUID From CI_INFOOBJECTS Where  SI_NAME='" + sampleReportName + "' and SI_INSTANCE=0");
                   int lookUpId = 0;
                   for (int i = 0; i < infolist.size(); i++) {
                        IInfoObject siId = (IInfoObject) infolist.get(i);
                        lookUpId = siId.getID();
                   System.out.println("The CUID is: "+lookUpId);
                   IInfoObjects list = iStore.query("select * From CI_INFOOBJECTS Where SI_ID="+lookUpId);
                   IInfoObject report = (IInfoObject) list.get(0);
                   ReportClientDocument rcd = new ReportClientDocument();
                   IReportAppFactory appFactory = (IReportAppFactory) enterpriseSession.getService("RASReportFactory");
                   try {
                        System.out.println("Name of Document: "+rcd.getReportDocument().getName());
                        rcd = appFactory.openDocument(report, OpenReportOptions._openAsReadOnly,null);
                   } catch (ReportSDKException e) {
                        e.printStackTrace();
              } catch (SDKException e) {
                   e.printStackTrace();
    Error:
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKClientDocException: The document has not been opened.---- Error code:-2147215349 Error code name:docNotReady
         at com.crystaldecisions.sdk.occa.report.lib.ReportSDKClientDocException.throwReportSDKClientDocException(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.getDatabaseController(Unknown Source)
         at Viewer.GetReportClientDocument(Viewer.java:98)
         at Viewer.main(Viewer.java:27)
    Thanks in advance for your help.

    Hi Qiang,
    Please check http://metalink.oracle.com/metalink/plsql/ml2_documents.showFrameDocument?p_database_id=NOT&p_id=1047650.6 for possible solutions for this error.
    Thanks,
    Erik

  • Gettin Error code:-2147215361 Error code name:outOfMemoryError

    Hi all,
    I have Crystal Report Server 2008 V1 and when I invoke the Crystal Report server from my java file i am getting the below error.
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Out of memory error occurred. - Java heap space-- Error code:-2147215361 Error code name:outOfMemoryError
         com.crystaldecisions.proxy.remoteagent.TCPIPCommunicationAdapter.request(Unknown Source)
         com.crystaldecisions.proxy.remoteagent.y.a(Unknown Source)
         com.crystaldecisions.sdk.occa.report.application.ReportAppSession.a(Unknown Source)
         com.crystaldecisions.sdk.occa.report.application.ReportAppSession.a(Unknown Source)
         com.crystaldecisions.sdk.occa.report.application.ReportAppSession.initialize(Unknown Source)
         com.crystaldecisions.sdk.occa.report.application.ClientDocument.new(Unknown Source)
         com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.new(Unknown Source)
         com.crystaldecisions.sdk.occa.report.application.ClientDocument.open(Unknown Source)
         org.apache.jsp.formula_jsp._jspService(formula_jsp.java:93)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    Please help me to resolve this.

    Hi,
    thanks a lot for your answer.
    Regards,
    Gourav

  • Error code:-2147217387 Error code name:connectServer

    Hi all,
    <br></br>
    I have standalone java file, and i am trying to connect with the Crystal Report server. I have Crystal Report Server 2008.
    Error code:-2147217387 Error code name:connectServer
    <br></br>
    The server is newly installed and i dint make any change. All the services are up and running.
    <br></br>
    I am getting the following exception
    I tried the following cases
    <br></br>
    clientDoc.setReportAppServer("01hw150564");
    clientDoc.setReportAppServer("172.20.224.123");
    clientDoc.setReportAppServer("172.20.224.123:6400");
    but no use.  Please hep me
    <br></br>
    Exception
    <br></br>
    Connecting to report server...
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException: Unable to connect to the server: . - Connection reset-- Error code:-2147217387 Error code name:connectServer
         at com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException.throwReportSDKServerException(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.TCPIPCommunicationAdapter.request(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.y.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportAppSession.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportAppSession.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportAppSession.initialize(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ClientDocument.new(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.new(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ClientDocument.open(Unknown Source)
         at SampleExport.method2(SampleExport.java:114)
         at SampleExport.main(SampleExport.java:24)
    Caused by: java.net.SocketException: Connection reset
         at java.net.SocketInputStream.read(SocketInputStream.java:168)
         at java.net.SocketInputStream.read(SocketInputStream.java:182)
         at java.io.DataInputStream.readInt(DataInputStream.java:354)
         ... 10 more
    <br></br>
    Caused by
    java.net.SocketException: Connection reset
         at java.net.SocketInputStream.read(SocketInputStream.java:168)
         at java.net.SocketInputStream.read(SocketInputStream.java:182)
         at java.io.DataInputStream.readInt(DataInputStream.java:354)
         at com.crystaldecisions.proxy.remoteagent.TCPIPCommunicationAdapter.request(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.y.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportAppSession.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportAppSession.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportAppSession.initialize(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ClientDocument.new(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.new(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ClientDocument.open(Unknown Source)
         at SampleExport.method2(SampleExport.java:114)
         at SampleExport.main(SampleExport.java:24)
    <br></br>
    Caused by:
    java.net.SocketException: Connection reset
         at java.net.SocketInputStream.read(SocketInputStream.java:168)
         at java.net.SocketInputStream.read(SocketInputStream.java:182)
         at java.io.DataInputStream.readInt(DataInputStream.java:354)
         at com.crystaldecisions.proxy.remoteagent.TCPIPCommunicationAdapter.request(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.y.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportAppSession.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportAppSession.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportAppSession.initialize(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ClientDocument.new(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.new(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ClientDocument.open(Unknown Source)
         at SampleExport.method2(SampleExport.java:114)
         at SampleExport.main(SampleExport.java:24)
    <br></br>
    Source
    <br></br>
    ReportClientDocument clientDoc = null;
                   System.out.println("Connecting to report server...");
                   clientDoc = new ReportClientDocument();
                   clientDoc.setReportAppServer("172.20.224.123"); // Getting error here
                   clientDoc.open(reportName, OpenReportOptions._openAsReadOnly);
                        clientDoc.getDataDefController().getParameterFieldController().modify(parameterField, newfld);
                   PrintOutputController poController = clientDoc.getPrintOutputController();
                   DatabaseController dbcontroller = clientDoc.getDatabaseController();
                   dbcontroller.logon("PDTCDEP","chennai1");
                   System.out.println("Creating file...");
                   ByteArrayInputStream byteIS = (ByteArrayInputStream) poController.export(ReportExportFormat.PDF);
                   FileOutputStream fos = new FileOutputStream(outputName);
    But, in Crystal Report Server XI Relese 2, the same code works and generated the pdf reports reports.
    Please help for this.
    If i need to do any change in administration or code ?
    Thanks,
    Anandraj
    Edited by: Aanduu on Sep 9, 2011 9:51 AM

    How to solve this problem. The problem is some time
    my web application can not connect to crystal report
    server. And App. log was receord as below.
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKServ
    erException: Unable to connect to the server:
    crp.RAS.rptappserver.---- Error code:-2147217387Does this give a hint of what to check? Maybe you need to check if the server is running and the server configuration is correct.
    I haven't ever used Crystal Reports, so I can't be very specific. A Google search might help.

Maybe you are looking for