Cannot export reports with CR8.5 RDC under Windows 2003

<%@ LANGUAGE="VBSCRIPT" %>
<%
Response.Buffer = True
%>
<% SERVER.SCRIPTTIMEOUT=50000%>
<!-- #include file="license_info.asp" -->
<!-- #include file="config.asp" -->
<%
Dim objConnection
Dim objRS
Set objConnection = Server.CreateObject("ADODB.Connection")
objConnection.Open "FAMS_DSN_SIT", cstr(userid), cstr(password)
'response.write GetNActive
If GetNActive > 5 THEN
     Response.write "<b><FONT align=center face=arial,helveltica,sans-sarif size=3> Server is too busy. Please try again later.</b>"
     Response.end
End if
IF GetNActive<=5 THEN
'Nagesh added
  Dt_Frm="20020101"
  Dt_To="20020102"
  Dt_Frm1="20020101"
  Dt_To1="20020102"
reportname="B087.RPT"
' CREATE THE APPLICATION OBJECT                                                                    
If Not IsObject (session("oApp")) Then                             
Set session("oApp") = Server.CreateObject("CrystalRuntime.Application")
End If       
' CREATE THE REPORT OBJECT                                    
'The Report object is created by calling the Application object's OpenReport method.
Path = Request.ServerVariables("PATH_TRANSLATED")                    
While (Right(Path, 1) <> "\" And Len(Path) <> 0)                     
iLen = Len(Path) - 1                                                 
Path = Left(Path, iLen)                                              
Wend      
'OPEN THE REPORT (but destroy any previous one first)                                                    
If IsObject(session("oRpt")) then
     'Set session("oRpt") = nothing
End if   
'RESPONSE.WRITE PATH & REPORTNAME
Set session("oRpt") = session("oApp").OpenReport(path & reportname, 1)
Set DatabaseTablesCollection = Session("oRpt").Database.Tables
For Each Table in DatabaseTablesCollection
'  ' Table.SetLogonInfo "FAMS_DSN", "", cstr(userid), cstr(password)
   Table.SetLogonInfo "FAMS_DSN_SIT", "", cstr(userid), cstr(password)
Next
'session("oRpt1").MorePrintEngineErrorMessages = False
'session("oRpt1").EnableParameterPrompting = False
'session("oRpt1").DiscardSavedData
set session("ParamCollection") = Session("oRpt").Parameterfields             
'This line creates an object to represent the collection of parameter
'fields that are contained in the report.                                                              
reportname  =  UCASE(TRIM(reportname))
strSQL = "SELECT FAMS_VW_MEN_RPT_B87.CASE_NO, FAMS_VW_MEN_RPT_B87.COMP_NAM, FAMS_VW_MEN_RPT_B87.COMP_ID,  "
     strSQL = strSQL & "FAMS_VW_MEN_RPT_B87.RESP_NAM, FAMS_VW_MEN_RPT_B87.RESP_ID, FAMS_VW_MEN_RPT_B87.JUDGE_NAME, FAMS_VW_MEN_RPT_B87.NATURE_OF_COMP, "
     strSQL = strSQL & "FAMS_VW_MEN_RPT_B87.COURT_NO, FAMS_VW_MEN_RPT_B87.JDG_ID, "
     strSQL = strSQL & "FAMS_MASTER_DETAIL.ITEM_DESC1, to_char(FAMS_VW_MEN_RPT_B87.MENTION_DATE,'yyyymmdd') "
     strSQL = strSQL & "FROM FAMS_VW_MEN_RPT_B87 FAMS_VW_MEN_RPT_B87, FAMS_MASTER_DETAIL FAMS_MASTER_DETAIL  "
     strSQL = strSQL & "WHERE FAMS_VW_MEN_RPT_B87.COURT_NO = FAMS_MASTER_DETAIL.ITEM_CODE() AND FAMS_MASTER_DETAIL.MSTR_TYPE() = 'CRT' AND "
     strSQL = strSQL & "(to_char(FAMS_VW_MEN_RPT_B87.MENTION_DATE,'yyyymmdd')) >= '" &Dt_Frm & "' AND "
     strSQL = strSQL & "(to_char(FAMS_VW_MEN_RPT_B87.MENTION_DATE,'yyyymmdd')) <= '" &Dt_To & "' "
     strSQL = strSQL & "ORDER BY FAMS_VW_MEN_RPT_B87.COURT_NO ASC "
     set objRS = objConnection.Execute(strSQL)
          If not objRS.EOF then
               set Param1 =  session("ParamCollection").Item(1)
               'ParamValue1=Request.QueryString("COURT_NO")
               ParamValue1="1"
               if ParamValue1 = "" then
                    ParamValue1 = "-"
               End if
               Call Param1.SetCurrentValue (CStr(ParamValue1),12)
               set Param2 =  session("ParamCollection").Item(2)
               'ParamValue2=Request.QueryString("DATE_FROM")
'               Call Param2.SetCurrentValue (CStr(ParamValue2),12)
               Call Param2.SetCurrentValue (CStr(Dt_Frm),12)
               set Param3 =  session("ParamCollection").Item(3)
               'ParamValue3=Request.QueryString("DATE_TO")
'               Call Param3.SetCurrentValue (CStr(ParamValue3),12)
               Call Param3.SetCurrentValue (CStr(Dt_To),12)
               set Param4 =  session("ParamCollection").Item(4)
               'ParamValue4=Request.QueryString("JDG_ID")
                ParamValue4=""
               if ParamValue4 = "" then
                    ParamValue4 = "-"
               End if
               Call Param4.SetCurrentValue (CStr(ParamValue4),12)
     'Testing -- to get the data from database end
     'Expoert into DOC
Set CrystalExportOptions = Session("oRpt").ExportOptions
ExportFileName = "BO87.doc"
dPath = Request.ServerVariables("PATH_TRANSLATED")                    
While (Right(dPath, 1) <> "\" And Len(dPath) <> 0)                     
diLen = Len(dPath) - 1                                                 
dPath = Left(dPath, diLen)                                              
Wend
ExportDirectory = dPath
ExportType = "14"
CrystalExportOptions.DiskFileName = ExportDirectory & ExportFileName
CrystalExportOptions.FormatType = CInt(ExportType)
CrystalExportOptions.DestinationType = CInt(1)
Session("oRpt").Export False 
Response.Redirect (ExportFileName)
set session("oPageEngine") = nothing
set session("oRpt") = nothing
set session("oApp") = nothing
Session.Contents.Remove("oPageEngine")
Session.Contents.Remove("oRpt")
Session.Contents.Remove("oApp")
objRs.Close
          Else
               objRs.Close
               Response.write "<center><b>No Record Found</b> </center>"
               Response.end
          End if
end if
%>

Hello,
Here's VB code to export to PDF, convert to ASP and test again. If it works in our viewer then it should work in code:
With rpt.ExportOptions
    .DiskFileName = "c:\report.pdf"
    .PDFExportAllPages = True
    .FormatType = crEFTPortableDocFormat
    .DestinationType = crEDTDiskFile
End With
rpt.Export False
Make sure the export destiantion has permission to be written to by any user.
Thanks again
Don

Similar Messages

  • Problems with Tuxedo8.0 under Windows 2003 Server

    Hello All.
    Could you please help me?
    When we were choosing which OS to install on our Tuxedo developers server we
    decided
    to try Windows 2003 server. We did not suppose that we could have any
    problems
    with this choise. But we have!
    We use it with DB 7.2 workgroup edition and Tuxedo 8.0 (PatchLevel 172).
    When one of server processes crashes (for example by exit(1) or by
    exception)
    (it happend not so rarely, because this server is actively used in
    development
    and testing processes) we cannot restart this server process!
    When I write "restartsrv -i SrvId" in command line nothing happens.
    When I write "tmboot -i SrvId" it says "Duplicate server".
    When I write "tmshutdown -i SrvId" it just hangs and I have to wait for 10
    minutes
    while it says "CMDTUX_CAT:949: WARN: Shutdown failed. 0 processes stopped."
    Tuxedo WebAdministration conlsole says almost the same - "Failed to
    deactivate SRVGROUP/200
    (still in state ACTIVE)-10:CMDTUX_CAT:1689: ERROR: Could not shutdown any
    servers".
    As a result any server crash (including expected) leads to 15 minutes
    waiting!!!
    As you understand it cound not be accepted!... and it is very annoying. :-)
    This problem never happened under Windows 2000 server (a week before I
    returned from site
    installation where this software works fine under Windows 2000 server).
    How can we solve this problem?
    Or should we downgrade our OS to Windows 2000?
    With regards,
    Dmitry.

    Dmitry,
    Try a bbclean from the tmadmin command line to clean up the BBL so you will be
    able to restart the server using the tmboot command.
    In addition to this check the values for SCANUNIT and SANITYSCAN in the ubbconfig.
    The observation that it takes 15 minutes for TUXEDO to discover that your server
    has crashed suggests they have values that might be too high.
    Winfried Scheulderman
    "Dmitry Bond" <[email protected]> wrote:
    Hello All.
    Could you please help me?
    When we were choosing which OS to install on our Tuxedo developers server
    we
    decided
    to try Windows 2003 server. We did not suppose that we could have any
    problems
    with this choise. But we have!
    We use it with DB 7.2 workgroup edition and Tuxedo 8.0 (PatchLevel 172).
    When one of server processes crashes (for example by exit(1) or by
    exception)
    (it happend not so rarely, because this server is actively used in
    development
    and testing processes) we cannot restart this server process!
    When I write "restartsrv -i SrvId" in command line nothing happens.
    When I write "tmboot -i SrvId" it says "Duplicate server".
    When I write "tmshutdown -i SrvId" it just hangs and I have to wait for
    10
    minutes
    while it says "CMDTUX_CAT:949: WARN: Shutdown failed. 0 processes stopped."
    Tuxedo WebAdministration conlsole says almost the same - "Failed to
    deactivate SRVGROUP/200
    (still in state ACTIVE)-10:CMDTUX_CAT:1689: ERROR: Could not shutdown
    any
    servers".
    As a result any server crash (including expected) leads to 15 minutes
    waiting!!!
    As you understand it cound not be accepted!... and it is very annoying.
    This problem never happened under Windows 2000 server (a week before
    I
    returned from site
    installation where this software works fine under Windows 2000 server).
    How can we solve this problem?
    Or should we downgrade our OS to Windows 2000?
    With regards,
    Dmitry.

  • Microsof VX 3000 or 6000 Webcam does not work with Lync 2013 under Windows 8.1

    Hi,
    The problem is that i cannot use the Microsoft VX-3000 or VX-6000 with Lync 2013 under Windows 8.1.
    If i go in settings under Video i can see the preview from the webcam just fine, so it works there no problem.
    Wenn i try to enable my camera in a conference it does not work, i get an error: Your video cannot be started.
    Now, there are no Windows 8.1 drivers for the Webcam so i installed the latest Windows 7 drivers. Because of that this webcam does not work with apps, that is fine i understand the driver problem and the way the new apps work.
    But this Webcam works with skype under Windows 8.1 and it works with Lync 2010 client.
    The same Webcam works just fine with Lync 2013 under Windows 7.
    Is there anything i could do so that i get this Webcam to work with Lync 2013 desktop client under Windows 8.1?
    Thanks

    Hi,
    According to your description, it may be caused by driver.
    You can try to install the latest version of Display Driver to fix the display issue.
    Since there is no driver for Windows 8.1, I suggest you wait for updating.
    You can also post a case on Windows 8 forum, thank you for your understanding:
    http://social.technet.microsoft.com/Forums/en-US/home?forum=W8ITProPreRel%2Cw81previtpro&filter=alltypes&sort=lastpostdesc
    Best Regards,
    Eason Huang
    Eason Huang
    TechNet Community Support

  • IDES 4.7 Installation under Windows 2003 Enterprise Server, Xeon 64 bit

    Dear all,
    we are just trying to install IDES 4.7:
    IDES 4.7 Installation under Windows 2003 Enterprise Server, Xeon 64 bit
    But the installation break with error Message:
    Error 5 (Access is denied.) in excution of a "NetServerGetInfo" function, line (233), with parameter (saptranshost, 101).
    MOS-01224 Failed to add privileges "NetcbPrivilege SeAssignPrimaryTokenPrivile SeIncreaseQuotaPrivilege to account ....." ....
    FJs-00012 Error when excuting script....
    Any experience or help from your side?
    Thanks in advance
    HanseAtik

    Hi. First login in your server with user "sid"adm after go to START --> RUN --> CMD
    adn execute "R3trans -d"  Tell what result .
    About documentation read -->
    service.sap.com/~form/sapnet?_SHORTKEY=00200797470000065912&
    in left corner chek your release like :
    "SAP R/3 Enterprise Core 4.70 / Ext. Set 2.00 (SR1)"
    After read the document for your release, for example if you use the Oracle on WIn and R/3 Enterprise 4.7 x 2.00 SR1 -->
    Inst. Guide - R/3 Enterprise 4.7 x 2.00 SR1 on Win: Oracle 
    Regards.
    Edited by: Sergo Beradze on Mar 21, 2008 10:55 AM

  • Identity Server under Windows 2003

    Hi All,
    can I run Identity server under Windows 2003 Server ? And, is planed Identity server version for Linux ?
    Thank You
    Lada D.

    A 4.0.1 backup can be restored on the new server - even if it is running 4.1 or 4.2. I don't believe the backup will carry over anything specific to the old server's IP address. I'd recommend that you keep the same hostname (DNS-wise) - especially for things like the server's SSL certificate - although that too won't be part of the application backup so you can give the new server a new name if the customer is strongly set on that.
    Note that you may change to soft appliance platform at this point. If the customer has a VMWare environment available, I'd strongly suggest considering this option. the soft appliance is a breeze to install and setup.
    In either case, please refer to the installation guide for details.

  • CRVS2010 Beta - Cannot export report to PDF with unicode characters

    My report has some unicode data (Chinese), it can be previewed properly in the windows form report viewer. However, if I export the report document to PDF file, the unicode characters in exported file are all displayed as a square.
    In the version of Crystal Report 2008 R2, it can export the Chinese characters to PDF when I select a Chinese font in report. But VS2010 beta cannot export the Chinese characters even a Chinese font is selected.

    Barry, what is the specific font you are using?
    The below is a reformatted response from Program Management:
    Using non-Chinese font with Unicode characters (Chinese) the issue is reproducible when using Arial font in Unicode characters field. After changing the Unicode character to Simsun (A Chinese font named 宋体 in report), the problem is solved in Cortez and CR both.
    Ludek

  • Export for quick time running under windows?

    I am coming to Final cut X pro from Imovie. Under Imovie I could export a movie  that would run under quicktime for both Mac and Windows computers. Now using Final cut X pro, when I export for quicktime, my movie works fine using a Mac computer but fails under windows. When I attempt to open the movie quicktime tells me I have a problem with the codec. It indicates that I need an add on, but does not indicate which one is needed. Share works great for  output to my Ipad.   What I like to do is export to quicktime and use a windows computer to output to a wide screen tv. I down loaded the latest version of quicktime for windows.   Under the share option what codec option should I chose, or do I require an add in to Quicktime?   Thanks.

    Not that you should have to, but try to make your final export from Compressor to see if that works better. Perhaps this can help you isolate the problem. H.264 should work in Windows, so you could also check your export on a different PC to see if the problem is on the receiving end.
    I'll put in my vote here for Flip-for-mac getting their components to play nice with FCX. I have always found it a handy tool.

  • Using scripting with networking equipment under Windows

    It can be a challenge to use scripting to automate working with Cisco devices. The Cisco IOS does not seem to directly provide a command line interface. You are forced to find a way to automate interaction with a telnet or ssh session.
    The PERL language provides a number of object-oriented methods to help manage an interactive session, most notably Net::SSH::Expect and Net::Appliance::Session. These options can work well in a Unix environment, but not under MS Windows.
    There are PERL for Windows options, the best probably being Strawberry PERL. There is also a Unix under Windows option known as CYGWIN that is freely available. Unfortunately none of these will work well with the way Windows manages low-level terminal I/O. The curious can google "windows pseudo terminal" to see all the technical details.
    One way that does work under Windows is Tcl.  It was initially named Tool Command Language. It is sometimes shown as Tcl/Tk.
    Interestingly enough, Tcl is included within Cisco IOS as tclsh. There is no interaction with the tclsh and this example. It is just a bit of a curious coincidence.
    A Tcl port to Windows can be downloaded from http://www.activestate.com/activetcl/downloads. Select Download ActiveTCL for Windows. A direct link to the download that worked at the time of writing is Download ActiveTcl 8.5.14 for Windows (x86)
    Once base Tcl has been downloaded and installed there is one other component that will need to be installed from the Tcl Extension Archive, the expect package.
    The teacup program that is installed with the base Tcl package makes this easy. The teacup program will work with a proxy.
    You can set these Windows environment variables to specify proxy details:
    set http_proxy=
    set http_proxy_user=
    set http_proxy_pass=
    Then run teacup install expect
    The plink tool from the PuTTY download is also needed. It can be obtained from http://www.putty.org/.
    The sample that follows assumes that the data files, script and plink.exe executable all reside in the same directory.
    A sample Tcl script follows that reads a file of devices and a file of commands. It will run the list of commands against each device in the device file. It has some basic error checking, but should best be considered a ‘beta’ version. You could do more complex interactions in the Tcl script by adding exp_send and expect command statements. In short, if you can type it you could script it!
    Change directory to where your script, plink.exe  and data is stored and run with  tclsh <script_name>
    devices.list
    # Comment lines are allowed if they start with a hash mark
    # <IP_Addr> <userid> <password> <ssh|telnet> <timeout_in_secs>
    nnn.nnn.nnn.nnn    <userid>    <password>  ssh         <timeout_in_secs>
    nnn.nnn.nnn.nnn    <userid>    <password>  telnet      30
    commands.list
    # term length 0 needed or else IOS will wait for an enter to be pressed at the  --More-- prompts
    term length 0
    show run
    exit
    Script:
    # Run batch commands against one or more devices
    package require Expect
    exp_log_user 0
    set exp_internal 0
    set exp::nt_debug 0
    set prompt "(#\s*$|>\s*$)"
    set env(TERM) dumb
    set file_channel  [open "devices.list" r]
    set DEVICES      [read $file_channel]
    close $file_channel
    set file_channel  [open "commands.list" r]
    set COMMANDS      [read $file_channel]
    close $file_channel
    set command_entries [split $COMMANDS "\n"]
    set device_entries  [split $DEVICES "\n"]
    proc timedout {{msg {none}}} {
          send_user "Timed out (reason: $msg)\n"
          if {[info exists ::expect_out]} { parray ::expect_out }
          exit 1
    foreach device_entry $device_entries {
          if {[string length $device_entry] == 0 || [regexp {[ \t]*#} $device_entry]} { continue }
          set device  [lindex $device_entry 0]
          set user    [lindex $device_entry 1]
          set pass    [lindex $device_entry 2]
          set mode    [lindex $device_entry 3]
          set wait    [lindex $device_entry 4]
          set serial  [lindex $device_entry 5]
          # puts "Device=$device"
          # puts "User=$user"
          # puts "Mode=$mode"
          # puts "Wait=$wait"
          set timeout $wait
          # Spawning the Session
          # If you are logging on to the remote machine using "ssh", "slogin" or "rlogin", the information
          # gets processed in a slightly different manner. With any of these methods, it is necessary to
          # include an additional -l option to specify a username.
          # Next, the $spawn_id variable is captured, storing information about this spawn session in
          # memory for future reference.
          # If you are logging in via Telnet, the final code block in this section is required to pass the
          # username to Telnet. If the login is completed before the script times out, the exp_send command
          # passes the username.
          switch -exact $mode {
                "telnet" { set pid [spawn plink -telnet -l $user $device] }
                "ssh"   { set pid [spawn plink -ssh -l $user -pw $pass $device] }
                "serial" { set pid [spawn plink -serial $serial -l $user -pw $pass $device] }
          set id $spawn_id
          if {$mode == "telnet"} {
                expect -i $id timeout {
                timedout "in user login"
                } eof {
                timedout "spawn failed with eof on login"
                } -re "(login|Username):.*" {
                exp_send -i $id -- "$user\r"
          # Handling Errors
          # The error-handling section of the script is a while loop that anticipates a number of problems
          # that could occur during login. This section is not exhaustive. For example, you could also add
          # provisions for invalid usernames and passwords.
          # If the login is not completed during the allotted time frame, which is set from the devices.list file
          # and specified with expect -i $id timeout, the program displays an appropriate error message.
          # The remainder of this loop makes use of the exp_send command to allow for other scenarios, such
          # as the user typing "yes" when prompted to proceed with the connection, entering a password, or
          # resetting the terminal mode.
          set logged_in 0
          while {!$logged_in} {
                expect -i $id timeout {
                timedout "in while loop"
                break
                } eof {
                timedout "spawn failed with eof"
                break
                } "Store key in cache? (y/n)" {
                exp_send -i $id -- "y\r"
                } -re "\[Pp\]assword:.*" {
                exp_send -i $id -- "$pass\r"
                } "TERM = (*) " {
                exp_send -i $id -- "$env(TERM)\r"
                } -re $prompt {
                set logged_in 1
          foreach command $command_entries {
                if {[string length $command] == 0 || [regexp {[ \t]*#} $command]} { continue }
                # Sending the Request
                # If the login is successful, the code in the if statement below is used to send the "cmd" request
                # to display files and directories. After the request is sent with exp_send, the resulting output
                # is captured in the dir variable, which is set on the fourth line of the code shown below.
                if {$logged_in} {
                      exp_send -i $id -- "$command\r"
                      expect -i $id timeout {timedout "on prompt"} -re $prompt
                      puts "$expect_out(buffer)"
                # Closing the Spawned Session
                # The exp_close command ends the session spawned earlier. Just to be sure that session
                # does indeed close, the exp_wait command causes the script to continue running until a result is
                # obtained from the system processes. If the system hangs, it is likely because exp_close was not
                # able to close the spawned process, and you may need to kill it manually.
          catch { exp_close -i $id }
          exp_wait -i $id
          set logged_in 0
    *** End of Document ***

    Your friend will have to save the templates as CS6, which he can do.

  • Problem with wi fi under windows 8.1

    my macbook pro late 2013 wi fi card is not working under windows 8.1 can't access any network , any one having sam e problem ???

    Hi printen,
    Welcome to the HP Forums.
    If you are having an issue with connecting the printer to the computer over a wireless connection with the HP software, I suggest you disable any firewalls or anti virus protection before doing the installation.
    Thanks for your time.
    Cheers,  
    Click the “Kudos Thumbs Up" at the bottom of this post to say “Thanks” for helping!
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    W a t e r b o y 71
    I work on behalf of HP

  • Error exporting report with sub report and parameters

    Post Author: joncombe
    CA Forum: JAVA
    I am using the JRC to export to a PDF file a report that has a sub report within it. Both the main and subreport connect to an Oracle database via an Oracle ODBC connection and both share a single parameter, RUN_ID. I need to set a value for the parameter in both reports. If I don't do that I get this error:-com.crystaldecisions.reports.exportinterface.exceptions.ExportException: Some parameters are missing valuesI have the following code to update the parameters in both reports.                     ParameterField thisParameter1           = new ParameterField ( );                   ParameterField thisParameter2           = new ParameterField ( );                   Values thisValue1                       = new Values ( );                   Values thisValue2                       = new Values ( );                   ParameterFieldDiscreteValue thisParamDV1= new ParameterFieldDiscreteValue();                   ParameterFieldDiscreteValue thisParamDV2= new ParameterFieldDiscreteValue();                   thisParameter1.setReportName("");                   thisParameter2.setReportName("DQA_GER_Adressverification.rpt");                   thisParameter1.setName("RUN_ID");                   thisParameter2.setName("RUN_ID");                   thisParameter1.setType(FieldValueType.numberField);                   thisParameter2.setType(FieldValueType.numberField);                   thisParamDV1.setValue(254);                   thisParamDV2.setValue(254);                   thisValue1.add(thisParamDV1);                   thisValue2.add(thisParamDV2);                   thisParameter1.setCurrentValues(thisValue1);                   thisParameter2.setCurrentValues(thisValue2);                   parameterFields.add(thisParameter1);                   parameterFields.add(thisParameter2);                  ReportStateInfo repStateInfo = new ReportStateInfo();                  repStateInfo.setParameterFields(parameterFields);                  reqCont.setReportStateInfo(repStateInfo);  With this code in place I have found that if I run using the JRC supplied with Crystal Reports for Eclipse I get the following error:-ERROR - QueryEngine error: verify database failed.ERROR - Disk Exporter: no output file was created by an exporterERROR - PdfExporter: caught Exception in PDFFormatter.finalizeFormatJob (from destination?); aborting exportjava.lang.IllegalArgumentException        at com.crystaldecisions.reports.exporters.destination.disk.c.a(Unknown Source)        at com.crystaldecisions.reports.exporters.format.page.pdf.b.a(Unknown Source)        at com.crystaldecisions.reports.a.e.if(Unknown Source)        at com.crystaldecisions.reports.formatter.a.c.if(Unknown Source)        at com.crystaldecisions.reports.formatter.a.c.a(Unknown Source)        at com.businessobjects.reports.sdk.b.b.int(Unknown Source)        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)        at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)        at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.dd.a(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.ReportSource.export(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.export(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.NonDCPAdvancedReportSource.export(Unknown Source)        at com.crystaldecisions.reports.reportengineinterface.JPEReportSource.export(Unknown Source)        at crystalreportrunner.ReportExporter.exportReport(ReportExporter.java:174)        at crystalreportrunner.CrystalReportRunner.main(CrystalReportRunner.java:91)ERROR - Failed to export reportcom.crystaldecisions.reports.exporters.format.page.pdf.a.a: Unexpected exception thrown        at com.crystaldecisions.reports.exporters.format.page.pdf.b.a(Unknown Source)        at com.crystaldecisions.reports.a.e.if(Unknown Source)        at com.crystaldecisions.reports.formatter.a.c.if(Unknown Source)        at com.crystaldecisions.reports.formatter.a.c.a(Unknown Source)        at com.businessobjects.reports.sdk.b.b.int(Unknown Source)        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)        at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)        at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.dd.a(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.ReportSource.export(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.export(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.NonDCPAdvancedReportSource.export(Unknown Source)        at com.crystaldecisions.reports.reportengineinterface.JPEReportSource.export(Unknown Source)        at crystalreportrunner.ReportExporter.exportReport(ReportExporter.java:174)        at crystalreportrunner.CrystalReportRunner.main(CrystalReportRunner.java:91)Caused by: java.lang.IllegalArgumentException        at com.crystaldecisions.reports.exporters.destination.disk.c.a(Unknown Source)        ... 17 moreERROR - JRCAgent1 detected an exception: An error occured while exporting the report        at com.businessobjects.reports.sdk.b.b.int(Unknown Source)        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)        at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)        at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.dd.a(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.ReportSource.export(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.export(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.NonDCPAdvancedReportSource.export(Unknown Source)        at com.crystaldecisions.reports.reportengineinterface.JPEReportSource.export(Unknown Source)        at crystalreportrunner.ReportExporter.exportReport(ReportExporter.java:174)        at crystalreportrunner.CrystalReportRunner.main(CrystalReportRunner.java:91)Error exporting report : report. Error is ReportSDKException: An error occured while exporting the reportAn error occured while exporting the reportcom.businessobjects.reports.sdk.d.byte(Unknown Source)com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(Unknown Source)com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)com.crystaldecisions.sdk.occa.report.application.dd.a(Unknown Source)com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)com.crystaldecisions.sdk.occa.report.application.ReportSource.export(Unknown Source)com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.export(Unknown Source)com.crystaldecisions.sdk.occa.report.application.NonDCPAdvancedReportSource.export(Unknown Source)com.crystaldecisions.reports.reportengineinterface.JPEReportSource.export(Unknown Source) With the JRC supplied with Crystal Reports XIR2 I get this error:- INFO - PdfExporter: serializing pdf document and cleaning upINFO - Disk Exporter: verifying export to destinationERROR - Disk Exporter: no output file was created by an exporterERROR - PdfExporter: caught Exception in PDFFormatter.finalizeFormatJob (from destination?); aborting exportjava.lang.IllegalArgumentException        at com.crystaldecisions.reports.exporters.destination.disk.c.a(Unknown Source)        at com.crystaldecisions.reports.exporters.format.page.pdf.b.a(Unknown Source)        at com.crystaldecisions.reports.a.e.if(Unknown Source)        at com.crystaldecisions.reports.formatter.a.c.if(Unknown Source)        at com.crystaldecisions.reports.formatter.a.c.a(Unknown Source)        at com.businessobjects.reports.sdk.b.i.int(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.cf.a(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.ReportSource.export(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.export(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.NonDCPAdvancedReportSource.export(Unknown Source)        at crystalreportrunner.ReportExporter.exportReport(ReportExporter.java:174)        at crystalreportrunner.CrystalReportRunner.main(CrystalReportRunner.java:91)INFO - Disk Exporter: finalizing export to destinationERROR - JRCAgent1 detected an exception: java.lang.NullPointerException        at oracle.jdbc.driver.T4C8Oall.getNumRows(T4C8Oall.java:870)        at oracle.jdbc.driver.T4CStatement.executeForDescribe(T4CStatement.java:811)        at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1037)        at oracle.jdbc.driver.T4CStatement.executeMaybeDescribe(T4CStatement.java:830)        at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1132)        at oracle.jdbc.driver.OracleStatement.executeInternal(OracleStatement.java:1687)        at oracle.jdbc.driver.OracleStatement.execute(OracleStatement.java:1653)        at com.crystaldecisions.reports.queryengine.driverImpl.o.ew(Unknown Source)        at com.crystaldecisions.reports.queryengine.driverImpl.o.if(Unknown Source)        at com.crystaldecisions.reports.queryengine.ao.d4(Unknown Source)        at com.crystaldecisions.reports.queryengine.ao.f(Unknown Source)        at com.crystaldecisions.reports.queryengine.ao.dP(Unknown Source)        at com.crystaldecisions.reports.queryengine.av.if(Unknown Source)        at com.crystaldecisions.reports.queryengine.ba.if(Unknown Source)        at com.crystaldecisions.reports.queryengine.ba.do(Unknown Source)        at com.crystaldecisions.reports.queryengine.ba.try(Unknown Source)        at com.crystaldecisions.reports.queryengine.ba.for(Unknown Source)        at com.crystaldecisions.reports.reportdefinition.datainterface.j.a(Unknown Source)        at com.crystaldecisions.reports.dataengine.j.a(Unknown Source)        at com.crystaldecisions.reports.dataengine.j.a(Unknown Source)        at com.crystaldecisions.reports.dataengine.a9.if(Unknown Source)        at com.crystaldecisions.reports.dataengine.a9.a(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.a(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.a(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.objectformatter.be.a(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.objectformatter.be.g(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.objectformatter.i.g(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.objectformatter.be.for(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.objectformatter.bt.a(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.a(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.a(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.objectformatter.bf.a(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.for(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.for(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.objectformatter.b3.for(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.objectformatter.bt.a(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.a(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.a(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.a(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.objectformatter.ca.a(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.objectformatter.a9.a(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.e.m.a(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.for(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.for(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.objectformatter.b3.for(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.e.m.for(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.objectformatter.bt.a(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.e.p.k(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.e.p.null(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.e.p.k(Unknown Source)        at com.crystaldecisions.reports.formatter.formatter.e.p.az(Unknown Source)        at com.crystaldecisions.reports.formatter.a.c.a(Unknown Source)        at com.crystaldecisions.reports.formatter.a.c.if(Unknown Source)        at com.crystaldecisions.reports.formatter.a.c.a(Unknown Source)        at com.businessobjects.reports.sdk.b.i.int(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.cf.a(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.ReportSource.export(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.export(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.NonDCPAdvancedReportSource.export(Unknown Source)        at crystalreportrunner.ReportExporter.exportReport(ReportExporter.java:174)        at crystalreportrunner.CrystalReportRunner.main(CrystalReportRunner.java:91)I believe the error is that the SQL query in the main report is being updated with the RUN_ID but the SQL in the sub-report is not. I am not sure why the update to set the RUN_ID in the second SQL query fails, but it seems to me the JRC is not detecting it as a missing parameter and is passing the SQL including {?RUN_ID} to Oracle, causing the JDBC driver to fail with this NullPointerException. I think this because further up in the log I see this:-INFO - Executing query: SELECT v.* FROM v_ger_main vwhere v.run_id = 254INFO - Verifying databaseINFO - Executing query: SELECT h.* FROM v_ger_av_ls_tagging hwhere h.run_id = {?RUN_ID}ERROR - QueryEngine error: verify database failed.Both connections are from the same database, but the first has the updated value (254) whilst the second query still seems to have the parameter and so fails to verify.Can someone suggest how I can fix this problem or if I have missed something that is required?Thanks.Jon.

    Post Author: Ted Ueda
    CA Forum: JAVA
    What happens if, instead of passing in parameter field values, you pass the report source object to the viewer (ReportViewerBean for stand-alone or CrystalReportViewer for web)?  The viewer should introspect the report for the parameter fields and bring up a parameter field entry dialog box.  Does such a dialog box come up?  Is only the main report parameter field queried for, or both main and subreport paramter fields?  When you enter correct values for the field, does the report display?
    Hopefully, the above should narrow down the issue.
    By the way, JRC doesn't support ODBC connections, only Java based connectivity such as JDBC, JavaBeans and XML.  If you have a report with ODBC, then it looks for a JNDI connection with the same name.
    Sincerely,
    Ted Ueda

  • Export report with graphics data

    Hi,
    i would like to get a long time period report (about 2 month) of performance data with graphics data, same as data on Performance tab of GridControl, is possible to export report of performance with graphics data instead of ASH report that export only data without graph?
    thanks very much
    Andrea

    Hi
    Good. The information that you need is stored in the MGMT TABLES but the query can change too much if you change your requirements.
    Example
    For example CPU % Utilization GC retrieve information from sar comand
    sar 60 1440
    For IO Waits the GC retrieve information of iostat
    But the performance page in GC is the most complex to build a query, because these information are building but PL executions and perl scripts.
    Other metrics are more easy
    - Blocking session count in database
    SELECT blocking_sid, num_blocked
    FROM ( SELECT blocking_sid, SUM(num_blocked) num_blocked
    FROM ( SELECT l.id1, l.id2,
    MAX(DECODE(l.block, 1, i.instance_name||'-'||l.sid,
    2, i.instance_name||'-'||l.sid, 0 )) blocking_sid,
    SUM(DECODE(l.request, 0, 0, 1 )) num_blocked
    FROM gv$lock l, gv$instance i
    WHERE ( l.block!= 0 OR l.request > 0 ) AND
    l.inst_id = i.inst_id
    GROUP BY l.id1, l.id2)
    GROUP BY blocking_sid
    ORDER BY num_blocked DESC)
    WHERE num_blocked != 0
    The CPU LOAD in the database performance page establish a maximun cpu line that is equal to processors numbers.
    The graphic establish the sessions active for each class and if these are active
    You can read the Enterprise Manager Grid Control Extensibility to check all the mgmt views and the metric reference manual to view the data source of each metric

  • Problems with serial visa under windows XP

    I used VISA to control serial (RS232) instruments under windows 2000 and it was working well.
    Now I want to use the same program under Windows XP and I can't even open a VISA session, or use VISA Write. I get an error : the resource is available but VISA can't reach it.
    What could be the problem ?
    Thank you in advance for your help

    gg09 wrote:
    > I used VISA to control serial (RS232) instruments under windows 2000
    > and it was working well.
    > Now I want to use the same program under Windows XP and I can't even
    > open a VISA session, or use VISA Write. I get an error : the resource
    > is available but VISA can't reach it.
    > What could be the problem ?
    Someone else is probably openening that COM port already. Possible
    culprits: Configured Modems, UPS drivers, even Printer drivers although
    serial printers are seldom nowadays. You will have to search your
    Windows configuration for possible other applications reserving that
    port for themself.
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Export to Excel alignment off after Windows 2003 upgrade

    Hi All,
    I have an application that uses Crystal Reports 10(sp6) and VB6 that has worked fine for a few years and now that I have upgraded the server to Windows 2003 the alignment of the excel output is off.  All pages (45 of them) get printed on their own row in the output xls file.  The report gets filled in during the execution of the VB6 executable and then gets exported to PDF and then to excel.  PDF is fine but the excel output is unacceptable.  I've been playing with the different exportoptions and cannot seem to get the alignment I need.  Basically we need the rows and columns to align.
    In further testing I have exported the report with data (our original rpt file is just a shell that we fill in with data) to a crystal reports file.  I then have taken this report through the Crystal Reports 10 IDE and was able to export it and the output looks exactly like I need it to.  So I'm sure there is settings to accomplish the output.
    This is the original code:
    With My_Crystal_Report
        .ExportOptions.Reset
        .ExportOptions.FormatType = crEFTExcelDataOnly
        .ExportOptions.ExcelMaintainColumnAlignment = False
        .ExportOptions.ExcelUseFormatInDataOnly = True
        .ExportOptions.ExcelConstantColumnWidth = CDbl(800)
        .ExportOptions.DestinationType = crEDTDiskFile
        .ExportOptions.DiskFileName = filePath & ".xls"
        .Export (False)
    End With
    Here are the settings when I run the report through the Crystal Reports 10 IDE:
    - Custom: Data is exported according to selected options
    - Constant column width (in points): 36.0
    - Export object formatting
    - Maintain relative object position
    - Maintain column alignment
    One thing I was wondering is that there are different versions of Visual Studio including VS2008 and I was wondering if the Crystal Reports that gets installed with them could be interfering.
    Any help would be greatly appreciated.  Is there a setting that I'm missing in the code, registry, etc.
    Thanks in advance,
    Jim

    Hi,
    The only other difference I found as far as I could see was the following two files:
    CRXF_XLS.dll
    CRXF_XLS_RES_EN.dll
    Once loaded into the bin directory they are no longer a difference but output is still the same.
    There are other differences as far as Only In CRW32.EXE (only Crystal Reports differences by description)
    CRXF_HTML.DLL  10.0.5.75
    CRXF_HTML_RES_EN.DLL  10.0.5.75
    CRXF_RTF.DLL  10.0.5.604
    CRXF_RTF_RES_EN.DLL  10.0.5.604
    CRXF_WORDW.DLL  10.0.5.604
    CRXF_WORDW_RES_EN.DLL  10.0.5.604
    U2FCR.DLL  10.0.0.552
    U2FTEXT.DLL  10.0.5.604
    X3FCREN.DLL  10.0.0.552
    X3FTXEN.DLL  10.0.5.603
    Do you think that a possible way to fix this would be to I uninstall Crystal Reports and reinstall without the sp6 and then find out which sp was installed on current windows 2000 server and install that and see what I receive for output?
    I have been spending way to much time on this and really need to bring the customer in so that they know we have this level of an issue.  Do you also think maybe we should open a ticket? I don't know if this is feasible as you mentioned there is no support for Crystal Reports 10.
    Thanks,
    Jim

  • Iphone 5 S can't get sync with itunes installed on windows 2003 server SP2

    After successfully installed itunes 11.1.5 for windows (i'm using windows 2003 server SP2 32bit). Whenever time I connect my iphone 5S to this computer, it always pops up an error message "This iPhone cannot be used because the required software is not installed. Run the iTunes installer to remove iTunes, then install iTunes again"
    After I uninstalled/reinstalled many times I got successful install iTunes software, but this still having problem with this error message. When I open iTunes application and plug my iPhone 5S it always show the above error message & on iTunes application --> Files --> Devices I couldn't see any devices available (i.e Syns option is faded out & not clickable)

    Hi Tolga,
    You face with this error, because of Trex installation package is trying to install native i386 redistributables (vcredist_x86.msi) during the process. In order to patch Trex system on x64 architecture, follow the instructions, below;
    1) Start sapinst, under your <TREX_PATCH> path
    2) Ignore AMD64 warning popup
    3) When popup appears on the "1603:Fatal error during installation." error, change temp folders on both environment variables, on my computer
    4) Download and execute "vcredist_x64.exe" then run installer
    5) After respective installation click on "Retry" button on error popup
    At the end of this operation, your Trex patch will be succeeded. Please do not forget to undo your temp directory settings, on your Trex host. I hope that it is clarify your question.
    Best regards,
    Orkun Gedik
    Senior SAP Development And Basis Consultant

  • Cannot establish a link between MacPro and Windows 2003 Server

    I just had an issue where we had a server crash. This server supports several PCs, as well as two Macs. The server has been brought back online and can communicate with all of the PCs. However, neither one of the Macs can now communicate with the server.
    When I try to connect through the sidebar in the finder window, it will bring up the authentication window. But after I type in my password and hit enter, it gives me the message, "The alias "" could not be opened because the original item could not be found."
    When I try to connect through Go>Connect to Server, it gives me the message, "The Finder cannot complete the operation because some data in "" could not be read or written (Error code -36).
    My IT guy says that everything is alright with the server and that the problem has to be in the Mac settings. He does not know anything about Macs, however.
    Can somebody help me out with this issue?

    The only thing that comes to mind is a few settings in the Security Options of the Local Policy. Here's a link:
    http://allinthehead.com/retro/218/accessing-a-windows-2003-share-from-os-x
    Not sure if that's it, but I hope it helps.

Maybe you are looking for

  • How to solve login problem?

    Hi all: I hava configed the <security-constraint> in web.xml, e.g : <web-resource-name>AllAdmin</web-resource-name> <url-pattern>faces/pub/staff/admin/*</url-pattern> and in this <security-constraint> does not hava the role-name : <role-name>MIR Cust

  • SRM 7.0 Purchase Order Response always in status "In process" after confirm

    Hello experts, this problem is similar to the thread [SRM-SUS Purchase Order Response always "In Status"; which has been not finally responded. My problem exists in an environment without SUS. When a buyer confirms a PO response (POR) without any cha

  • Use of ":"  (colon) in workflow

    What are the use of ":" (colon) and how it can be used. Provide some information in this regard. Thanks

  • Has an error in CRM webui (Business Server Page Error)

    Business Server Page (BSP) error What happened? Calling the BSP page was terminated due to an error. SAP Note The following error text was processed in the system: Define component usage 'CUKNOWARTValueHelp' Exception Class CX_BSP_WD_INCORRECT_IMPLEM

  • JAVA-command prompt help

    I am creating a text-based application and want to make it in to a application. When I create and run the .jar file, the message box that I am using to test the running of an application, appears but the command prompt does not open and display the t