Issues viewing Crystal Report XI from vb6 application

Hello,
I'm trying to create a report interface in vb6. I'm using crystal reports XI. THe issue I'm having is that I'm getting error 91 - Object variable or With block variable not set at this line in my code :
CrystalActiveXReportViewer1.ReportFileName = ReportPath . This is baffling me because as far as I can see, I've selected all of the relevant references.
So if anyone has any ideas, please suggest.
Mel T

Hi,
Try this link for VB6 application. [HOW TO OPEN AN EXTERNAL CRYSTAL XI REPORT IN VB6|http://pscode.com/vb/scripts/ShowCode.asp?txtCodeId=67374&lngWId=1]
AND
[Crystal Reports XI with Visual Basic 6.0|http://www.vbforums.com/archive/index.php/t-438828.html]
Regards,
Clint
Edited by: Clint T. Pauyon on Feb 12, 2009 4:10 PM

Similar Messages

  • View Crystal Report File  from SDK

    Hello All,
    I want to View Crystal Report File (.rpt file) from SDK (using VB 6 )
    I have already try following code on my Add On :
       Public Sub RunCrystalReport()
       Dim crlApp As New CRAXDDRT.Application
       Dim crlRep As CRAXDDRT.Report
       Set crlRep = crlApp.OpenReport("D:\ReportTest.rpt")  
       Dim CRAX2 As CrystalActiveXReportViewerLib12Ctl.CrystalActiveXReportViewer
       Set CRAX2 = Form2.CRAX
       CRAX2.ReportSource = crlRep
       CRAX2.ViewReport
       End Sub
    But, nothing happen
    Could some one help one for this ?
    Thanks a lot
    Regards,
    Arie
    SDK Beginner

    Amazing Sir !!...
    I could run my report through B1 SDK right now...
    Many thanks to you Sir..
    Just one more thing, The Horisontal and Vertivcal Scroll control wasn't appear. Do I have to add scroll object or someting like that
    Many thanks again to you Mr. Porcelli
    Arie

  • Accessing Crystal Reports XI from ASP

    Post Author: cutedude43
    CA Forum: General
    I need to access Crystal reports from ASP. The catch is Crstal Reports XI is not installed on the web server where the ASP application is hosted. However there is another machine where Crystal Reports XI is installed. Can you please let me know, in detail, how I could view crystal reports through the ASP application under this scenario. If this is possible please also detail the required run time files that needs to be deployed on the web server where the ASP application is hosted.
    If this is not possible, please detail the other ways through which I can invoke the crystal report from my ASP application page.
    Thanks
    Vaidyanathan

    The only code you will find on this web site is for VB 6. I have a few C++ apps. Not knowing a thing about flex, I am not sure if either of those will be of any use to you(?). Other than that, see if you can find some flex forum and ask there...
    Ludek

  • Can't view Crystal Reports from BW

    Hi,
    I'm installing SAP Integration Kit XI 3.1 SP3 with IIS.  I am able to publish reports from BW to BOE but not able view them from BW.  I followed the documentation to use report/report_view.aspx to define the viewer application in Content Administration Workbench.  But it is giving me a "The page cannot be found" error when I try to view Crystal Reports from BW.  I tried looking for the file report/report.aspx but cannot find it.  I was able to locate the file in SAP_CrystalReport_View/report_view.aspx.  I repointed the system to this path but it still giving me the same error. 
    Anybody here encountered this before?
    Thanks,
    Elijah

    Hi Ingo,
    - has the report being saved to BW and then published to BusinessObjects enterprise ?
        Yes, the report is being published from BW to BOE successfully.
    - did you import the ABAP Transports to the BW system ?
        I imported all the transports that came with the Integration Kit.  I'm not sure if the ABAP transport is one of them.
    - has the viewing service in transaction SICF been configured ?
        Yes, the top entry in the handler list is /CRYSTAL/CL_BW_HTTP_HANDLER.
    I did notice that the BW system is on a different subdomain than the web application server.  For example,
       BW system        -  bw01.us.mydomain.com
       BOE web server -   boweb.mydomain.com
    Would that affect the single sign on?

  • Issues running Crystal Reports (Open Doc) from IE 9 with locale not set to English

    Hello Experts.
    This thread is more or less a sub thread of http://scn.sap.com/thread/3541526 .  We continue to experience Crystal Report failures from a location in China when our users enter report parameters and click execute.  The error message we are seeing is: “logon information for this report is either incomplete or incorrect Error code:0 [CRWEB00000119]” (in Chinese).
    After a fair amount of troubleshooting (see aforementioned thread) we discovered that the reports would not only run fine in Firefox, from this location, while set to a  Chinese Language, but if we changed IE to US English, the reports ran from there as well.
    While we have narrowed down the issue we have not been able to find a viable solution.  Firefox is not ideal because it does not run many of our other application properly, including some SAP products and switching browser locale settings from user’s native languages to run a report is also not ideal.  Has anyone else run into this issue in the past, if so how did you work through / around it.  Any help or suggestions will be greatly appreciated.
    Some environmental information
    - We are currently running BOBJ 4.0 SP 4
    - We have a test environment running BOBJ 4.1 SP 2 and the issue is persistent
    - We run IE 9 throughout our organization as a requirement for most of our internal tools

    Hi Apporv
    Please check your database documentation for error 31400.
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Problem to run the Crystal report inside from SAP B1 based on SQL views.

    Hello,
    I have a problem to run my Crystal report inside from SAP B1 which is based on SQL views.And the SQL views are stored in a separate database in SQL server.The error which i am getting is saying the the tablename does not exist.What i need to do in order to sort this problem.
    Great if somebody can help me to sort out this so that i can run my report based on SQL views stored on separate database other than SAP databases inside from SAP B1.
    Edited by: rozenagrawal on Apr 19, 2011 11:51 AM

    Try using a SQL synonym in your company database for the views outside the company database. I don't know if SBO will let you get away with it, but its worth a shot.
    If your company database is MyCompany and you have a view called MyView in Views database, assuming the view belongs to schema dbo, and you want the synonym to belong to dbo schema in your company database, run this:
    Use MyCompany
    go
    create synonym dbo.OutsiderView for
    Views.dbo.MyView
    go
    select * from OutsiderView
    The select statement should return the contents of MyView in the Views database while you are connected to your MyCompany database.
    For more info, see the Books Online for MSSQL on topic synonym.
    You will need to change your CR options to include displaying synonyms along with tables, views, etc. You may also need to grant select to B1 users.
    Edited by: Cindy Lange on Apr 21, 2011 4:00 PM

  • Error when Opening a Crystal Report in a Web Application

    Hi All,
    How are things?
    We are trying to open a Crystal report in a Web Application based on a Web service on Appache Tomcat.
    The report is in the Test Environment poiting to a SQL 2005 Database.
    The report opens and runs fine in Crystal Reports and in Infoview.
    The Web application throws back a long error as shown below.
    Looks to be like a SDK Issue ( Not pretty sure )...
    Could anyone help me out on this?
    STACK TRACE: at BusinessObjects.DSWS.ReportEngine.ReportEngine.GetDocumentInformation(String documentReference, RetrieveMustFillInfo retrieveMustFillInfo, Action[] actions, Navigate navigate, RetrieveData retrieveData) at Service.GetReportWithParms(String rptName, String folderName, String parms, String user, String password, String output, String& strError) MESSAGE: Failed to retrieve binary view of the report. (Error: WRE 02527) CALL STACK TRACE: com.businessobjects.dsws.wsc.common.axis.WSExceptionFactory$ExportReportFailed at com.businessobjects.dsws.wsc.reportengine.Report.getBinaryDocument(Unknown Source) at com.businessobjects.dsws.wsc.reportengine.DocumentAgent.handleGetBinaryView(Unknown Source) at com.businessobjects.dsws.wsc.reportengine.DocumentAgent.handleRetrieveData(Unknown Source) at com.businessobjects.dsws.wsc.reportengine.DocumentAgent.handleActions(Unknown Source) at com.businessobjects.dsws.wsc.reportengine.CrystalReportEngineSoapImpl.getDocumentInformation(Unknown Source) at com.businessobjects.dsws.reportengine.ReportEngineSoapImpl.getDocumentInformation(Unknown Source) at com.businessobjects.dsws.reportengine.ReportEngineSoapSkeleton.getDocumentInformation(Unknown Source) at sun.reflect.GeneratedMethodAccessor155.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:402) at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:309) at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:333) at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71) at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150) at org.apache.axis.SimpleChain.invoke(SimpleChain.java:120) at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:481) at org.apache.axis.server.AxisServer.invoke(AxisServer.java:323) at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:854) at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:339) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at com.businessobjects.dsws.wsc.common.axis.FlashFilter.doFilter(Unknown Source) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) at java.lang.Thread.run(Thread.java:534) Caused by: com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Error in File XYZ.rpt: Failed to retrieve data from the database. Details: [Database Vendor Code: 408 ]---- Error code:-2147215357 Error code name:internal at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(Unknown Source) at com.crystaldecisions.sdk.occa.managedreports.ps.internal.f.a(Unknown Source) at com.crystaldecisions.sdk.occa.managedreports.ps.internal.f.export(Unknown Source) ... 49 more
    Thanks,
    Raj

    Moving post to .NET SAP Crystal Reports forum
    Hello Scott
    What browser are you using and what is the version of the browser?
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • Report failing from VB6

    Running Win 2003 R2 SP2, connecting to Oracle 10g, using Crystal 9.2.3.787.
    Report works fine when opened from within Crystal IDE.
    Report not working when called from VB6 application.
    Error Thrown:
    Error generating report!
    Error No: -2147189176
    Error Text: Logon failed.
    Details: ADO Error Code: 0x80040e21
    Source: Microsoft OLE DB Service Components
    Description: Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.
    Ideas?

    The error is thrown on line 600 (ReportForms(intFormIdx).Object.crvCrystalReport.ViewReport)
    I don't know if this is using RDC, OCX or PE API (Its not my code, I just drew the short straw for supporting it.)
    Database login information is coming out of an INI text file and used in OpenReport routine.  Credentials are valid.
    I am not using a DSN.  Oracle uses a file called TNSNames.Ora.  I believe this is all that is needed.
    Here is the code I am using:
    Dim ReportForms() As FormInstance                                    ' Form object for each report displayed
    Public Function LoadReportForm(strReportTitle As String) As Integer
    10        Const ROUTINE_NAME = "modReportForms:LoadReportForm"
    20        Dim lngStatus As Long
    30        Dim intFormIdx As Integer
    40        Dim strRecordSelectionFormula As String
    50        Dim strNewRecordSelectionFormula As String
    60        Dim TempForm As Form
              ' Provide a pop-up dialog indicating we are working on the report, do not allow user to cancel
              ' report generation at this point
    70        frmGeneratingReport.lblStatusValue = "Loading report, please wait..."
    80        frmGeneratingReport.lblUserMsg.Caption = ""
    90        frmGeneratingReport.Show
    100       Call modCommon.SetTopMostWindow(frmGeneratingReport.hWnd, True)    ' Cause dialog to always be on top
    110       frmGeneratingReport.Refresh
    120       If Not ReportFormsInitialized Then                                 ' If the first time in this code
    130         ReDim ReportForms(1)                                             ' Dimension our report forms array
    140         ReportFormsInitialized = True                                    ' Indicate we have done the first time stuff
    150       End If
    160       If FreeFormIndexesLeft Then                                        ' If any free slots left
    170         intFormIdx = FindFreeFormIndex                                   ' Find a slot for the new occurence
    180       Else
    190         LoadReportForm = REPORT_FORM_INSTANCE_EXCEEDED                   ' Indicate we hit the limit
    200         GoTo ExitHandler
    210       End If
              ' Create a temporary copy of the form
    220       Set TempForm = New frmReportViewer
    230       TempForm.cmdPrint.Enabled = False
    240       TempForm.cmdClose.Enabled = False
              ' If the form state is closed, we previously destoryed (or never created) a form object for the instance,
              ' so create one and change its state to opened
    250       If ReportForms(intFormIdx).State = fsClosed Then
    260         Set ReportForms(intFormIdx).Object = TempForm
    270         ReportForms(intFormIdx).State = fsOpened
    280       End If
              ' Save the index of this form in the form's tag property
    290       ReportForms(intFormIdx).Object.Tag = intFormIdx
              ' Set the caption for the form
    300       ReportForms(intFormIdx).Object.Caption = strReportTitle
              ' Attempt to open the crystal report
    310       lngStatus = OpenReport(strReportTitle, _
                                     intFormIdx)
    320       If lngStatus <> 0 Then
    330         Call CloseReportForm(intFormIdx)                                 ' Close this report form
    340         LoadReportForm = ERROR_OPENING_REPORT                            ' Set status for caller
    350         Call modCommon.LogError(ROUTINE_NAME, _
                                        0, _
                                        "Error opening " & strReportTitle & "! " & vbCr & vbCr & _
                                        "Error No: " & CStr(lngStatus))
    360         GoTo ExitHandler
    370       End If
              ' If date filters exist for report
    380       If TADSReports(strReportTitle).blnDateFilter Then
                ' Set the date range for the report
    390         Call SetParameterFieldValue(intFormIdx, _
                                            TADSReports(strReportTitle).strStartDateParameterName, _
                                            modCommon.DateTimeValue(frmShippingMain.dtpFromDate, frmShippingMain.tmpFromTime))
    400         Call SetParameterFieldValue(intFormIdx, _
                                            TADSReports(strReportTitle).strEndDateParameterName, _
                                            modCommon.DateTimeValue(frmShippingMain.dtpToDate, frmShippingMain.tmpToTime))
    410       End If
              ' If we're to pass delayed truck minutes to report
    420       If TADSReports(strReportTitle).blnDelayedTruckMinutes Then
    430         Call SetParameterFieldValue(intFormIdx, _
                                            TADSReports(strReportTitle).strDelayedTruckMinutesParameterName, _
                                            modCommon.lngDelayedTruckMinutes)
    440       End If
              ' Save current record selection formula
    450       strRecordSelectionFormula = ReportForms(intFormIdx).Object.CrystalReportObj.RecordSelectionFormula
              ' Build a new record selection formula
    460       strNewRecordSelectionFormula = BuildRecordSelectionFormula(intFormIdx, _
                                                                         strReportTitle)
              ' If we have a new record selection formula to apply
    470       If strNewRecordSelectionFormula <> "" Then
                ' If no previous record selection formula (built into report)
    480         If strRecordSelectionFormula = "" Then
    490           strRecordSelectionFormula = strNewRecordSelectionFormula
                ' Else, we had a previous formula, append to the new one to the existing one
    500         Else
    510           strRecordSelectionFormula = strRecordSelectionFormula & " AND " & strNewRecordSelectionFormula
    520         End If
    530       End If
              ' Apply the record selection formula to the report
    540       ReportForms(intFormIdx).Object.CrystalReportObj.RecordSelectionFormula = strRecordSelectionFormula
              ' Update the generating report dialog
    550       frmGeneratingReport.lblStatusValue = "Reading dbs, please wait..."
    560       frmGeneratingReport.lblUserMsg.Caption = "Click the black square (near top of window behind this one) to cancel a long-running report."
    570       frmGeneratingReport.Refresh
              ' Set report source for cyrstal report viewer object that is on the form
    580       ReportForms(intFormIdx).Object.crvCrystalReport.ReportSource = ReportForms(intFormIdx).Object.CrystalReportObj
              ' Show the report from
    590       ReportForms(intFormIdx).Object.Show
              ' Cause the report to appear within the viewer object
    600       ReportForms(intFormIdx).Object.crvCrystalReport.ViewReport
              ' While report is generating, allow form to respond to user events
    610       While ReportForms(intFormIdx).Object.crvCrystalReport.IsBusy
    620         DoEvents
    630       Wend
              ' Enable report form controls
    640       ReportForms(intFormIdx).Object.cmdPrint.Enabled = True
    650       ReportForms(intFormIdx).Object.cmdClose.Enabled = True
              ' Return form index to caller
    660       LoadReportForm = intFormIdx
    670 ExitHandler:
    680       Set TempForm = Nothing                                             ' Destory temporary form object
    690       Unload frmGeneratingReport
    End Function                                                         ' LoadReportForm
    Private Function OpenReport(strReportTitle As String, _
                                FormIdx As Integer) As Long
    '*** START FAILSAFE *********
         ' If FailSafe is enabled then Set up error handler and push stack
         If Not fsDISABLED Then
           On Error GoTo FailSafe_Error
           fsPUSH "modReportForms.bas", "Function OpenReport", "(" & "strReportTitle=" & strReportTitle & ", " & "FormIdx=" & FormIdx & ")"
         End If
    '*** STOP FAILSAFE **********
    10        Dim intRptTables As Integer
    20        Dim strDbName As String
    30        Dim strDbPassword As String
    40        Dim strDbUsername As String
    50        Dim strDbDataSource As String
    60        Dim TADSIniFile As IniFileFunctions
    70        Set TADSIniFile = New IniFileFunctions
              ' Get dbs connection values from ini file
    80        strDbUsername = TADSIniFile.GetString("UserID", _
                                                    "TADS Database", _
                                                    App.Path & "\" & modCommon.INI_FILE_NAME)
    90        strDbPassword = TADSIniFile.GetString("Password")
    100       strDbDataSource = TADSIniFile.GetString("DataSource")
    110       Set TADSIniFile = Nothing                                          ' Destroy object
              ' Attempt to open report
    120       Set ReportForms(FormIdx).Object.CrystalReportObj = CrystalApplicationObj.OpenReport(App.Path & "\" & TADSReports(strReportTitle).strReportFilename, _
                                                                                    crOpenReportByTempCopy)
              ' Now, we must log on to the server for each table used by the main (parent) report
    130       For intRptTables = 1 To ReportForms(FormIdx).Object.CrystalReportObj.Database.Tables.Count
    140         Call ReportForms(FormIdx).Object.CrystalReportObj.Database.Tables.Item(intRptTables).SetLogOnInfo(strDbDataSource, _
                                                                                    strDbDataSource, _
                                                                                    strDbUsername, _
                                                                                    strDbPassword)
    150       Next intRptTables
              ' Next, we need to do the same for each sub report.
    160       Call OpenSubReport(ReportForms(FormIdx).Object.CrystalReportObj, _
                                 strDbDataSource, _
                                 strDbDataSource, _
                                 strDbUsername, _
                                 strDbPassword)
    170       ReportForms(FormIdx).Object.CrystalReportObj.DiscardSavedData      ' Ensure there is no saved data w/ report
              ' Turn off parameter value prompting to the user
    180       ReportForms(FormIdx).Object.CrystalReportObj.EnableParameterPrompting = False
    '*** START FAILSAFE **********
    FailSafe_Exit:
         'If FailSafe is enabled then pop stack
         If Not fsDISABLED Then
           fsPOP "modReportForms.bas", "Function OpenReport", "(" & "strReportTitle=" & strReportTitle & ", " & "FormIdx=" & FormIdx & ")"
         End If
    Exit Function
    FailSafe_Error:
         Select Case Err
           ' Specific error handling that bypasses FailSafe code would go here
           Case Else
             ' Call fsERROR (FailSafe Error Routine) to determine disposition of error.  This function will call the
             ' function fsUserErrorEvent where is the function that contains our specific code for determining the
             ' disposition (how to proceed after).
             Select Case fsERROR("modReportForms.bas", "Function OpenReport")
              ' fsERROR returns 1 to 5
               ' Case 1 (fsResume), return to line causing error
               Case fsResume: Resume 0
               ' Case 2 (fsResumeNext), return to line after one causing error
               Case fsResumeNext: Resume Next
               ' Case 3 (fsResumeExit), goto to exit handler
               Case fsResumeExit: Resume FailSafe_Exit
               ' Case 4, End the program at this point
               Case 4: End
               ' Case 5, If in debug break the program at this point, otherwise when running .exe end program at this point
               Case 5: Stop: Resume
             End Select
         End Select
         Resume FailSafe_Exit
    '*** STOP FAILSAFE **********
    End Function                                                         ' OpenReport

  • Calling an rss script with rs.exe fails to result in a report pdf from VB6 w/ ShellEx.

    Sql 2008 R2
    Calling an rss script with rs.exe fails to result in a report pdf from VB6 w/ ShellEx. 
    If I call rs.exe with the various parameters from the command prompt I  have success(other than rs.exe using the temp folder, which is a different issue).  But when I try to execute the same process from a Visual Basic 6.0 application utilizing
    the ShellEx api call, the report creation and output to PDF format do not occur.   There is no error raised.
    Yes, I wish I could use a newer dev tool but that isn't an option right now. I think this should work.  Can ya'll tell me what I'm doing wrong?
    sArgs = "-i " & Chr(34) & "'C:\Program Files\Dura Supreme\OrderEntry\RunOrdReports.rss'" & Chr(34) & _
    " -s 'http://walnut/reportserver' -v 'DuraOrderNum=" & _
    Chr(34) & sOrdDuraID & Chr(34) & "' -e Exec2005 -t"
    ShellEx Chr(34) & "C:\Program Files\Dura Supreme\OrderEntry\rs.exe" & Chr(34), EShellShowConstants.essSW_SHOWNORMAL, sArgs
    TIA,
    Jim M.

    ShellEx Chr(34) & "C:\Program Files\Dura Supreme\OrderEntry\rs.exe" & ....
    Hello Jim,
    The path for rs.exe includes spaces, you should set it in hyphen, as you already did for file "RunOrdReports.rss" in variable "sArgs2
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • Issue in crystal reports in client machine

    my project is running fine on development machine where i have installed visual studio 2013 and i later installed CRforVS_13_0_10 to add crystal reports feature ... i developed an application and used sql server for database ...
    when i run this software on client pc , my project is working fine except crystal report , when i want to view crystal report it gets busy in loading crystal report later it gives message
    "Failed to open the conenction , Details : [Database vendor code: 17] temp_ ....."
    on client machine i have installed CRRuntime_32bit_13_0_9

    i think i caught my problem but could not able to solve yet , my issue is that in development pc i set database of crystal report by selecting proper database linked to sqlserver ...
    later when i run my project in some other pc (i change pc name in my app.config file),
    and then the project runs but not crystal reports
    crystal report does not find database as its pc name is different , whereas pc name which is hard coded is the name of development pc ...
    how to change this pc name ????

  • Text justification issue in crystal report

    Hi,
    I have MVC application with crystal report in it. I am exporting crystal report to PDF, everything except text justification (as we do in MS-Word) is not working. Even in crystal report viewer itself it's not working.
    I have been trying since few days to solve text justification problem in CR. Well I have goggled a lot for this and found different available option to get the thing done. But that didn't solved my problem, I have read many replies on the crystal report discussion regarding the same but no result. I have tried four different versions of crystal report (13.0.5,13.0.6,13.0.9,13.0.13) as I found on the web that justify could work in these versions, but I was shocked when I didn't get anything useful.
    For me it's like justify doesn't work in crystal report by any means. Can any one here tell me who has solved the text justification problem in crystal report. I have attached sample screen shot of word document where in I have specified my requirement of text justification.
    Any positive reply would be highly appreciated.
    -Sunny

    Duplicate thread - Locked. Please continue discussion here:
    Re: Text justification issue in crystal report
    -Abhilash

  • Issue with Crystal Report Server

    Hi,
    I have a .Net application that uses Crystal Reports Server. The application runs from two servers through load balancing and one of them hosts RAS(Report Application Server) component as well. The issue I am facing is that the server that does not host RAS gives a timeout error periodically when reports are run, inspite of RAS running fine in the other server.
    Can anyone let me know if this problem has been identified before?
    Regards,
    Ashwin

    Hi Ashwin,
    What is the error message you are getting?
    After how many minutes does the timeout error occur?
    What is deployed on each of these 2 servers?
    Can you please provide some more details on the workflow that causes the timeout?
    Thanks
    Jonathan

  • Open a Crystal Report preview from an Add-on

    Hi All,
    I'm just trying to open a Crystal Report preview using a button from my add-on.
    I want to use the SAP Crystal report, (the runtime integrated with SAP 8.8)
    Basically I have my report created, so I need to create the object, pass the parameters and open an screen with my preview.
    The main idea is open this Crystal report object when the addon starts and then just use that object.
    I've found an example with this object SAPbobsCOM.ReportLayoutsService but this is for SAP 8.8.1 and I'm working with 8.8. I don't know if i can use SAPbobsCOM.ReportLayout.
    I need a simple example please.
    Thanks .

    Hi,
    Have you read through this: View Crystal Report from add-on ?
    Thanks,
    Gordon

  • Database Error While Viewing Crystal Report In Infoview

    Hi,
    BO and Crystal Designer version is BO XI 3.1 SP2 FP2.6.
    Issue:
    While viewing crystal report for a particular user id in infoview, following error is coming:
    Error in File EPACertificate.rpt: Database Connector Error
    However, we are able to view the report in thick client Crystal Designer using same user id. This issue is occurring only for this user and rest of the users are able to view the report in Infoview and Crystal Designer.
    It would be great if any of you can provie a solution to this issue.
    Thanks in advance,
    Jaya

    closing it.

  • Cannot view Crystal Reports 2008 API documentation

    I've purchased Crystal Reports 2008 From the On-line Store.
    I found the documentation on the API in the SAP Help Portal
    I downloaded the Crystal Reports 2008 .Net API manual.
    I get this great outline but there is no content with the statement "Navigation to the webpafe was canceled"
    Were can I get a usable manual?

    Hi Edward,
    Try to download product guide  from the following link:
    [https://websmp105.sap-ag.de/bosap-support].
    Have a look to this thread:
    [Read Before Posting - Where to find Crystal Reports .NET SDK resources;
    you will get all the links of SDK Libraries,Business objects notes, Sample code.
    If you have any issue with SDK post your question in
    NET Development - Crystal Reports Forum
    [SAP Crystal Reports, version for Visual Studio;
    Hope this helps!!
    Regards,
    Shweta

Maybe you are looking for