Exporting ReportDocument fills up memory, then throws "The system cannot find the file specified"

Hi,
When exporting a perfectly viable ReportDocument to pdf like this:
Dim ms As IO.MemoryStream = New System.IO.MemoryStream
ms = rpt.ExportToStream(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat)
(rpt being the ReportDocument), the process starts to fill up memory at a couple of megabytes per second rate, and eventually throws Exception:
"The system cannot find the path specified."
stacktrace:
   at CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.Export(ExportOptions pExportOptions, RequestContext pRequestContext)
   at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)
   at CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportToStream(ExportRequestContext reqContext)
   at CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToStream(ExportOptions options)
   at CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToStream(ExportFormatType formatType)
   at {the ExportToStream invocation in my own code}
The same thing happens when I invoke the regular Export() method with any DiskFileName.
My environment is VS 2012 (premium) and I'm using CRforVS_13_0_13 (32-bit version). The programming language is VB.NET.
A similar problem seems to be discussed here: CR2008 - "The system cannot find the path specified", but the difference is there's no errors in my formula's. The report gets displayed and printed out fine. It's just the exporting that does not work. Any ideas about how to fix this?
Thanks,
Stefan

See Don Williams response here:  http://scn.sap.com/thread/3713889
You cannot export using MemoryStream - you have to use IOStream.
-Dell

