Still getting "The report filename was empty" error

I tried re-opening this earlier discussion...
"The report filename was empty" rears its ugly head again
... after this error came back; we moved our data source and I had to switch from using the viewer SDK to the engine SDK. Since I haven't seen any replies, I thought I should try creating a new discussion thread. It seems that my report which has parameters will work with the engine/ReportDocument code, but the one without parameters produces the above error. The sample code is in the other thread so I won't re-copy it here unless advised to do so. I really need to get this resolved so any guidance is greatly appreciated.
- Robert -

In the previous thread I attempted to provide some sample code I used for my test. Here's the meat of it, which gets called during the Page_Load event:
        private void ConfigureCrystalWithDbOverride(string ReportFile)
            ConnectionInfo crConn = CreateConnectionInfo();
            ReportDocument rptDoc = new ReportDocument();
            rptDoc.Load(Server.MapPath(ReportFile));
            Tables crTables = rptDoc.Database.Tables;
            foreach (CrystalDecisions.CrystalReports.Engine.Table tbl in crTables)
                tbl.LogOnInfo.ConnectionInfo = crConn;
                tbl.ApplyLogOnInfo(tbl.LogOnInfo);
            // If the selected report has parameters, clear them out first to ensure the viewer prompts each
            // time for user input.
            if (this.crviewer1.ParameterFieldInfo.Count > 0)
                this.crviewer1.ParameterFieldInfo.Clear();
            // Get database logon info from web.config
            Session["DynamicReport"] = rptDoc;   // Save to Session object which will be needed during subsequent postbacks
            DisplayReportInViewer(rptDoc);
        private ConnectionInfo CreateConnectionInfo()
            ConnectionInfo crInfo = new ConnectionInfo();
            string conn = ConfigurationManager.ConnectionStrings["MAS_ConnectionString"].ConnectionString;
            SqlConnection sqlConn = new SqlConnection(conn);
            crInfo.ServerName = sqlConn.DataSource;
            crInfo.DatabaseName = sqlConn.Database;
            crInfo.IntegratedSecurity = true;
            return crInfo;
        private void DisplayReportInViewer(ReportDocument rptDoc)
            this.crviewer1.ReportSource = rptDoc;
            this.crviewer1.RefreshReport();
I should probably point out one other change from the original environment. Originally we were connecting with SQL authentication and now we're using integrated security. Not sure whether that's relevant to this particular issue, but wanted to make sure it was known.

