Report from Dataset won't display on Production Machine

I have a report that was developed from a dataset. It displays perfectly on my development machine, but produces a 'Database Login Error' , Error: Object reference not set to an instance of an object. when I try to access it from my production server.
I am using Crystal Reports 11.5
My development machine is running MS Windows XP
My Production server is running MS Windows Server 2003
All of my other reports run fine.
Thanks!

Hello Chuck and David. Just an FYI. I created a blog on what in my experience is the best way to troubleshoot issues with datasets. The blog is here;
/people/ludek.uher/blog/2009/03/02/troubleshooting-issues-with-vs-net-datasets-and-crystal-reports
Maybe it will help in the future.
Have a great weekend,
Ludek

Similar Messages

  • Image from database won't display in page region

    I’m having difficulty getting an image stored in the database to display in an HTMLDB page region. I’ve consulted the tutorial in Sergio’s Blog and looked for relevant threads in this forum but am still having problems. Any insights into where I’m going wrong would be very helpful.
    I’m using HTML DB 1.5.1.00.12 and database 10.1.0.2.0 on an x86 machine running Win 2k SP4. My browser is IE6.
    First, here’s the procedure I wrote to display the picture. Although the variable names have been changed this is substantially the same as the procedure in the tutorial:
    CREATE OR REPLACE PROCEDURE download_pic(p_personid in number) as
    v_mimetype VARCHAR2(255);
    v_length NUMBER;
    v_filename VARCHAR2(255);
    v_picture BLOB;
    BEGIN
    SELECT mimetype, picture, SUBSTR(filename, INSTR(filename, '/') +1), dbms_lob.getlength(picture) INTO v_mimetype, v_picture, v_filename, v_length FROM TBLPICTURE WHERE personid = p_personid;
    owa_util.mime_header(v_mimetype, FALSE);
    htp.p('Content-length: ' || v_length);
    htp.p('Content-Disposition: filename="' || v_filename || '"');
    owa_util.http_header_close;
    wpg_docload.download_file(v_picture);
    end download_pic;
    Enterprise Manager tells me that the procedure is valid, and I made sure to grant execute to public.
    Here’s the source for my PL/SQL page region:
    DECLARE
    v_personid NUMBER;
    BEGIN
    SELECT PERSONID INTO v_personid FROM TBLPICTURE WHERE PERSONID = :P5_PERSONID;
    HTP.P('<IMG SRC=”#OWNER#.download_pic?p_personid=’ || v_personid || '”>’);
    EXCEPTION WHEN no_data_found THEN
    HTP.P('No picture in system');
    END;
    When I run the page my region displays properly but I get the red X where my picture should be. A review of the HTTP server’s error log tells me that the server thinks my procedure (HTMLDB.DOWNLOAD_PIC) doesn’t exist. If I create a second PL/SQL page region and set the region source to just the display_pic procedure by itself, using a static number as the p_personid parameter, the picture displays in my browser, but as the only object on the page. Typing the URL http://localhost:7777/pls/htmldb/htmldb.download_pic?p_personid=1 directly into my browser also gives me the “procedure doesn’t exist” error. So I believe my procedure works correctly but somehow my URL in the img tag is incorrect.
    Here’s my marvel.conf file just in case it helps solve the problem:
    Alias /i/ "D:\oracle\product\10.1.0\CompanionCD/marvel/images/"
    <Location /pls/htmldb>
    SetHandler pls_handler
    Order deny,allow
    Allow from all
    AllowOverride None
    PlsqlDatabaseUsername HTMLDB_PUBLIC_USER
    PlsqlDatabasePassword @BTV4hSLn+NKXXGs045hwqYeJ+u2gWjROPQ==
    PlsqlDatabaseConnectString BE4013882062404:1521:Robert ServiceNameFormat
    PlsqlDefaultPage htmldb
    PlsqlDocumentTablename wwv_flow_file_objects$
    PlsqlDocumentPath docs
    PlsqlDocumentProcedure wwv_flow_file_manager.process_download
    PlsqlAuthenticationMode Basic
    PlsqlNLSLanguage AMERICAN_AMERICA.WE8MSWIN1252
    Again, any assistance that anyone can provide would be very helpful. Thanks!

    Robert,
    please describe your task correctly:
    You want to create a link (in report) with download image capability, or you need to SHOW image in report? This is a bit difference tasks.
    I solved this tasks, you can do both capability in one report. It easy.
    1. wpg_docload procedure can be used only for download image/BLOB, not show it.
    2. For both download/show BLOB you need dual link with two different procedures. One with wpg_docload call for download, another for show with htp.prn (not htp.p!*) call for show. Then you can create call both procedures from your SQL repors select.
    3. Viola, all works perfectly.
    *Note: htp.p inserts newline after every block of BLOB, so JPEG with size> 32K will be incorrectly shown. htp.prn makes uninterrupted output without newline insert.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Won't Display on Windows Machines

    Created one page and uploaded to a Go Daddy account (www.kennyjacksonvideo.com). Looks fine on Macs. However, everyone who pulls it up on Windows machines using IE says it's blank. No pictures or text, nothing but the name of my one page at the top, "Home" with a white line through the text. I've taken all spaces out of page names/files and have stuck to basic fonts, Arial. If I didn't upload correctly then it wouldn't display on a Mac either, right? Any thoughts?
    G5 Dual 2.0   Mac OS X (10.4.7)  

    Hi there - I checked your site on my PC and it does not display. I've found this on a number iWeb created site, so you are not alone.
    However, I have found iWeb created sites that display well on PC's, they are http://leapfrogenterprise.com and http://donandkasha.com - if you view the 'source', notice they used frames to display their site... Best wishes on your project, Rick
    iMac G5 iSight 20" - 30G iPOD - HP Pav 15" WS and Toshiba Sat 17" WS   Mac OS X (10.4.7)   Canon 20D & A620

  • Connect Window Appears While Running Report From Forms 6i

    Hi.
    I have a problem ie. Using Oracle Server 8.0.5 In the parameter file when I use RESOURCE_LIMIT=TRUE Then
    Every time When report runs from Forms 6 It displays conection Window. But When RESOURCE_LIMIT=FALSE It does not appears.
    How to Control this while Using RESOURCE_LIMIT=TRUE
    Thans In advance.
    Shahzad

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by the oracle reports team:
    hello,
    there are no known issues with reports and this setting. did you check your database ? maybe there is a problem on the database side or you have defined limits that would cause call to report to initiate a new session.
    i would suggest you open a TAR with oracle support services in this matter.
    regards,
    the oracle reports team<HR></BLOCKQUOTE>
    Though I'm not aware that I use this setting, I also have a similar problem with Reports6.0. Randomly, while running a report from a Form using the RUN PRODUCT built-in, I see the database logon Form! Would looding my connection while the report was running cause this same thing?

  • Error when trying to run web report from BEx analyzer

    Hi Gurus,
    I am getting this error "STOP: System error in program SAPLRRS2 and form SELOPT_ASSIGN-01", when I am trying to run the report from the 4th button "Display report on Web" on BEx Analyzer. Can anybody tell me what this and how we can resolve it.
    Thanks and I will assign points.

    I coudn't properly understand solution provided herein:
    "Solution
    Note that you must generate the query again after you have implemented the correction (Transaction RSRT1 > Generate report).
    SAP NetWeaver 2004s BI
               Import Support Package 07 for SAP NetWeaver 2004s BI (BI Patch 07 or SAPKW70007) into your BI system. The Support Package is available when Note 0872279 "SAPBINews BI 7.0 Support Package 07", which describes this Support Package in more detail, is released for customers.
    In urgent cases, you can use the correction instructions.
    To provide advance information, the note mentioned above may be available before the Support Package is released. In this case, the short text of the note still contains the words "Preliminary version"."

  • How to migrate reports from Development QA Production environment

    Hello,
    we have 3 Oracle Discoverer 10.1.2.3 environments and I would like to know what is the correct way to migrate reports from DEV to QA and to PROD.
    I'm researching about this by a couple of days and didn't find anything handy.
    The most likely way that I found was to export the entire EUL from one environment to another with the eulapi with a command line like that:
    exporting:
    eulapi -connect DEVUSER/pass@orcl -eul DEVUSER -export exp_all.eex -all
    importing using [ -import_rename_mode refresh ]:
    eulapi -connect QA_USER/pass@orcl -eul QA_USER -import exp_all.eex -identifier -import_rename_mode refresh -log imp.log
    That would work.
    However if the developer delete some object from the DEV environment and then import in the QA environment the deleted object won't be deleted from the QA environment and after some time the QA and PROD environment would be a mess.
    Another way that I figured out was to drop the eul from the PROD environment and then import all over. That would solve the problem but It has a lot of risks.
    Thanks in Advance,
    Jonas Zanon

    Hi,
    I think the best approach is to export the EUL components (e.g. business areas, folders, hierarchies, workbooks etc) separately from your development environment and hold these in a change management system. You can then import the components into test and prod and know which version of each component you have.
    Often when you make a change you will have to export/import several components. For example, if you add a folder you will need to export the folder, any business areas that hold the folder and if the folder is joined to any detail folders then these as well.
    We don't have scripts to delete components from production. Very rarely do you need to delete anything from production and generally it is not a good idea because reports will stop working because the references in the reports are missing.
    Rod West

  • Display reports from BW using WAD on blackberry

    Hi All,
    I have to display reports from BW using WAD on blackberry
    can any one please guide me how to do it?
    awaiting Reply
    Thanks & Regards
    Prasad

    you have to integrate SAP Mobile infrastrcture with BW system to achive this.

  • Error running reports from Crystal Server XI R2 with datasets

    Hi, sorry if my english is not good. I'm from Spain.
    I have a problem. I'm programming with Visual Basic .NET 2008.
    I'm using Crystal Reports Server and programming under Visual Basic to take reports from crystal Server, changing the tables from the report to datasets and scheduling this report.
    Crystal server change connections to CrystalReports.Dataset.
    Preview reports from server sends me an error "DataBase connector unknown"
    If I run this report (with datasets) into my VBNET application (into a  CrystalDecisions.Windows.Forms.CrystalReportViewer control), IT WORKS!!!
    I need help because I need to schedule these reports (to send them by email, export to PDF formats, ...)

    Reporting off of a dataset is reporting off of a disconnected datasource.  The reason your application works is beacuse you most likely populating a dataset in your application and passing it to the report at the same time.  When scheduling, there is no interaction with the report so unless the report is using an xml file on disk as its datasource, how can it retrieve data?
    To get around this, you can build a dll (.net data provider) that returns either a dataset or datatable and point your report to this dll.  this way, when the report is executed, it loads the dll which fetches the data for you.
    - so the first step is to compile a dll that returns a dataset or datatable.
    - to design your report off of this dll open the database expert and create a new ADO.NET connection.
    - in the File Path area, click the ellipsis ("...") button to browse to your dll and make sure the selected File Type is ".Net DataSet Provider".
    - once the dll is selected, you can choose the dataset/table returned by the dll.
    If your method in the dll is parameterized, it will add a parameter to the report (similar to stored procedure parameters.
    note: the location of your dll must be in the same path on the CR Server as it was when you designed your report in order for it to be loaded correctly.  I usually put the dll in a folder that I know will exist on both machines.
    Dan

  • ITunes won't display current voice memos from my iPhone 4S. How can I tranfer this data without loosing it?, iTunes won't display current voice memos from my iPhone 4S. How can I tranfer this data without loosing it?

    Please help! My iTunes won't display my voice memos from iPhone 4S when trying to sync data. Files are to large for emailing. I want to back up the files on to my computer.

    JustinV72 wrote:
    How do I get the audiobook onto my iphone without erasing anything?
    You transfer the purchases to the computer you use to sync the iPhone.  You can use a thumb drive or an external HD, etc.  Read this: iTunes for Mac - How to copy purchases between computers:  http://support.apple.com/kb/HT1373

  • Report missing some data from dataset

    Hi
    I populate my report using a dataset and most of the time the report generation is successful.
    but after a while (3-5 reports) I start getting missing data in the report. Either the png blobs do not get printed or some other string fields. Usually the same strings are missing.
    If I continue generating reports after that I get "report could not be submitted for background processing" error or since I use some fields for formatting I get errors corresponding to those formulas where I try to use the missing fields.
    I have checked the dataset before SetDataSource and it is complete, images and all.
    Is there some way to restart the embedded crystal reports thread/process programmatically from c#? if the problem is because of memory fragmentation, this might solve the problem.
    I use crystal reports basic 2008 for visual studio 2008.
    Kind regards
    //Gunnar

    In a memory intensive environment like this, it is possible that we will run into these issues. The thing is - as I understand these tings, Microsoft does not let a 3rd party just go out and use the dataset. E.g.; the Crystal Reports engine is forced to make a copy of the dataset and use that. So, now you've chewed up more memory again. It would be interesting to do four things;
    1) monitor the memory and see if there is a particular value at which it is more likely to get the issue
    2) take out the report and dataset into another sample app that is not using these x-rays and see if you duplicate the issue there
    3) see if CR 2008 (12.x) handles the memory better. As these versions go, there are always improvements. I am not aware of a particular "thing" done to the report engine or database engine in this respect, but it may be worth trying. An eval of CR 2008 can be downloaded from here:
    http://www.sap.com/solutions/sapbusinessobjects/sme/freetrials/index.epx
    Once you have installed the above, check the version (Help | About). If the version is not 12.3.0.601, download SP 3 from here:
    https://smpdl.sap-ag.de/~sapidp/012002523100007123572010E/cr2008_sp3.exe
    4) rather than using datasets, would it be possible to write the data into some database temp table and consume the data from there?
    Ludek

  • Crystal Report not displaying in production server

    I am using crystal report with ASP.Net web application which is working fine on client machine, client machine configuration is: •Windows 7 64bit •Visual studio 2012 •.Net framework 4.5 •SAP Crystal Reports, version 13.0.2000.0 I need to deploy it on Windows Server 2008 machine; however, when I deploy web application on this machine Crystal Report opens when do not display data. Kindly help to get around with this issue.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 Thank you in advance

    Please see if the resources that come up using the search string 'crystal blank empty net' will help. Search box is in the top right corner.
    Also see:
    http://scn.sap.com/thread/3531678
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Displaying xml publisher report from adf page.

    I am using jdev 10.1.3.3
    I have an requirment of displaying an xml publisher report on click of command button.
    any suggestion.how this can be achived.
    according to my understanding.
    if we create a folder in our web server which oc4j in our case.and we transfer the xml report through FTP in that folder.can we able to pick the report from that folder.
    can we display or call that report.please let me know??
    Is that possible.????????????
    any help would be helpfull

    Really appreciate your response. Can you pls give little more details.
    1] Are there any standard API's which I can use to submit XML publisher report from the JSP pages
    2]Is there any sample code snippet for any of the options that I can refer to..or pls let me know the API's, I will check on them
    Appreciate any help

  • CG02 Report from Template error when starting the display application

    System info: SAP GUI 720 (patch 10007878), ECC 6.0, SAP_APPL/EA-APPL 605, WWI 2.7 (patch 20000084)
    Hi, folks.
    I was able to execute CG02 'Report from Template' function. My local MS Word 2003 would open successfully to display the report as expected. Suddenly, I couldn't do that anymore. I'm now getting msg "An error occurred when starting the display application" (C$772). And I didn't change anything.
    Any clue to what has happened or why it is happening? In my Word, I have 'C:\Program Files\SAP\FrontEnd\SAPgui\wwi' set as the file location for User templates. What else should I check?
    Thanks in advance.

    Hi, Caroline.
    Thanks for pointing me (back) to it! (I've encountered a similar issue with the same param back in 2010...)
    I'm positive that the problem started after I tried to run the transaction code (of my custom report program that does the CG02 'Report from Template' function) from the web gui ('You Can Also' menu function). Somehow, the standard SAP fms within It changed the param ESWWI_INST value from 'EXISTFRONT' to 'WWISERVER'. So when I ran CG02 and the WWI server is not available yet, I received the error msg.

  • Cannot display the Crystal Report from BW..very Urgent

    Hello Friends,
    We are executing the Crystal report XI report from BW 3.50 but cannot displaying andgiving the error messgae as follows....
    <b>Service cannot be Reached</b>
    <b>What has happened?
    URL http://sapprodbw.company.com:8112/sap/bw/sap/bw/ce_url call was terminated because the corresponding service is not available.
    Note
    The termination occurred in system I12 with error code 404 and for the reason Not found.
    The selected virtual host was 0 .
    What can I do?
    Please select a valid URL.
    If you do not yet have a user ID, contact your system administrator.
    ErrorCode:ICF-NF-http-c:000-u:SAPSYS-l:E-i:sapprodbw_I12_12-v:0-s:404-r:Notfound
    HTTP 404 - Not found
    Your SAP Internet Communication Framework Team</b>
    I'm getting the above error could plz help me .. its very urgent task for us..
    Thanks in advance for your valuable time...
    Sreedhar G.

    Hi Dinesh,
    I started all the services and i checked the Test service of ICF its giving the same above  error and service cannot be rezched...BASIS is also workin on the same issue but getting ...
    Any help...
    Message was edited by: sreedhar Gunda

  • Steps to configure BPM report from Solman 7.00 for productive system ECC6.0

    Hi all,
    Please given me the steps to configure Buisness process Monitoring reports from Solman 7.0 for productive system( ECC6.0, windows & database oracle 10.2),
    I wanted to create the Reports of  monitoring the buisness.
    Regards,
    Akash Basis consultant.

    Thanks for replying Volker von Gloeden,
    This thread is my first one in SDN & I am very glad that someone has given the answer ,
    I will take a look for solution you have provided & will inform you.
    Thanks again.

Maybe you are looking for

  • IPod not recognised/working/turning on etc;

    I have a brand new 2GB iPod shuffle, and connected it to my laptop (Windows XP) following the quick start manual with no problems. However after a couple of minutes the iPod disappeared from the (latest) iTunes menu, at first I thought it had gone in

  • Message type is not populating in the Inbound idoc control record

    Hi, I have created an Inbound Idoc function module and have done the necessary Idoc settings. But, while testing in WE19, I observed that control record is not getting populated with message type and it is dumping. The settings which I have done in W

  • How can I delete multiple of N rows from a 2D array

    Hi, Let's say I have a 2D array with 20 rows and   10 columns. How can I  - for example- remove multiple of 5 rows programmatically ( rows 0,5,10 and 15) Thanks

  • Rounding off PR quantity in Po

    hi to all can any one tell how the rounding of quantity field takes place while converting a purcahse requisition to purcahse order it is through a badi or  user exit please provide me a badi or userexit where the rounding takes place. thanks & regar

  • Java.lang.process.execute()

    Java.lang.process.execute() is throwing an exception with string �Cannot allocate memory� ... what is the cause of this exception and give me the solution plz help Nilesh