Similar Messages

  • When I select the file to export from pdf to word, thens click the Export button, nothing happens.

    When I select the file to export from pdf to word, thens click the Export button, nothing happens.

    Firefox 19 was just released.  You may want to consider upgrading, then trying again.
    Glad to hear IE worked though!
    -David

  • Illustrator CS5 Error - "Not enough memory to save the file"

    Hey guys,
    I'm experiencing difficulties in exporting website from .AI to .PSD using Illustrator CS5.1 under Windows7 Home Premium 64bit. The error message says "Not enough memory to save the file".     
    I can assure you that i've got enough memory for scratch disks and my computer is powerful enough to handle this operation. The funny thing is that i am able to export the very same .Ai file using Illustrator CS5.1 under Windows XP 32bit on different PC.
    I've tried to find a solution online, but it gave no satisfying results so far. So, i think the problem comes from the operating system, but i don't know how to fix it... any suggestions?
    Thanks, Steve.

    Sad to say I'm running into the same problem with a 40KB file.....
    (download the following file and use it)
    http://upload.wikimedia.org/wikipedia/commons/8/8c/2.4_GHz_Wi-Fi_channels_%28802.11b%2Cg_W LAN%29.svg
    File -> Open
    Modify the file slightly:
    doubleclick the image
    remove the channel 14 info  (the text block "14" & "2.484",  the T shaped path, the dotted half circle path)
    drag a square around the "Channel", "Center Frequency", "(GHz)" text blocks and hold left shift and press the left arrow until the selected items are tighter to the rest of the image
    select the bold base line, grab the right middle point to shrink the line (dragging from right to the left) until 'intersect' shows up, then release
    click the top left "Back One Level" arrow 2 times so that you are back to the top level (out of isolation mode)
    File -> Export -> Choose PSD
    Export Options (all default settings)
    Color Model RGB
    Medium (150ppi)
    Write Layers
      Preserve Text Editability
      Maximum Editability
    Antialias
    Click OK.....
    POOF! ERROR!
    "Not enough memory to save the file"
    note: saving as .ai file before exporting doesn't solve the problem
    My Environment:
    Adobe Illustrator 15.0.2
    Win7x64 SP1
    6GB free RAM (8GB installed)
    55GB Free HDD space (256GB total, it's a SSD)
    4GB pagefile
    Please try the test method provided for yourself and advise, thank you

  • FM to create a folder in local directory and then download the file...

    hi...
    can some one help me with a FM which will create the folder mentioned in the file path and then download the file.
    Ex : if file path is 'C:\Try\file.txt'.
    if the foler 'Try' is not available then it should be created and then the file should be downloaded in it.

    Hi
    Use the FM GUI_DOWNLOAD
    It will create the folder in PC if it not exist. Then Download the data .
      CONCATENATE p_path    " Directory path        
                  l_file                " File name
                  '.TXT'
            INTO  l_file_path.
      CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
          filename                = l_file_path
          filetype                = 'ASC'
        TABLES
          data_tab                = i_source[]
        EXCEPTIONS
          file_write_error        = 1
          no_batch                = 2
          gui_refuse_filetransfer = 3
          invalid_type            = 4
          no_authority            = 5
          unknown_error           = 6
          header_not_allowed      = 7
          separator_not_allowed   = 8
          filesize_not_allowed    = 9
          header_too_long         = 10
          dp_error_create         = 11
          dp_error_send           = 12
          dp_error_write          = 13
          unknown_dp_error        = 14
          access_denied           = 15
          dp_out_of_memory        = 16
          disk_full               = 17
          dp_timeout              = 18
          file_not_found          = 19
          dataprovider_exception  = 20
          control_flush_error     = 21
          OTHERS                  = 22.

  • Illustrator CS3 - "Not enough memory to place the file."  Help!!!???

    I have a new machine running XP Pro 64.  Intel i7 processor, 12 gb ram.
    I am trying to place a fairly small Photoshop image (with layers) into Illustrator CS3.  I have done this countless times with XP 32 bit os.
    But now, I cannot place even a small Photoshop image into Illustrator... I keep getting the error "Not enough memory to place the file."
    I tried the suggestion of 'right-clicking' the Illy launch icon and going to properties/compatibility and then selecting "Run this program in compatibility mode for..."  and then I check marked Windows XP.
    Someone else said this worked in Vista 64.....but it DID NOT work for XP 64.....dang it.
    Any suggestions???
    Thanks

    On Mon, Oct 26, 2009 at 04:37:08PM -0600, Todd-sta uttered:
    Well..... I just tried the same function on my 64 bit Leopard operating system on my MacBook Pro just for kicks.  Worked flawlessly!!
    So, why won't it work on XP 64 bit? Is this a case of 'the mac os is just better?"
    Talk about flame bait -- You trying to start the platform wars again? ;-D
    Can anyone tell me if they can place a Photoshop image from WINDOWS 7 64 bit OS into Illustrator without issue?  We're talking 'PLACE' .... not paste.
    Don't know about Windoze 7; but that operation works in Vista x64. XP x64 is
    quite flaky at times. It was never finished IMHO.
    Sure would like to know.  I'd upgrade if it made the difference.
    LOL
    end

  • I recently had some 8mm film transferred to DVD. I am trying to edit the film clips using Premier Elements 4.0.  Some of the film clips copy into the project but others don't. I tried copying the VOB filed onto my hard drive and then changing the file ext

    I recently had some 8mm film transferred to DVD. I am trying to edit the film clips using Premier Elements 4.0. so I can reburn the films on a single BluRay disc. Some of the film clips copy into the project but others don't. I tried copying the VOB filed onto my hard drive and then changing the file extensions on the VOB files to MPEG but this was no help. Some of the VOB files contain numerous film clips but my software does not appear to be able to recognize them as such. I need to know if replacing my old Premier Elements with the new Version 13 would solve this problem or not. Any advice would be greatly appreciated!
    Bob

    Bob
    What do you have now.....
    What computer operating system do you have?
    We can go into the finer points of source and your intentions, but for now it would appear that you are using SD 4:3 source media to get to a HD 16:9 result. Lots to discuss in this regard.
    What was given to you on the DVD disc? DVD-VIDEO 4:3 or something else?
    If DVD-VIDEO on DVD disc, you should expect to find on the disc a folder named VIDEO_TS. That is your target for your video files.
    If you were given a DVD-VIDEO on DVD disc, then all you want from it are the video files, specifically
    VTS_01_1.VOB, VTS_01_2.VOB, and so on through that series until possibly getting to
    VTS_02_1.VOB, and so on. How many files you have beyond the VTS_01_1.VOB file will depend on the size of the DVD-VIDEO.
    Does the above scenario apply to you?
    The alternative might be someone giving a DVD disc (data disc) which contains just the VTS files mentioned which were copied from
    the VIDEO_TS Folder. So, you do not get the whole VIDEO_TS Folder, just the essential video files. Does this scenario apply to you.
    I see no need to replace your Premiere Elements 4 with a later version unless you have a huge project and need a later version that will be a 64 bit application running specifically on Windows 7, 8, or 8.1 64 bit computer.
    Consider...Premiere Elements 4 and if you have DVD-VIDEO on DVD....
    1. Place the DVD disc in the burner tray
    2. Open Premiere Elements 4 and set the project preset for NTSC DV Standard (assuming you are working in a NTSC setup)
    3. Go to
    Get Media
    "DVD, Digital Camera, Mobile Phone, Hard Drive Camcorder, Card Reader"
    "Adobe Premiere Elements - Media Downloader" and its Advanced dialog.
    Set the Source in the latter dialog for the drive which has your DVD disc inserted in its tray
    You should see your VTS_01_1.VOB thumbnail in the "Adobe Premiere Elements - Media Downloader" Advanced dialog.
    With this VOB selected, click on Get Media to get the file from there into the project.
    Should work fine.
    Complications may be involved if the people who processed your footage gave you something other what is described above.
    Please review and consider, and then we can plan our project strategy accordingly.
    Thank you.
    ATR

  • I get the following error everytime I download something from the internet:-"/Users/vinaypunjabi/Downloads/Ontario Colleges Chart(2)(1).pdf could not be opened, because an unknown error occurred.  Try saving to disk first and then opening the file".

    I get the following error everytime I download something from the internet:-"/Users/vinaypunjabi/Downloads/Ontario Colleges Chart(2)(1).pdf could not be opened, because an unknown error occurred.  Try saving to disk first and then opening the file".
    Then it shows as downloading failed.But if I click on it twice ,it opens up .
    this has started happening since last week.Before this ,it never happened.
    Please suggest what has gone wrong somewhere and how can I rectify it.

    Please install the following add-on to see if it helps.
    https://addons.mozilla.org/en-US/firefox/addon/pdfjs/

  • I am receiving this error message when trying to export pictures: 'Unable to Export": An internal error has occured: Win32 API error 2 ( "The system cannot find the file specified.") when calling ShellExecuteExW from AgWorkspace.shellExecute.// I have a H

    I am receiving this error message when trying to export pictures: 'Unable to Export": An internal error has occured: Win32 API error 2 ( "The system cannot find the file specified.") when calling ShellExecuteExW from AgWorkspace.shellExecute.// I have a HP ENVY Phoenix, fully loaded, 1 1/2 years old.

    Nevermind I fixed it. Thank you.

  • Final Cut Crashed and then corrupted the file. So Final cut wouldn't open up. I tried reloading the backup, trashing the prefs file, systematically going through the 3 previous versions and opening them by themselves one by one to no avail.

    Final Cut Crashed and then corrupted the file. So Final cut wouldn't open up. I tried reloading the backup, trashing the prefs file, systematically going through the 3 previous versions and opening them by themselves one by one. I found Final Cut now loads but each of the backups and files in the previous 3 versions won't load. I've worked on the project for 3 weeks. Im suprised the backup files won't load either!?! I've only rendered 1 low res version. I am thinking I will have to rebuild the project in Final Cut 7. That is simply too risky to have all my back ups not load up!!

    I'm a little confused by this?
    Final cut now opens if launch older projects. But if I actually click on the project it crashes. Im not sure what you mean by events? I've moved them from the events folder.
    but when I open up and of the projects the FInal Cut opens but then wont load the project even with no events in the FInal Cut Events folder.

  • HT201269 I backed up my 3GS using iTunes. I then restored the file to my new 4GS. Then I synced the apps onto the 4GS. Then I downloaded 2 custom ringtones, and attempted to sync them onto the 4GS, but it says "This Library is already synced with another

    I backed up my 3GS using iTunes. I then restored the file to my new 4GS. Then I synced the apps onto the 4GS. Then I downloaded 2 custom ringtones, and attempted to sync them onto the 4GS, but it says "This Library is already synced with another phone, and if you try to sync, you will lose all of the information on the iPhone." I am a Windows user. This Sync process is VERY confusing.

    How can I possibly get these two new ringtones onto the iPhone without wiping out everything else on the phone? This Sync process is nuts.
    I have Backed Up the phone twice. Why would iTunes try to wipe out the phone?

  • How do I scan a photo to a file and then send the file as an attachment via email.

    How do I scan a photo to a file and then send the file as an attachment  via email.

    All of this depends largely on what printer /software you have, which Email client you use and to some extent which OS you are running.
    Most HP printers have HP Solution Center which is used to set up scanning,choosing where to save,etc. Once a file/photo is scanned and saved to the folder, open the folder.Select the file and at the top of the window should be the option to 'Email'.
    ******Clicking the Thumbs-Up button is a way to say -Thanks!.******
    **Click Accept as Solution on a Reply that solves your issue to help others**

  • I click a URL, General Failure, the system cannot find the file specified, then the site comes up.

    If there is a URL on a site to go to for more information. When I click to go there, a window comes up with: General Failure, (repeats the site address) and says - The system cannot find the file specified.
    Then the address I clicked on comes up after that window.

    I tried opening Firefox before clicking on links in e-mail. and it works without that General Failure popping up.
    Why should I need to open Firefox before my e-mail to stop a very annoying process? I never had this problem until I upgraded to Firefox 4.
    Boy how I wish I could go back to the old Firefox because it was so much easier to use. Sometimes progress is not good!!!
    I hope there is something that can be done to correct this problem.
    Thanks for your response.

  • Not enough memory to place the file

    hi when iam opening photoshop layered files at 300 dpi and having size 6x18 inches illustrator cs3 portable gives error message not enough memory to place the file and file is not opening ???

    There's no such thing as an "Illustrator CS3 portable" version. What you have is an illegal torrent download. Any issues you experience may be due to the illegal copying of the software.

  • "not enough memory to place the file" error message

    hello all,
    running windows 7, illustrator cs3 on a pc.
    trying to open or place psd files in illustrator and get the following message "not enough memory to place the file".
    I've reset illustrator prefs, disabled "enable desktop connection", check scratch discs, etc.
    Nothing seems to be addressing the problem, has anyone else run into this?

    There's no such thing as an "Illustrator CS3 portable" version. What you have is an illegal torrent download. Any issues you experience may be due to the illegal copying of the software.

  • I see message "Cannot open the file. Not enough memory to open the file"

    When I'm trying to open file from adobe.com on my tablet, I see massage " Cannot open the file. Not enough memory to open the file" . I've got 10 gb free memory , so I dont know, why...

    Which system are you running (is this information correct in your profile)?
    Are there complicating issues to this question such as you transferring libraries between computers?
    Have you upgraded iTunes recently?
    Troubleshooting iTunes installation on Mac OS X - http://support.apple.com/kb/HT2311  - read section on Opening iTunes for information about running multiple copies of iTunes.

Maybe you are looking for

  • Notifications not showing on iPad

    I have installed latest updates I have changed the app setting in the notification center The same app shows notifications on my iPhone Will not display on my iPad

  • Latest 12.1.1.4 itune updates has issues with syncing to iPhone 6 Plus

    I was one of those folks wary of upgrading to iTunes 12 at first but once I did I actually liked it. I especially liked the fact that my frequent syncing problems seemed to have gone away. Sadly, these problems came back with 12.1.1.4. For the life o

  • Little bit of help with the duplication process needed

    Hi I trying to duplicate a database from one server to a remote server. They are both running windows server 2003 (my first problem) , the primary server is running oracle 11gR1 and the (hopefully) receiving server is running 11gR2(is that going to b

  • Issues with leave application in MSS

    Hi Experts, I have a issue , actually changed teh portal content of MSS applications including remaining activities and leave request in MSS  Properties changed: Height Type: full_page from automatic Isolation Method : UAT from embedded I have observ

  • Spinning beach ball when update vault and other activities

    I tried to update my vault with some new pics, and it hangs in the same spot for hours. I repaired the permissions. Same issue. But when I go to repair the library, it spins and hangs again. Anyone have ideas what to try next?