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.

Similar Messages

  • CR2008 V1 Error Code: 2147217387

    hi,
    i have encountered a problem when try to connect to Server CR2008 V1. There is an error shown:
    [12/8/11 17:25:44:920 MYT] 000001ff SystemErr R
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException:
    Unable to connect to the server: 10.25
    1.21.128. - Connection refused-- Error code:-2147217387 Error code
    name:connectServer
    And i check at Central Configuration Manager that is Report Application Server is disabled i can't do the changes.
    Please advice what should i do?
    Thanks.

    Hi,
    I've seen this error with unmanaged RAS (RAS embedded).
    If you can't enable Crystal Report Server, I will recommend you to add the -trace at the end of the command line and restart the service to collect some information.
    Regards,
    Julian

  • 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

  • The system cannot find the path specified.---- Error code:-2147467259 Error code name:failed

    Friends,
                I'm facing below issue while accessing a crystal report. I heard it might be an access issue. But i'm able to access a report within a same folder.
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException : The system cannot find the path specified.---- Error code:-2147467259 Error code name:failed
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
    Any suggestions would be very helpful.
    Thanks in Advance,
    Bharath

    Apply trace on RAS and look for errors in the RAS logs at the same timestamp.
    These errors come for various errors and tracing RAS would give us a better idea.
    It might hapen that you observe these errors for reports which takes more than the RAS timeout to export the reports.
    Post getting the RAS logs you can try below steps if we see timeout errors in RAS logs.
    Copy clientSDKOptions.xml file from <BO install path>\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\java\lib to the machine where your app is running Open clientSDKOptions.xml and change CORBARequestTimeOut from 600000 to a value large enough to allow the report to render, for instance 1200000. Default value is 600000 (10 minutes)
    Specify the location of the clientSDKOptions.xml file at run-time. In your JSP or Java files, use the Java method setProperty from the System class. Set the system property indicated by the ras.config key to the specified directory as: system.setProperty("ras.config","c:\temp"). This function call specifies that the clientSDKOptions.xml file in c:\temp is to be used for locating RAS servers.
    Thanks,
    Prithvi

  • 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 Error code:-2147217395 Error code name:serverProgramingError

    Hi,
    i am using JRC application sample which bascially read the .RPT file and export it to .PDF filefrom this link, i have made the relative changes which point to the .rpt file. compilation went fine.. but i am facing the runtime error which mentioned below.
    i have not made any changes in CRconfig.xml expect the Keycode and not a single change ins lof4j.
    i came to know it should require the Swing lib too, presently i am not using that.
    kindly let me know if i missing some thing in this context.  the error log is
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Unexpected error determining relative path---- Error code:-2147217395 Error code name:serverProgrammingError
            at com.businessobjects.reports.sdk.a.if(Unknown Source)
            at com.businessobjects.reports.sdk.a.do(Unknown Source)
            at com.businessobjects.reports.sdk.a.<init>(Unknown Source)
            at com.businessobjects.reports.sdk.a.<clinit>(Unknown Source)
            at com.businessobjects.reports.sdk.c.<clinit>(Unknown Source)
            at com.businessobjects.reports.sdk.JRCCommunicationAdapter.case(UnknownSource)
            at com.businessobjects.reports.sdk.JRCCommunicationAdapter.<clinit>(Unknown Source)
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Unknown Source)
            at com.crystaldecisions.proxy.remoteagent.z.a(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.ReportAppSession.int(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.ReportAppSession.initialize(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.ClientDocument.for(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.for(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.ClientDocument.open(Unknown Source)
            at com.crystaldecisions.reports.sdk.ReportClientDocument.open(Unknown Source)
            at JRCExportReport.main(JRCExportReport.java:33)
    Waiting for your response.
    Thanks!
    Prabhakar J.

    Hi,
    after removing the reportlocation tag i am getting the following error.
    - Requested node not found in configuration file
    -  received request: verifyLogon
    -  received request: createServerAgent
    - Creating JRCAgent1
    - JRCAgent1 received request: fetchDataDocumentRequest
    - Time to load report C:\DOCUME1\pjujare\LOCALS1\Temp\jrc_tmp_4664716485754572
    89.rpt took 391 ms
    Exception in thread "main" java.lang.NoClassDefFoundError: com/crystaldecisions/reports/dataengine/l
            at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(Unknown Source)
            at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
            at com.crystaldecisions.proxy.remoteagent.y.a(Unknown Source)
            at com.crystaldecisions.proxy.remoteagent.r.a(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.if(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.if(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.a(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.ClientDocument.open(Unknown Source)
            at com.crystaldecisions.reports.sdk.ReportClientDocument.open(Unknown Source)
            at JRCExportReport.main(JRCExportReport.java:36)
    Caused by: java.lang.ClassNotFoundException: com.crystaldecisions.reports.dataengine.l

  • Error code:-2147467259 Error code name:failed

    Hi everyone,
    i am using IBM websphere studio apllication developer integration edition with crystal reports 11 release 2.
    while running jsp program i got following exception:
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: The supplied keycode is not valid for this version of the Java Reporting Component---- Error code:-2147467259 Error code name:failed
    I tried but i am not able to resolve this problem.
    can anybody tell me what to do with this problem.
    Thanks in advance.

    Hi everyone,
    i am using IBM websphere studio apllication developer integration edition with crystal reports 11 release 2.
    while running jsp program i got following exception:
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: The supplied keycode is not valid for this version of the Java Reporting Component---- Error code:-2147467259 Error code name:failed
    I tried but i am not able to resolve this problem.
    can anybody tell me what to do with this problem.
    Thanks in advance.

  • Error code:-2147467259 Error code name:failed Java desktop application

    Hi guys,
    I'm trying to run
    Java_JRC_Desktop_View_Report_and_set_database_logon downloaded from this link:
    http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/d0d6f979-3e11-2c10-35a8-ac93994a30ed
    but at runtime my java desktop application throws this Exception:
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: org/apache/log4j/Logger---- Error code:-2147467259 Error code name:failed
    From what depends?
    thx all.

    Hi,
         I am trying to run a java code to export .rtf file to .pdf format. Below is the code
    *String reportname = "D:\\multiLingual.rpt";;*
    *String exportfilename ="D:\\multiLingual.pdf";*
    *//Open report.*
    *ReportClientDocument reportClientDoc = new ReportClientDocument();*
    *reportClientDoc.open(reportname, 0);*
    *//NOTE: If parameters or database login credentials are required, they need to be set before.*
    *//calling the export() method of the PrintOutputController.*
    *//Export report and obtain an input stream that can be written to disk.*
    *//See the Java Reporting Component Developer's Guide for more information on the supported export format enumerations*
    *//possible with the JRC.*
    *ByteArrayInputStream byteArrayInputStream = (ByteArrayInputStream)reportClientDoc.getPrintOutputController().export(ReportExportFormat.PDF);*
    *//Release report.*
    *reportClientDoc.close();*
    *//Use the Java I/O libraries to write the exported content to the file system.*
    *byte byteArray[] = new byte[byteArrayInputStream.available()];*
    *//Create a new file that will contain the exported result.*
    *File file = new File(exportfilename);*
    *FileOutputStream fileOutputStream = new FileOutputStream(file);*
    *ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(byteArrayInputStream.available());*
    *int x = byteArrayInputStream.read(byteArray, 0, byteArrayInputStream.available());*
    *byteArrayOutputStream.write(byteArray, 0, x);*
    *byteArrayOutputStream.writeTo(fileOutputStream);*
    *//Close streams.*
    *byteArrayInputStream.close();*
    *byteArrayOutputStream.close();*
    *fileOutputStream.close();*
    I am running it through eclipse as a standalone with all the required jar files in the buildpath. However when i run it gives following error in console.
    *com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: An error occured while exporting the report---- Error* *code:-2147467259 Error code name:failed*
    *     at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)*
    *     at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)*
    *     at com.crystaldecisions.reports.sdk.PrintOutputController.export(SourceFile:54)*
    *     at test.main(test.java:34)*
    Thanks in advance
    Abhijeet
    Edited by: Abhijeet D on Jul 7, 2010 5:10 PM
    Edited by: Abhijeet D on Jul 7, 2010 5:24 PM

  • Error code:-2147217401 Error code name:agentTimeout

    Hi,
    We are getting the below error
    ReportSDKException Occurred com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException: Server agent has timed out.---- Error code:-2147217401 Error code name:agentTimeout
    while adding SQL to crystal report for few cases (more time consuming reports) . i.e.
    reportClientDocument.getDatabaseController().addTable(boNewCommandTable, null);
    what could be the reason for the same? Is there any maximum time limit for the addTable() method execution, If so how can we change that?
    Thanks & Regards
    Amitav

    Hi Adam,
    Actually we are trying to add an SQL query to the report and we know that the particular SQL supposed to take more time for execution. Our application logs indicate that the agentTimeout error comes approximately after 6 hrs. We are wondering if there is some maximum time limit then will it possible to change the same.
    Thanks & Regards
    Amitav

  • The system has attempted to use an undefined value, which usually indicates a programming error, either in your code or

    I have taken the cfdump for tmpqry and it shows all data for
    the range ( No error at this step ) . But when we exceute this
    dbquery we get below mentioned error .
    <cfquery name="qry" dbtype="query" >
    SELECT *
    FROM tmpqry
    ORDER BY #arguments.colSort# ASC
    </cfquery>
    senerio:
    I am using createobject to create a reference for component
    and call MDArraySort function in the cfc and getting this error .
    'The system has attempted to use an undefined value, which
    usually indicates a programming error, either in your code or some
    system code.
    Null pointer is undefined.... '
    i am using this code in a cfc file.
    <cffunction name="MDArraySort" Returntype="query"
    access="public" >
    <cfargument name="colArray" type="array"
    required="true">
    <cfargument name="colNames" type="string"
    required="true">
    <cfargument name="colSort" type="string"
    required="true">
    <cfargument name="sensorIDs" type="string"
    required="true">
    <cfscript>
    var tmpqry = Querynew(arguments.colNames);
    var qRow = QueryAddRow(tmpqry, Arraylen(arguments.colArray)
    </cfscript>
    <cfloop from="1" to="#Arraylen(arguments.colArray)#"
    index="qRowIndex">
    <cfscript>
    sIndexinSensorIDs = colArray[qRowIndex]["SENSOR"]&"##";
    Temp_readin_code =
    colArray[qRowIndex]["READING_CODE"]&"##";
    QuerySetCell(tmpqry, 'SENSOR', sIndexinSensorIDs,
    qRowIndex);
    QuerySetCell(tmpqry,
    'TYPE',javacast('String',colArray[qRowIndex]["TYPE"]), qRowIndex);
    QuerySetCell(tmpqry, 'TIMESTAMP2',
    LSParseDateTime(colArray[qRowIndex]["TIMESTAMP2"]), qRowIndex);
    QuerySetCell(tmpqry,
    'ORDER_BY_PARAM',javacast('String',colArray[qRowIndex]["ORDER_BY_PARAM"]),
    qRowIndex);
    QuerySetCell(tmpqry, 'READING_CODE',Temp_readin_code ,
    qRowIndex);
    QuerySetCell(tmpqry,
    'READING',javacast('String',colArray[qRowIndex]["READING"]),
    qRowIndex);
    QuerySetCell(tmpqry,
    'PK_READING',javacast('String',colArray[qRowIndex]["PK_READING"]),
    qRowIndex);
    QuerySetCell(tmpqry,
    'ALARM_STATUS',javacast('String',colArray[qRowIndex]["ALARM_STATUS"]),
    qRowIndex);
    QuerySetCell(tmpqry, 'DURATION',
    javacast('String',colArray[qRowIndex]["DURATION"]), qRowIndex);
    QuerySetCell(tmpqry,
    'DESCRIPTION',javacast('String',colArray[qRowIndex]["DESCRIPTION"]),
    qRowIndex);
    </cfscript>
    </cfloop>
    <cfquery name="qry" dbtype="query" >
    SELECT *
    FROM tmpqry
    ORDER BY #arguments.colSort# ASC
    </cfquery>
    <cfreturn qry >
    </cffunction>
    It is working fine for some date range and and getting above
    mentioned error in sone situation .

    Hi All ,
    Thank you for your support ,
    Finally i have fix the issue using some changes in my
    function in cfc .
    <cffunction name="MDArraySort" Returntype="query"
    access="public" >
    <cfargument name="colArray" type="array"
    required="true">
    <cfargument name="colNames" type="string"
    required="true">
    <cfargument name="colSort" type="string"
    required="true">
    <cfargument name="sensorIDs" type="string"
    required="true">
    <cfscript>
    //Declare variable collection used in function as local
    --->
    var tmpqry =
    Querynew(arguments.colNames,"CF_SQL_VARCHAR,CF_SQL_VARCHAR,CF_SQL_DATE,CF_SQL_VARCHAR,CF_ SQL_VARCHAR,CF_SQL_VARCHAR,CF_SQL_VARCHAR,CF_SQL_VARCHAR,CF_SQL_VARCHAR,CF_SQL_VARCHAR");
    var qRow = QueryAddRow(tmpqry,
    Arraylen(arguments.colArray));
    </cfscript>
    <cfloop from="1" to="#Arraylen(arguments.colArray)#"
    index="qRowIndex">
    <cfscript>
    // Populate the query table
    QuerySetCell(tmpqry, 'SENSOR',
    colArray[qRowIndex]["SENSOR"], qRowIndex);
    QuerySetCell(tmpqry,
    'TYPE',arguments.colArray[qRowIndex]["TYPE"], qRowIndex);
    QuerySetCell(tmpqry, 'TIMESTAMP2',
    LSParseDateTime(arguments.colArray[qRowIndex]["TIMESTAMP2"]),
    qRowIndex);
    QuerySetCell(tmpqry,
    'ORDER_BY_PARAM',arguments.colArray[qRowIndex]["ORDER_BY_PARAM"],
    qRowIndex);
    QuerySetCell(tmpqry, 'READING_CODE',
    colArray[qRowIndex]["READING_CODE"] , qRowIndex);
    QuerySetCell(tmpqry,
    'READING',arguments.colArray[qRowIndex]["READING"], qRowIndex);
    QuerySetCell(tmpqry,
    'PK_READING',arguments.colArray[qRowIndex]["PK_READING"],
    qRowIndex);
    QuerySetCell(tmpqry,
    'ALARM_STATUS',arguments.colArray[qRowIndex]["ALARM_STATUS"],
    qRowIndex);
    QuerySetCell(tmpqry, 'DURATION',
    arguments.colArray[qRowIndex]["DURATION"], qRowIndex);
    QuerySetCell(tmpqry,
    'DESCRIPTION',arguments.colArray[qRowIndex]["DESCRIPTION"],
    qRowIndex);
    </cfscript>
    </cfloop>
    <cfquery name="qry" dbtype="query" >
    SELECT *
    FROM tmpqry
    ORDER BY #arguments.colSort# ASC
    </cfquery>
    <cfreturn qry >
    </cffunction>
    Rajesh
    SCMS
    India

  • Error code -22: Error while registering

    Hi Guys.
    I'm new to NW Mobile 7.1.
    I'm able to run developed applications and see data on physical devices (PDAs).
    I'm also able to deploy and run the same applications on the NWDS Client (Simulator) BUT SEE NO data, because It can't sync.
    My question is very simple: How can I set up NWDS Mobile Client (Simulator) so I can get data?
    When I get to the Device Information screen (NWDS Mobile Client Simulator),values for Device Name and Device Id are blank
    After a sync, the folowing messages appear on my console:
    Windows XP
    messageReceived in ContainerSyncEventListener: Connected to the server   Level: 1
    messageReceived in ContainerSyncEventListener: Sending logon data to server   Level: 1
    messageReceived in ContainerSyncEventListener: Waiting for response from server   Level: 1
    messageReceived in ContainerSyncEventListener: Receiving data from server   Level: 1
    messageReceived in ContainerSyncEventListener: Error code -22: Error while registering
    I know that it is a must to setup a Device Name with one that exists in DOE (then Device Id is assigned during registration with DOE). But how can I place a value on Device Name? Should I set it up? then, Is it by copying a .propierties file under a MI/Folder or something?
    I can't navigate my applications on the simulator so I need to deploy the files to a physical device every time I build, and this obviously takes more time than just running it on the simulator.
    In just a few words, it is driving me nuts.
    Thank you in advance,
    David.

    Hi,
    if you have used MI7.0 you expect: sync a device and it is registered. This does not work in Mi7.1
    In MI7.1 you need to create a device for a user first, before you are able to sync and get data.
    To do this, open the Mobile Administration Portal in MI7.1, go to Administration and create a device for your user. Once this is done, you need to Enable the device.
    If the device is enabled, in status INITIAL and has the correct user assigned, you can sync this device with the MI server.
    Hope this helps!
    Regards,
    Oliver

  • The document could not be saved. The server said: "The operation failed because an unexpected error occurred. (Result code 0×80020005)" Please ensure you have completed all required properties with the correct information and try again.

    I am having problems  saving documents back to SharePoint when any of the document properties (metadata columns) are set to be "managed metadata". The check-in/save fails with error:
    The document could not be saved. The server said:
    “The operation failed because an unexpected error occurred. (Result code 0×80020005)”
    Please ensure you have completed all required properties with the correct information and try again.
    I have seen similar threads that suggest this is a known issue with this version of Acrobat but I would like conformation from Adobe that this is a known issue and whether it is fixed in a newer version?
    Adobe Acrobat version 10.1.13
    SharePoint 2010

    Hi quodd,,
    We are sorry for the issue being faced by you. I need some information from you so that I take further steps:
    1. Which Adobe product are you using Acrobat or Adobe reader- what is the complete version?
    2. How are you opening and saving the PDF, the exact workflow?
         Are you doing it from within Adobe Reader/Acrobat application or opening it from browser, doing changes and saving it using browser itself.
    3. Can you try to save a PDF to library with Custom template and managed metadata columns using browser directly.
    4. Please verify that columns name do not contain spaces or some other special characters.
       Can you try to save PDF to library with Custom template and just a single managed metadata column  with a simple name
    Thanks,
    Nikhil Gupta

  • Windows 7 64-bit 0xC004E003 error when validating registration code

    I am the original owner (2010-03-31) of an ASUS K0IJ laptop that came with Windows 7 64-bit pre-installed.
    Windows 7 has run properly for almost exactly two years.  As of this afternoon, I suddenly began receiving "This copy of Windows is not genuine" errors.  Yes, errors  — I am the original and legitimate owner of this computer and
    its OEM disc.  I also ran the registration process when I first purchased the computer.
    Running WindowsActivationUpdate.exe did not correct this problem.
    In Computer —> Properties —> Windows Activation, the "Supply a Different Activation Key" tool will not accept the original OEM license key that has worked for two years. 
    If instead I try using the other W7 serial number I have for this computer, I receive the aforementioned 0xC004E003 error.  Moreover, the process does not offer me any other working options such as phone registration: I instead get caught in a "site
    loop" where I am referred around and around in a circle to the same set of three or so unhelpful pages.
    The MGAdiag.exe tool returned the following:
    ------ Begin MGAdiag.exe output ------
    Diagnostic Report (1.9.0027.0):
    Windows Validation Data-->
    Validation Code: 50
    Cached Online Validation Code: 0x0
    Windows Product Key: *****-*****-2QWT6-HCQXJ-9YQTR
    Windows Product Key Hash: PVjSC5x6njvqunmbCY3lOD7rYDo=
    Windows Product ID: 00359-OEM-8992687-00007
    Windows Product ID Type: 2
    Windows License Type: OEM SLP
    Windows OS version: 6.1.7601.2.00010300.1.0.003
    ID: {843BC42F-FD4C-41D8-9D79-5D7C36808118}(1)
    Is Admin: Yes
    TestCab: 0x0
    LegitcheckControl ActiveX: N/A, hr = 0x80070002
    Signed By: N/A, hr = 0x80070002
    Product Name: Windows 7 Home Premium
    Architecture: 0x00000009
    Build lab: 7601.win7sp1_gdr.130104-1431
    TTS Error:
    Validation Diagnostic:
    Resolution Status: N/A
    ------ Begin MGAdiag.exe output ------
    At the risk of stating the obvious, I'm not only frustrated, I'm angry. I am the original owner of this computer which I purchased from a legitimate dealer, and the computer is running the instance of Windows 7 64-bit that came with it.
    Why is Microsoft subjecting me  to this insult and aggravation?
    Sincerely,
    sfosparky

    Are you reading the activation key correctly? Did you call Microsoft or Asus and ask them about the problem. You can also set the laptop back to factory specs (But will lose everything you put on it after you bought it) and it should self activate. I'd be
    on the phone to Asus and if that doesn't help call Microsoft.
    Found the following on the internet.
    The problem appears to be in the Licensing Store - please try the following.....
    Recreate the Licensing Store with the correct data.
    1)Go to the SYSTEM32 folder on the C drive
    2)C:/Windows/System32
    3) Find the file CMD.exe
    4) Right-Click on CMD.exe and select 'Run as Administrator'
    5) Type: net stop slsvc (it may ask you if you are sure, select yes)
    6) Type: cd %windir%\ServiceProfiles\NetworkService\AppData\Roaming\Microsoft\SoftwareLicensing
    7) Type: rename tokens.dat tokens.bar
    8) Type: cd %windir%\system32
    9) Type: net start slsvc
    10) Type: cscript slmgr.vbs -rilc (It may take a long time for this to complete, please be patient)
    11) Restart your computer twice. 
    You may be asked to enter your COA Key and/or Activate. – if asked for the Key, use the one on your COA sticker on the machine’s case

  • Package Validation Error - SSIS Error Code DTS_E_OLEDBERROR - Error code: 0x80040E4D

    I sometimes get the following error randomly - 
    Package Validation Error
    ADDITIONAL INFORMATION:
    Error at MY_PACKAGE_PLUS[Connection manager "MY_DATABASE"]: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80040E4D.
    An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 10.0"  Hresult: 0x80040E4D  Description: "Login failed for user 'USERNAMEZ'.".
    Error at MY_PACKAGE_PLUS [Log provider "SSIS log provider for SQL Server"]: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER.  The AcquireConnection method call to the connection manager "MY_DATABASE" failed with error
    code 0xC0202009.  There may be error messages posted before this with more information on why the AcquireConnection method call failed.
     (Microsoft.DataTransformationServices.VsIntegration)
    My package name in SSIS/BIDS is MY_PACKAGE, but in the error I see MY_PACKAGE_PLUS, which was the name of an older version of the package. This error goes away when I close SSIS and then restart it. I wonder why this happens and how do I fix it
    ? Is this some bug in SSIS ? The same package runs without errors in SQL server agent.
    Thanks.

    It seems the old package reference still exists in your project bin folder or inside stproj file. WHich is why it tries to validate the older package each time when you start  the project.
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Photoshop CS5 won't install. Exit Code 6 error. Suggestions anyone?

    I have recenthloy bought CS5 Master Suite. All programs installed successfully except for the one I need the most, Photoshop. Ihave tried to install it a dozen times now. Soft boot, new user, desktop folder, piece by piece, etc. FAIL. I was online with Adobe support for almost 3 hours. Fail. Any suggestions PLEASE?
    (0.0115909 MBPS)
    -------------------------------------- Summary --------------------------------------
    - 0 fatal error(s), 6 error(s), 1 warning(s)
    WARNING: Payload cannot be installed due to dependent operation failure
    ERROR: 2725 Unable to copy file from "/tmp/.tempdirfVdkONLv/Assets1/Application/Presets/Duotones/Duotones/PANTONE(R) Duotones/327 aqua (50%) bl 4.ADO" to "/Users/micheledurant/Desktop/Photoshop CS5/Adobe Photoshop CS5/Presets/Duotones/Duotones/PANTONE(R) Duotones/327 aqua (50%) bl 4.ADO" Error 0
    ERROR: 2725 Command ARKCopyFileCommand failed.
    ERROR: Payload {3E7A8DA8-0298-42F2-B927-4DB00E2F8FEE} has an action "repair" but no resultState
    ERROR: The following payload errors were found during install:
    ERROR:  - Adobe Photoshop CS5 English Language Pack_AdobePhotoshop12-en_US: Install failed
    ERROR:  - Adobe Photoshop CS5 Core: Failed due to Language Pack installation failure
    Search the same string above to find when the error occured.
    Exit Code: 6 - Silent workflow completed with errors

    Puzzled Michele wrote:
    -------------------------------------- Summary --------------------------------------
    …ERROR: 2725 Unable to copy file from "/tmp/.tempdirfVdkONLv/Assets1/Application/Presets/Duotones/Duotones/ PANTONE(R) Duotones/327 aqua (50%) bl 4.ADO" to "/Users/micheledurant/Desktop/Photoshop CS5/Adobe Photoshop CS5/…
    …  [emphasis mine]
    That there is a clear indication you're attempting to install to the wrong location.
    Don't do that!
    All Adobe applications need to be installed in the ROOT LEVEL Applications folder, not buried somewhere in your desktop or your User folder.
    It's a disgrace that Adobe support was not able to tell you that right off the bat. 
    The Root Level is what comes immediately after the name of your hard disk.  The Applications folder there is the default install location for ALL applications.
    In my personal opinion, it borders on criminal negligence that the blokes in the installer team even give the user an option to install in locations other than the applications folder.  If it's not a criminal act, it's—at best—a monumental stupidity.
    Wo Tai Lao Le
    我太老了