Similar Messages

  • Why am I getting "The Report Filename Is Empty - Using CR13 vs2010 2003sqls

    I am enhancing a vb.net app that was originally written with vs2010 vb.net, crystal reports 10 and telerik.
    It has been running for a year.
    I have made enhancements using vs2010sp1 vb.net,  cr 13,  telerik framework updated.
    The server is a 2003 server.
    The reports are  loaded into the app using vb code.
    My version creates a message the filename is empty on initial loading of the report
    which the users will find annoying as they have to enter the report request.
    This message has to be internal because I not coded for this message
    I don't get this message when testing at my workstation.  It happens when I load the
    app to the server.
    Any ideas or solutions appreciated.
    Under the gun.
    Thanks in advance
    Isaac

    Hi,
    "The report filename was empty." is not a Crystal Reports error.
    Specify what the application exactly does i.e. view report, print, export report etc.
    Take a look at below thread.
    [Preview in web using Crystal Report Viewer Message:|Preview in web using Crystal Report Viewer Message:]
    Recheck the flow of the application if everything is in place.
    Refer to the developer guide :[http://help.sap.com/businessobject/product_guides/sapCRVS2010/en/crnet_dg_2010_en.zip|http://help.sap.com/businessobject/product_guides/sapCRVS2010/en/crnet_dg_2010_en.zip]
    Apply [SP2 on CR for VS 2010|http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_13_0_2.exe]
    Just as a test try a sample application without the telerik framework, see if it reproduces the issue.
    Hope this helps,
    Bhushan.
    Edited by: Bhushan Hyalij on Dec 9, 2011 8:47 PM

  • When I attempt to open a PDF file I saved from a website, I get the message "There was an error opening this document. The file is damaged and could not be repaired." Is there any way to correct this problem?

    When I attempt to open a PDF file I saved from a website using Safari, I get the message "There was an error opening this document. The file is damaged and could not be repaired." When I save the same PDF file using FireFox it opens up immediately. Is there any way to correct this problem with Safari?

    Back up all data.
    Triple-click the line of text below to select it, the copy the selected text to the Clipboard (command-C):
    /Library/Internet Plug-ins
    In the Finder, select
    Go ▹ Go to Folder
    from the menu bar, or press the key combination shift-command-G. Paste into the text box that opens (command-V), then press return.
    From the folder that opens, remove any items that have the letters “PDF” in the name. You may be prompted for your login password. Then quit and relaunch Safari, and test.
    The "Silverlight" web plugin distributed by Microsoft can also interfere with PDF display in Safari, so you may need to remove it as well, if it's present.
    If you still have the issue, repeat with this line:
    ~/Library/Internet Plug-ins
    If you don’t like the results of this procedure, restore the items from the backup you made before you started. Relaunch Safari again.

  • I get the message 'There was an error in the App Store. Please try again later. (100)', every time when try to buy a software, i changed my billing info but it didn't work, what can i do?

    I get the message 'There was an error in the App Store. Please try again later. (100)', every time when try to buy a software, i changed my billing info but it didn't work, what can i do?

    Try here >  Mac App Store: "An unknown error occurred (100)" when purchasing

  • Trying to open Aperture, but I get the message, "There was an error opening the database for the library "/Users/davewasson/Pictures/Aperture Library.aplibrary". - and it forces me to quit. What do I do?

    Trying to open Aperture, but I get the message, "There was an error opening the database for the library “/Users/davewasson/Pictures/Aperture Library.aplibrary”. - and it forces me to quit. What do I do?

    Dave-
    You can try opening the old (problem) library by launching Aperture into Library First Aid mode and choosing to Repair (first option) or Rebuild the library. Before doing this, make a backup copy of the old library, since both Repair or Rebuild will write changes to the library database.
    Repair is the faster and less drastic option, so try that first: After backing up your library, hold down both the Option and Command keys while dragging and dropping the problem library on the Aperture icon. The Photo Library First Aid window appears. Select Repair Database, then click Repair. After some time Aperture should open the library, if possible.
    If that fails launch Aperture back into Library First Aid and select Rebuild Database. Depending on the size of your library this operation could take some time, up to several hours for a very large library. When the main window appears you may have some extra Recovered folders/projects. This operation rebuilds the library from scratch and is usually successful at reviving problem libraries.

  • I am getting the message, "There was an error opening your printer. Printing functions will not be a

    I am getting the message, "There was an error opening your printer. Printing functions will not be available until you have selected a printer and reopened any documents."  There was no problem two days ago.  I have Photoshop CC.

    Platform, Mac or Win?  OS?  What printer?  Printer driver version?
    Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers: 
    http://forums.adobe.com/thread/419981?tstart=0
    Thanks!

  • When I try to open my aperture library, I get the message "There was an error opening the database for the library "/Users/alyssabouma/Pictures/Aperture Library.aplibrary". help!

    When I try to open my Aperture Library, I get this message: "There was an error opening the database for the library “/Users/alyssabouma/Pictures/Aperture Library.aplibrary”.
    I have already uninstalled and reinstalled the library....Help!!

    lyssalou,
    what is your Aperture version and what is your MacOS X version?
    What happened, before this problem occurred? Did you import images, install software, move the Aperture library?
    I have already uninstalled and reinstalled the library....Help!!
    What do you mean by reinstalling the library? Did you reinstall Aperture?
    You might start the trouble shooting with using the Aperture Library First Aid Tools - repairing the permissions, repairing the library, and rebuilding, if necessary, see:
    Aperture 3 User Manual: Repairing and Rebuilding Your Aperture Library
    Before rebuilding the library, make a backup of the Aperture Library, if you do not have one.
    Regards
    Léonie

  • I own Photoshop CS5 and i get messages that there are updates available, but when I go to download and install them i  get the message "There was an error downloading this update. Please quit and try again later. "  What can I do to resolve this?

    I own Photoshop CS4 and get messages that updates are  available, but when I go to install them I get the following message,
    "There was an error downloading this update, please try again later." I have tried numerous times with no success.  What am I **** wrong?

    Delete all content from following location on your machine and try updating again.
    Win 7 and higher: <os-drive>:\Users\AppData\Local\Adobe\AAMUpdater\1.0\
    Mac OS (User Library): ~/Library/Application Support/Adobe/AAMUpdater/1.0/
    Please refer:
    Access hidden user library files | Mac OS 10.7 and later
    Let me know if it works for you.
    Regards,
    Ashutosh

  • I get the message "There was an error saving your prefs, please try again." When adding to my Stock Watch

    I get the error message:
    "There was an error saving your prefs, please try again."
    When I add a stock symbol to my Stock Watch. The entry is temporarily added to my list and the message issued. However, on refresh the update has NOT been recorded. This is happening since I updated to Firefox 4.0.1

    Delete all content from following location on your machine and try updating again.
    Win 7 and higher: <os-drive>:\Users\AppData\Local\Adobe\AAMUpdater\1.0\
    Mac OS (User Library): ~/Library/Application Support/Adobe/AAMUpdater/1.0/
    Please refer:
    Access hidden user library files | Mac OS 10.7 and later
    Let me know if it works for you.
    Regards,
    Ashutosh

  • Report Filename Was Empty

    I've got a report that was running fine until I changed the datasource for a subreport, now it's not running. Any suggestions would be greatly appreciated as this has hosed up my production on a high volume application.

    Sounds like you are missing the database driver on the Server.
    If you export the report with saved data and then run that report and then hit the refresh button it should prompt for log on info, once for each subreport.
    If the Server name is grayed out so you can update it it means the client cannot be found.
    Also, if your app is compiled for AnyCPU then likely it's trying to run in 64 bit mode and you are missing the 64 bit client.
    Try searching, lots of posts on failed to log on...
    Don

  • I am still getting the Mavericks failed to download error

    Are Apple's servers still melting from downloads or is this something else? I have tried about a dozen times and the longest the download has been going on has been about 5 minutes.
    Any suggestions?

    Try this...
    Close All Open Apps...  Sign Out of your Account... Perform a Reset... Try again...
    Reset  ( No Data will be Lost )
    Press and hold the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears. Release the Buttons.
    http://support.apple.com/kb/ht1430
    If no joy and your ID is still diabled...
    Contact iTunes Customer Service
    Apple  Support  iTunes Store  Contact Us

  • Error in getting the report from web

    HI,
    HERE I AM TRYING TO CREATE A REPORT FROM FORMS WHICH I WANT TO WEBENABLED.
    I COULD GO TILL I CAN SEE MY FORM WHERE I GIVE AS THE PARAMETERS AS 'HS' OR 'SC' OR 'YS' THROUGH THE LIST OF VALUES OR THE USER CAN JUST ENTER IF THEY KNOW THE VALUE WHICH THEY ARE LOOKING FOR.
    HERE WHEN I CLICK ON THE BUTTON TO GET THE REPORT ITS GIVING AN ERROR CALLED FRM-41219 CANNOT FIND THE REPORT: INVALID ID.
    I DONT UNDERSTAND WHERE I AM DOING WRONG THE REPORT IS ON THE SERVER ALSO.
    HERE IS THE CODE IN WHEN-BUTTON-PRESSED TRIGGER TO GET THE REPORT.
    declare
    v_rep varchar2(100);
    repid report_object;
    v_param varchar2(1024);
    begin
    repid:=find_report_object('WAT');
    v_param:='paramform=no P_STATUS='||:NBT.STATUS||'';
    set_report_object_property(repid,report_other,v_param);
    set_report_object_property(repid,report_destype,file);
    set_report_object_property(repid,report_desname,'E:\ORANT\WEBTEMP\TEST'||:NBT.STATUS ||'.pdf');
    v_rep:=run_report_object(repid);
    web.show_document('http://PS/WEBTEMP/TEST'||:NBT.STATUS||'.pdf','_blank');
    end;
    HERE 'WAT' IS THE REPORT NAME AND P_STATUS IS THE PARAMETER I AM PASSING FROM THE REPORT,
    :NBT.STATUS IS THE PARAMETER WHERE I GIVE IN THE FORM SUCH AS 'CS' OR 'YS' ETC..
    I CAN SEE THE FORM BUT AFTER I GIVE THE PARAMETER AND CLICK ON THE BUTTON TO GET THE REPORT I AM GETTING THE ERROR.
    PLEASE DO HELP ME OUT.
    THANKS A LOT IN ADVANCE....

    Hello,
    In
    repid:=find_report_object('WAT');
    WAT should be the report object seen in the forms object navigator and not actully the report rdf name.
    This message FRM-41219 essentially means that the report cannot be found. Specifying the correct name of a report object found in the forms object navigator (not the
    actual name of the rdf file) usually resolves the problem.
    Please ensure to be on the latest patch of your version ( can get from oracle metalink site) of developer to consume any fixes in this area
    Thanks
    The Oracle Reports Team

  • HT5934 I can't get my ipad mini to update to ios7.0. It keeps giving the message: there was a error in the downloading of the iOS.7. What can I do?

    I keep getting the message: there was an error in downloading the iOS.7. What can I do?

    Try here >  Mac App Store: "An unknown error occurred (100)" when purchasing

  • I am trying to download a movie and get the message: "An unknown error occured (5002).  There was an error in the iTunes Store.  Please try again later."  Waited a day and still get the message.  Have downloaded movies before.

    I am trying to download a movie and get the message: "An unknown error occured (5002).  There was an error in the iTunes Store.  Please try again later."  Waited a day and still get the message.  Have downloaded movies before.

    Did you ever get an answer?

  • After an unsuccessful itunes update i now get an "msvcr80.dll file is missing on my computer message.  I tried reinstalling it for the microsoft site and it says it was successful but i still get the error message when i reboot.  Any suggestions?  Thanks

    After an unsuccessful Itunes update I started getting a "msvcr80.dll file is missing from your computer" message.  I downloaded and installed the Microsoft Visual C++ file and it said the reinstallation was successful but I still get the same error message and Itunes won"t install or run.  Any suggestions?  Thanks

    Hey colorado65,
    Follow the steps in this link to resolve the issue:
    iTunes 11.1.4 for Windows: Unable to install or open
    http://support.apple.com/kb/TS5376
    When you uninstall, the items you uninstall and the order in which you do so are particularly important:
    Use the Control Panel to uninstall iTunes and related software components in the following order and then restart your computer:
    iTunes
    Apple Software Update
    Apple Mobile Device Support
    Bonjour
    Apple Application Support (iTunes 9 or later)
    Important: Uninstalling these components in a different order, or only uninstalling some of these components may have unintended affects.
    Let us know if following that article and uninstalling those components in that order helped the situation.
    Welcome to Apple Support Communities!
    All the best,
    Delgadoh

Maybe you are looking for

  • Apostophe shown as ? in PDF

    Hi We are using BI Publisher 10.1.3.3 version to generate reports. When an apostophe used as a text in the layout e.g. 'Applicant's info:', when the report is run, it shows as 'Applicant?s info:' in PDF. In fact this problem applies to all the specia

  • Front Panel Views in Network Assistant are Incorrect

    Hi, I am having problems with the network assistant not showing the front panel view's correctly when connecting to our stack of 3850's. As can be seen in the attached image of 3 switches they show that identical ports are enabled on each one.  Switc

  • Instead of update trigger

    Hi I have a view, I like to create a update form for. Someone have a sample how to use a "instead of update trigger" with a form? I would like to have a report with a column link to the form, and the form use a "instead of update trigger" to update t

  • Satellite L650 (PSK1EA) New installation - how to?

    Hi, my hard drive in the L650 (PSK1EA) recently broke. I intend to purchase a new one and replace it only problem is that i never backed up my old one. i know i'm going to have to buy windows again but what other stuff do i need, where can i get it a

  • IPhone 3

    When trying to sync my iPhone I receive  error message that I do not have enough access priveleges. Is there a solution to this problem, please?