Error message when executing a report through a VB application

Hello,
I have a problem when I want to launch a Crystal Report 10 report in a Visual Basic application.
I created a report using "Add a command" to add a SQL query to this report, the report is working well when I launch it in Crystal Report. But when I launch it in the application I get an error message "The table 'Command' could not be found".
(Other reports are working in VB when I create a report whitout the sql command tool)
How can I do to make this working through VB ?
This application uses a sql server 2005 database.
Thank's in advance for your help,
Régis

Thank's for your answer, yes I'm connecting through an ODBC connection, yes the VB app is running the same odbc entry.
When I have only a "normal" link to a table the report is working well, the problem is that when I add a sql command in this report, the VB application thinks it's a "normal" sql table and it gives me the error message. The VB application didn't recognize that the table command in the report is a sql request. I don't know what's the difference between executing this report directly in CR or in the VB application, the report didn't react in the same way even if the ODBC entry is the same.
I don't know if what I try to do is possible, is it possible to execute a CR report with a sql command in a VB application ?
FI : I found yesterday the way to create the same report without a sql command, its working in the VB app. But it would be great if I could solve this problem because it's much more easier to create a report giving only the sql request and not to do that manually in the report (attaching all the tables, making the group by, sort...).

Similar Messages

  • Error message when installing iTunes on Windows 7, "Apple Application Support was not found, Error 2"

    I can successfully download iTunes on my PC, but receive an error message when I try to install the file: "Apple Application Support was not found... Error 2" I've tried deleting the file and reinstalling it to no avail. Any ideas?

    See Troubleshooting issues with iTunes for Windows updates.
    tt2

  • TS1394 im getting an error message when trying to install the snow leopard application cd 2. need  help.

    im getting an error message when trying to install the application cd on my Imac os x 10.6.4   what can I do to solve this problem?

    Could be many things, we should start with this...
    "Try Disk Utility
    1. Insert the Mac OS X Install disc, then restart the computer while holding the C key.
    2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu at the top of the screen. (In Mac OS X 10.4 or later, you must select your language first.)
    Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.
    3. Click the First Aid tab.
    4. Select your Mac OS X volume.
    5. Click Repair. Disk Utility checks and repairs the disk."
    http://docs.info.apple.com/article.html?artnum=106214
    Then try a Safe Boot, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, reboot when it completes.
    (Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive.)

  • Error Message when Scheduling a report in Infoview

    I have created a report in Crystal Report using the Universe.  Report is saved to the Enterprise and set up to schedule in Infoview.
    When the report is scheduled for now or any other "when" time, I receive the error message:
    "Error in File C:\Program Files\Business Objects\BusinessObjects Enterprise 11.5\Data\procSched\tfcu-fics.reportjobserver\~tmp58860bbee30730.rpt: Unable to connect: incorrect log on parameters."
    Currently running CR Version - 11.5.0313
    BOE Version - 11.5
    On my workstation - the ODBC connection, System DSN, for crystal is using the Adaptive Server Anywhere 9.00 driver - have no issues creating the report from the Universe.
    On the server the ODBC connection, System DSN, for crystal is using the SQL Anywhere 10 driver.  Would using the SQL Anywhere 10 driver create the error message above?
    To test this I changed the workstation System DSN connection for crystal to SQL Anywhere 10 and when trying to refresh a report created from the Universe I kept receiving the ODBC Login window asking for the database password.
    Is there an issue with SQL Anywhere 10 and a Universe not holding the database username or password?

    Try This..
    1. Open the crystal client on your local machine and import that particular report.
    2. Do Database -> Verify Database. Then refresh the report on your PC and make sure that it returns data as expected.
    3. Export it back to repository and try scheduling it again. You can verify through CMC for Crystal Reports under " Database Configuration" property to make sure it points to the right ODBC.
    Let us know.

  • Error message when displaying a report in a windows form

    Hi,
    use Cr 2008.SP3 Fixpack 3.5,
    Visual Studio 2008 prof. editon version 9.0.30729.1 SP,
    :NET Framework 3.5 sp1
    vb.net 2008
    when displaying a report in a Windows form sometimes the following error message appears
    System.NullReferenceException: Object reference not set to an instance of an object
       bei CrystalDecisions.Windows.Forms.PageControl.OnMouseMove(MouseEventArgs e)
       bei System.Windows.Forms.Control.WmMouseMove(Message& m)
       bei System.Windows.Forms.Control.WndProc(Message& m)
       bei System.Windows.Forms.ScrollableControl.WndProc(Message& m)
       bei System.Windows.Forms.ContainerControl.WndProc(Message& m)
       bei System.Windows.Forms.UserControl.WndProc(Message& m)
       bei CrystalDecisions.Windows.Forms.PageControl.WndProc(Message& m)
       bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    The rest of the error message is in german:
    ************** JIT-Debuggen **************
    Um das JIT-Debuggen (Just-In-Time) zu aktivieren, muss in der
    Konfigurationsdatei der Anwendung oder des Computers
    (machine.config) der jitDebugging-Wert im Abschnitt system.windows.forms festgelegt werden.
    Die Anwendung muss mit aktiviertem Debuggen kompiliert werden.
    Zum Beispiel:
    <configuration>
        <system.windows.forms jitDebugging="true" />
    </configuration>
    Wenn das JIT-Debuggen aktiviert ist, werden alle nicht behandelten
    Ausnahmen an den JIT-Debugger gesendet, der auf dem
    Computer registriert ist, und nicht in diesem Dialogfeld behandelt.
    Thank you
    Otto

    Can you define "sometimes" a bit more?
    Is it after a number of runs of a report?
    Is it on a particular report?
    Is it after you do certain operations on the report (paging, zooming, dill down, print, etc., etc.)?
    Can you duplicate the issue if you isolate the report to a new test app?
    Did you happen to notice if the issue existed prior to FP 3.5?
    Is this on your dev computer or a client computer?
    OS?
    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]

  • Deadlocked error message when running crystal report

    Hi All,
    I need a bit of guidance as to the following problem.
    Seems there is a lock being created in SQL when running some crystal reports.
    When trying to run a report the following message is displayed:
    Database connection Error L 'ADO Error Code: 0x
    Source: Microsoft SQL Native Client
    Description: Transaction (Process ID 302) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
    SQL State: 40001
    Native Error: [Database Vendor Code: 1205 ]'
    The error is happening intermittently when refreshing the report. It does not seem to happen when no users are using the system.
    Is there any way to stop this from happening? Or is this some kind of limitation with crystal and how it accesses the database?
    Many Thanks,
    Matt

    Hi Matt
    I have had this problem with long running queries as well.  I ended up doing the main part of the query in a view using WITH (NOLOCK) for each table and then reporting on the view.
    This had extra benefits of making the report much simpler and often making the query more efficient and easier to test as well.
    Rob

  • Unknown Error Message when creating Visual Reports

    I get the Unknown error message periodically when trying to create an excel cash flow report. I am running Excel 2010, and Project 2010.
    Very frustrating

    Hi Jim,
    Are you able to view other reports without any issues.
    Is the happening only on this project?
    Also, Please let me know the project professional patch.
    Thanks,
    Phani

  • Error message when publishing to Flickr through Lightroom 3

    When I update one of my collections in Lightroom and then directly  publish into my Flickr account, I often get the following error message:   Flickr API returned an error message (function upload, message  Filesize was zero).  Does anyone know why I am getting this or what I  need to do to resolve? Thanks in advance for your help

    i get exactly the same thing. but i do have mobile me. i created a site and published it to one of my mobile me accounts. it worked fine. then i moved the file to another computer, made some changes to the text and republished. this time i got the 'publishing error' message described above.
    then i tried opening a a new mobile me account, and published said site to this new account. same problem.
    then i tried publishing to a folder. i also cannot publish to a folder, or more specifically, when i publish only some of the files seem to get published before that message appears.
    strange thing is some of these files do appear in the folder and i was successfully able to upload this folder to the iDisk. and the site partially worked (to see it: www.designersdetails.com) but only those files that got published before the error message work. a good portion, including the picture galleries and the google maps page do not work.
    can anyone shed any light on this? i've followed all of the suggestions i have found in the forums. nothing works.
    thx
    fj

  • Error message when previewing RTF report

    Using BI Publisher (10.1.3.3.0 Build 108) Building a simple template using the following XML file - shown is just a snippet of the total XML file.
    <employee>
    <employee_id>103</employee_id>
    <first_name>Alexander</first_name>
    <last_name>Hunold</last_name>
    <salary>9000</salary>
    </employee>
    Have built the following template in WORD 2003
    <?for-each:Employee?>
    first_name
    salary
    <?end for-each?>
    When preview in rtf only thing I am getting is an error window that pops up and simply displays the word Error with NO error message whatsoever!
    Please let me know what is going on and how to use this 'tool'
    Thanks - Casey

    Gentlemen - the problem has been found and resolved. Seems like the XML Data Source cannot contain a reference to a validating DTD. Once the following reference was removed AND I used employee instead of Employee in the template all worked.
    <!DOCTYPE employees SYSTEM "employees.dtd">
    I assume this is correct - not being able to contain a DTD reference? I will also, tomorrow (read that as probably Monday) be trying the same thing using XML Schema vaildation.
    THANKS for the help - Casey

  • Getting Error message when execute Netezza Stored Procedure calling in ODI

    Hi,
    I need help to resolve this issue,
    I'm trying to execute a Netezza stored procedure passing three parameters and It getting error message .
    code:import java.sql as sql
    import java.lang as lang
    import java.sql.Types as types
    MyCon = snpRef.getJDBCConnection("SRC")
    def CALL_NZ_SP():
         try: p_log_id = 22
    p_step_number = 2
              p_drive_id= 3455
    myStmt = MyCon.prepareStatement("CALL SP_NAME(?,?,?)");
              myStmt.setInt(1, p_log_id);
              myStmt.setInt(2, p_step_number);
              myStmt.setInt(3, p_drive_id);
              resultSet=myStmt.executeQuery();
              resultSet.next();
              sp_return=resultSet.getInt(1);
              if sp_return !=0:
              raise 'fail';
         finally:
              pass
    Please let me know is this the right code or need any code updatation.
    I appreciate ur help in this regard
    Thanks
    brk

    Hi Gowsiya,
    Maybe the WCF forum would be better for this issue, you know that this forum is to discuss the VS IDE.
    WCF forum link:
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=wcf
    Thanks for your understanding.
    Best Regards,
    Jack
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Get error message when trying to sync through Blackberry Device Manager

    During the synchronization process, I get an error message:
    Error encountered. Error code - 0x80040fb3. Check documentation.
    This is during the Address Book synchronization.
    Help...I have no contacts and only a portion of my notes are syncing to my phone.

    The first 48 copy over as "First System" (Device)
    The log says "unable to write application data record. Translation cancelled."
    The rest of my 319 contacts are in the "Second System" (Outlook)

  • I received this error message when attempting to open my iTunes:  apple application support not found

    I'm not sure if my iTunes won't open because my apple software might have been deleted from my computer during a clean out.  How do I reestablish my apple software without losing all my iTunes music?  Apple's error message is telling me that I have to uninstall iTunes and then re install it, but I'm pretty sure I'll lose everything if I do this.  Suggestions?????

    Hello RunnerGirl98,
    If you reinstall iTunes using this article, your songs will not be deleted. The Media in iTunes is stored in the iTunes folder, which is normally found in your Music folder and is not attached, or part of the iTunes application.
    It will be either one of these 2 articles depending on the OS version you have installed:
    Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP
    http://support.apple.com/kb/ht1925
    or
    Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7
    http://support.apple.com/kb/ht1923
    I would also verify where your iTunes library is stored using this information:
    Where are my iTunes files located?
    http://support.apple.com/kb/ht1391
    Regards,
    Sterling

  • Unusual error message when running any report on R12 (fresh installation)

    Hi,
    I managed to install R12 on W2k3 finally and got several problems since. Now I am getting below message in log file, every time I run any report. It seems it works for other other concurrent programs (tried Workflow Definitions Loader). Below log is for the report run in AP module, but I also tried others and they do not work.
    Payables: Version : 12.0.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    APXBABAL module: Bank Account Listing
    Current system time is 23-JUL-2011 19:57:52
    +-----------------------------
    | Starting concurrent program execution...
    +-----------------------------
    Arguments
    P_ORDER_BY_PAR='Bank,Branch,Account Name'
    P_BANK_ACCOUNT_PAR='Both'
    P_EFFECTIVE_DATE='2011/07/23 00:00:00'
    P_SET_OF_BOOKS_ID='125'
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.WE8MSWIN1252
    LOG :
    Report: j:\oracle\VIS\apps\apps_st\appl\ap\12.0.0\reports\US\APXBABAL.rdf
    Logged onto server:
    Username:
    Program exited with status 1
    Cause: The program terminated, returning status code 1.
    Action: Check your installation manual for the meaning of this code on this operating system.
    Concurrent Manager encountered an error while running Oracle*Report for your concurrent request 5812766.
    Review your concurrent request log and/or report output file for more detailed information.
    Executing request completion options...
    Finished executing request completion options.
    Concurrent request completed
    Current system time is 23-JUL-2011 19:57:55
    Any idea what is wrong? Any additional steps after installing? Some service need to run?
    Regards
    Piotr

    Any idea what is wrong? Any additional steps after installing? Some service need to run?Can you reproduce the issue with "Active Users" or "Active Responsibilities" concurrent programs?
    Have you defined a dummy printer at the OS level? If not, please do so and check then (bounce the CM before submitting the request again).
    Thanks,
    Hussein

  • Error message when scheduling a report

    Hello,
    We have Fabric Manager 4.2(7b)
    When we generate a schedule from a created report we get the following error:
    What went wrong here?
    Rgds,
    Ivy

    re-install with version 5 solved the problem

  • ERROR MESSAGE WHEN  RUNNING THE REPORT

    Hi Team
    REP-0118: Unable to create a tempory file i am getting error when i am runnig the report ,
    It is not problem in my system, i check in other system also same problem is comming
    What to do?
    Thanks

    Hello,
    CHeck the value of REPORTS_TMP.
    Else, you can test with rwrun60 / rwrun and use tools like :
    Windows : filemon
    UNIX : truss / strace
    To get more info about this error
    Regards

Maybe you are looking for

  • Mountain Lion 10.8.2. - such a dissappointment

    When I bought a mid-2010 21,5" iMac in March 2011, I thought all problems with computers are past. So they were, I had no problems with pre-installet Snow Leopard, which I ketp up-to date continuously. All updates were installed, and I never had any

  • Upgrade windows - mac

    I have a Windows PS 5.5 extended version. Now I've got a MacBook an would like to do an Upgrade to the Mac PS 6 extended version. Is this possible? How? Thanks!

  • Doc. NO. is not unique

    HI Guys, I need an assistant. Due to No. range is not unique, my clearing having problem because the run date,ID and amount is different from the run date , ID and amount but the Doc. No. is the same. Can't amend the Doc. No. due to there are posted

  • Audio Quality muffled in Apple TV

    When I play music that is from my iTunes Match via the Apple TV. The music is mufled and distorted. Is this a hardware problem or leads? Everything s plugged in as normal.

  • Sending .arb files to function generator

    Hi  i am  very  fresh to labview  programming.  I have  created some  waveforms  using  HP BenchLink software(and saved in .arb file  format).  Can i send  these  wave forms  to  a  function generater  through Labview  program . if  possible   how  c