Maybe you are looking for

  • Please help!  iPhoto - Cannot Create Calendar - "No Available Themes"

    I recently had to reinstall my system software from the Install DVD after my new MacBook got into a perpetual restart loop. As part of the system installation I opted to keep my old system in the "Previous System" archive. I then copied my old iPhoto

  • Reboot problems with iMac dual intel 1.83 OS 10.4.6

    Needing help. Mac user since 1999 but I'm feeling like a novice with this. Wife was playing Sims 2 when it locked up and wouldn't allow the game to be turned off. Did a forced restart, disk went to the grey screen with the spinning gear for an extend

  • BEx Broadcasting in portal PDF format thrugh Query designer

    hi, i have a problem in sending a query as a mail using broadcaster in pdf format through portal The steps to reproduce: from Query designer executing a query , it takes me to portal screen, there right click on the report and Broadcast and Export->B

  • Missing movies in my purchases and icloud

    few movies i purchase in itune and just store it in icloud , now it missing in my icloud and as well in my movies purchase list. im scare to buy movies now in itunes....

  • [svn] 2479: 3.1 fix: SDK-15310

    Revision: 2479 Author: [email protected] Date: 2008-07-14 15:11:32 -0700 (Mon, 14 Jul 2008) Log Message: 3.1 fix: SDK-15310 Focus pane mask needs to be nulled out to avoid cases where it remains and blocks out the visual updating of focus. Ticket Lin