2nd attempt pdf export:  I.O. error - in use by another process.

I am using vb.net 2008 with the bundled crystal reports.
I open a report in a CR viewer and have a button to export the rept to pdf and then email it. (using the DiskFileDestinationOptions() and rpt.exportoptions)    All works fine.  However, if user presses the button to do the email again (same rpt is still in viewer), I get the error:
system.IO.IO. exception.  The process cannot access the file (myfile.pdf ) because it is being used by another process.
I found a post that said to close the report and the DiskFileDestinationOptions after the export but that does not solve the problem.  I think it relates to the email with the pdf as an attachment. 
The only way to solve this so far is to exit the viewer and create the report again.
What can I do to leave the viewer open and email more than once.

As an FYI for anyone that may find this thread while searching for export to mapi. I am copying a link to a blog that has the code for export to mapi:
https://www.sdn.sap.com/irj/scn/weblogs?blog=/cs/junior/view/wlg/12157
Ludek

Similar Messages

  • Error occurs during reseed - the EDB file is being used by another process

    Greetings,
    We were notified today that one of our databases in an Exchange 2013 cluster is currently in a failed state. We have three servers - two at the primary site and one in the DR site. The database has a mounted and healthy copy on its preferred server, but
    the secondary copy is now failed with a pretty high CopyQueueLength.
    I've done plenty of reseeds with Exchange 2010, and I understand that Exchange 2013 will do an automatic reseed in the event of a failure. However the auto-reseed is generating the following message:
    Automatic Reseed Manager failed to execute repair workflow 'FailedSuspendedCopyAutoReseed' for database 'DB05'. Error: The Automatic Reseed Manager encountered an error: The automatic repair operation for database copy 'DB05\mb02' will not be run because
    one of the prerequisite checks failed. Error: There are no Exchange volumes mounted under root path 'C:\ExchangeVolumes', which are required for the Automatic Reseed component.
    WorkflowLaunchReason: The seeding operation failed. Error: An error occurred while performing the seed operation. Error: The process cannot access the file 'M:\DB05\DB05.EDB' because it is being used by another process.
    During the course of my investigation, I tried to rename the .edb file to .old and was told that the file is in use by Microsoft.exchange.store.worker.exe. There doesn't seem to be a way to kill this process, as every time I've tried I've been told that
    access is denied. I'm not even sure it's wise to kill the process anyway (I'm only trying to kill the one with the PID that matches the database).
    Attempting to manually reseed the database generates a similar error to the one above. I've failed all the databases over to the other server and restarted the Information Store service as well as the Host Controller service, but so far I can't seem to get
    this file unlocked. One article I found did mention making sure that Exchange Servers is listed and given Read access to the folder. I did manually set this but I still see no change. I also verified that Symantec Endpoint Protection is set to exclude .edb
    files, and the automatic Exchange exclusions are preventing it from scanning the Exchange install locations.
    I'm curious if anyone has any suggestions that I might have missed so far. This is confusing the daylights out of me and I'd like to be able to get this reseeded. I suspect that even a full server restart won't clear this up, so any help would be great.
    We're just starting to transition users over from Exchange 2007 to 2013, and I'd prefer to have a method of avoiding this in the future before we're in full production.

    Thanks for your response, Ed! I really appreciate you taking the time to do so.
    The ultimate fix for this was a reboot of the server and I was finally able to kick off a reseed. For the sake of thoroughness, here's the last two things we tried before rebooting.
    I did try stopping the Symantec Endpoint Protection service on the server, but the job still failed in the same way. I'd also been given the recommendation to try stopping the Information Store service and try a reseed like that. Still no love. I've been
    using ProcessExplorer, too, to try and isolate the lock, but didn't have much luck there, beyond what I already knew regarding the store.worker.exe locking the file.
    I don't much care for the notion that I needed to reboot the server to remove that lock, I was really hoping for something less intrusive. But at least we've got it working and can move on with our day!
    Again, thanks for your response, Ed!

  • While deleting the virtual machine .vhd folder -- error msg : the process cannot access the file beacuse it is being used by another process

    When i am trying to delete the Virtual Machine folder/directory i get the below error. Virtual machine is turned off
    V:\>rmdir ME-EXCAS01 /s
    ME-EXCAS01, Are you sure (Y/N)? y
    ME-EXCAS01\ME-EXCAS01\Virtual Machines\1B1FD14E-B3F0-4232-9F96-2A871E879CD6.xml
    - The process cannot access the file because it is being used by another process
    How to delete the whole folder ?
    Thanks

    Also, if your VM has snapshots and you delete it, you must wait for the snapshots to finish merging - the VHD files will be locked until then.
    Brian Ehlert
    http://ITProctology.blogspot.com
    Learn. Apply. Repeat.

  • [HTML]SignTool Error: The file is being used by another process.

    Hello,
    I receive this error from building a JavaScript app on a build server:
    SignTool Error: The file is being used by another process.
    This reproduced when building on local machine, and goes away after building again. However, our company uses gated builds so the first failure will stop an entire 2.1 hour build and I can't ship the product.
    The instruction to launch SignTool is located in external files so I can't disable it, run it twice, or run it in a while loop until succeeds, ignoring failures. I have to get it to work right the first time. I looked on MSDN, and there are other people
    who had this problem and never solved it.
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/5871d64c-e178-4f5c-85cd-a603fe56d6c7/signtask-signtool-error-the-file-is-being-used-by-another-process?forum=msbuild
    http://www.codeproject.com/Questions/275454/Can-anyone-help-me-with-Signtool-Setup-Deployment
    http://qualapps.blogspot.in/2006/12/code-signing.html
    The only clue I have is our solution having build configurations that aren't called "Debug" and "Release", which have been cloned from Debug/Release and have WinRT apps building. If the build script for WinRT depends on anything being
    called "Debug" and "Release" it wouldn't work correctly.
    In any case, there is no documentation for SignTool that mentions this error - how do I fix it?

    Hi TripleRectified,
    >> If the build script for WinRT depends on anything being called "Debug" and "Release" it wouldn't work correctly
    What's you version of Visual Studio, on my side, in the Visual Studio 2013 Update 4, I created a new configuration(Copy Settings from "Debug") to build a WINJS project, but I can't see the exception you mentioned.
    >>This reproduced when building on local machine, and goes away after building again
    Does it happen on all local machines? We need to exclude environment facts first, for example: Tool, OS etc.
    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.

  • How do I fix this error: DF024: Unable to preserve original file at ... Error 32 The process cannot access the file because it is being used by another process.(Seq 1352).  ?

    I am installing creative the cloud Illustrator desktop app on a machine with windows 7 64 bit running in a domain environment.  The download starts and takes about runs for a bout 10 minutes and then stops with the error: DF024: Unable to preserve original file at "C:\Program Files\Adobe\Adobe Illustrator CC 2014\Support Files\Contents\Windows\AdobeLinguistic.dll" Error 32 The process cannot access the file because it is being used by another process.(Seq 1352)
    I am logged in as a network administrator and there are no other apps except a web browser (Chrome) running.  There are no other users logged into the machine.
    How can I see what other process is using the needed file so that I can fix it?
    Thanks

    MelissaB34 it looks like you already are reviewing your installation log files but you can find more information at Troubleshoot install issues with log files | CC - http://helpx.adobe.com/creative-cloud/kb/troubleshoot-install-logs-cc.html.  From the error you have posted it appears that your current User account is either unable to update C:\Program Files\Adobe\Adobe Illustrator CC 2014\Support Files\Contents\Windows\AdobeLinguistic.dll or does not have sufficient file permissions to do so.  Since you mentioned you are on a domain please ensure that you are working with your I.T. department and have correct access to this directory.
    You may want to also consider logging in under a local administrator account to see if you face the same difficulties.  This would help you determine if you are facing a file corruption issue or file permission issue.

  • The device is in use by another process - error - cannot select Multi Output Device - Mac OSX 10.8.2

    Dear Adobe Users!
    Please help!
    I'm using Adobe Audition CS5.5 on a Mac - OSX 10.8.2 (latest version of Mountain Lion) and I'm trying to select a Multi-Output device.
    This was working FINE last few days - today, I get an error. I've tried to re-install Adobe Audition and that hasn't fixed the problem. When it first started up it said it couldn't find any audio devices at all.
    Please can you help? I'm getting a message saying the device is being used by another process - but it's not being used by anything else at all!
    Hope you are able to help! I use the multi output device option so I can record what I can hear. I spent two days trying to sort that out after it all-of-a-sudden didn't work last Thursday.
    Now just spent last two hours trying to get Adobe to recognise the Multi Output device - it's been working fine last few days!
    Many thanks if you're able to help!
    - Rory

    Durin,
    May have sussed it! It seems that Built-in output was the way to have it for Audition CS5.5 to record what I'm hearing! Yes, the multi-device needs to be used - but in another settings.
    Here's how I have each section configured and it now works!
    First of all, in Audition > Preferences > Audio Hardware:-
    Then, on the Mac's OS - System Preferences > Sounds (input settings)
    Then Output settings :-
    Then Midi Settings found in Finder > Applications > Utilities > Audio MIDI set up
    All now seems to be working! I'll let you know if anything further happens!
    I was certain I had the output device as Multi Device Output on Adobe before, perhaps it should've been set to Built-in Audio all along. Anyway, I re-installed my Mac from Time Machine, logged in as another user and it worked under that profile, then logged back in as me - and am using the settings in the pics above and all seems to be working!
    It's been a long week, perhaps I was just going around in circles and didn't actually test these particular settings yesterday in this order after all.
    Thanks again for your help! Sorry if I've caused any confusion!

  • PDF Export to Excel Error

    I cannot convert a pdf to Excel. I just went through the process of buying the required software. Can someone help?

    Hi ,
    Could you please elaborate more about the issue ?What exactly are you trying to perform and how are you trying to do the same?
    Are you using Adobe Reader or Adobe Acrobat to export PDF to excel?
    What software version are you using?
    Also ,could you please tell what is that error message and it would be wonderful if you could share the screenshot of the error message with us so that we can assist you accordingly .
    I would also like to know what OS do you work on ?
    Is it happening with all kinds of PDF you are trying to convert or any specific one?
    Please update me with above mentioned details so that we can assist you further .
    Regards
    Sukrit Dhingra

  • Error while using RSDRI_INFOPROV_READ : parallel processing error

    Hi
    I am also facing parallel processing error while using the function module RSDRI_INFOPROV_READ in transformation.
    when only one data package is there, the load happens without any issue.  But when multiple data packages are involved the load fails with an error "Exception in parallel processing".

    Hi Lijo,
    I got the following information from the function module documentation of the FM RSDRI_INFOPROV_READ.
    If neither I_SAVE_IN_FILE nor I_SAVE_IN_TABLE are set, then the return takes place in the form of packages (that is an internal table), of value I_PACKAGESIZE. A negative value means that the return should be in one package.
    Prathish.

  • Export Ultra Beat Kit to use on another computer? Multiple samples per key?

    I know I can save it in a session, but I'd like to export a custom UB kit, along with its samples, as a single file/folder for use on another computer. Is this possible?
    Additionally, I'm sure this has been asked before but I never found an answer. Can I layer multiple samples on a single key and trigger them with different velocities? I can't even figure out how to do this in exs without it changing the volume according to velocity input. Thanks guys.

    To answer the second question, it is certainly possible. Not that I have done it intentionally but on more than one occasion I have imported multiple samples into exs only to find that every sample plays when I press one key...
    Check the mapping!
    /j

  • Error in PDF export / 'crdb_p2sifmx.dll Error

    Hello Network,
    i got a problem while i try to export a document to pdf.
    Nearly all documents are okay, but one type doesn't work. I get an error that the DLL crdb_p2sifmx.dll' doesn't able to load.
    How can i fix this problem.
    I have VS2008 with Reports in CR 8.5. I open them, set the selection formular and export it to pdf.
    Thanx for ideas.
    Hendrik
    CrystalDecisions.CrystalReports.Engine.DataSourceException: Fehler beim Laden der Datenbankinformationen.
    Details: Die Datenbank-DLL 'crdb_p2sifmx.dll' konnte nicht geladen werden.
    Fehler beim Laden der Datenbankinformationen ---> System.Runtime.InteropServices.COMException (0x800002CD): Fehler beim Laden der Datenbankinformationen.
    Details: Die Datenbank-DLL 'crdb_p2sifmx.dll' konnte nicht geladen werden.
    Fehler beim Laden der Datenbankinformationen
       bei CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.Export(ExportOptions pExportOptions, RequestContext pRequestContext)
       bei CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)
       --- Ende der internen Ausnahmestapelüberwachung ---
       bei CrystalDecisions.ReportAppServer.ConvertDotNetToErom.ThrowDotNetException(Exception e)
       bei CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)
       bei CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportToStream(ExportRequestContext reqContext)
       bei CrystalDecisions.CrystalReports.Engine.FormatEngine.Export(ExportRequestContext reqContext)
       bei CrystalDecisions.CrystalReports.Engine.FormatEngine.Export()
       bei CrystalDecisions.CrystalReports.Engine.ReportDocument.Export()

    That means i only had to update to IX Developer. Install it on my machine and i can do this ?
    To make it clearer:
    I have many Reports which is designed in Vers. 8.5
    If I open the report in CR 11.5 I have to logon to the Database. This step i need to do by Code.
    So if i can logon i think the other things will also work.
    The Reports, which didn't ask for a database logon, work. So this is the only difference.
    I need no Connection for my work i have to do, because i only use the Saved Data in the report.
    So a few questions :
    1. Can i do a logon automatically ?
    2. Can I clear the Database Connection to use only the Saved Data with Code ?
    I'm happy about any answer

  • Action to Convert Word doc to pdf, error: the process cannot access the file because it is being used by another process

    I am simply running an action that converts all Word 2010 docs within a directory into pdfs in another directory. The Word doc is closed.
    This is performed within Adobe Pro X.  The directory to look in has been set.  The directory to save in has been set, and is different.
    The error message pops up after I run the action.  If I click the OK button, the 'save pdf file as' box pops up, with Adobe printer's default save directory
    (not the same as the above two) selected.
    If I click Save, accepting the meaningless file name (ADPD5A5.pdf in this case) the problem goes away.  If I chose cancel, the problem also goes away.
    I don't want to save this pdf as anything other than what is set up in the action.  How do I stop this from happening?
    I've unchecked 'prompt for Adobe pdf file name' within the Word Adobe preferences, but to no success.
    I will ultimately be converting scores of docs into pdfs, and cannot have to interfere with each one.
    This worked fine on my XP machine, but now in Windows 7 64 bit (new machine, new Adobe install) it is causing this problem.

    A bit of a confusion on my part;
    Now we have created these REPORTS using Basic Crystal Report 10.5, which comes bundled with Visual Studio 2008 and .Net Framework 3.0. Now on our machines, we have never experienced any issues.
    Going by the above, you should have references to CR assemblies of version 10.5.3700 only. No other references.
    Now, looking at this paragraph:
    BUT on the DEV server (web server) which has .net Framework 3.0 and in its GAC its has CRYSTAL DLLs version 11.5 (required to create an Object of ReportClass and its related functions) ; sometimes we get the following error while exporting crystal report to pdf:
    I wonder what runtime was deployed to the server. E.g.; if you are using CR 10.5, your assemblies will be 10.5.3700 and you should be deploying the following runtime (depending on 32 bit / 64 bit, etc.):
    CRRedist2008_ia64.msi
    https://smpdl.sap-ag.de/~sapidp/012002523100006255262008E/CRRedist2008_ia64.zip
    CRRedist2008_x64.msi
    https://smpdl.sap-ag.de/~sapidp/012002523100006255272008E/CRRedist2008_x64.zip
    CRRedist2008_x86.msi
    https://smpdl.sap-ag.de/~sapidp/012002523100009351342008E/CRBasicVS2008_redist_x86.zip
    One way to check on what is actually loading is to use the [Modules|https://smpdl.sap-ag.de/~sapidp/012002523100006252802008E/modules.zip] utility.
    - Ludek

  • Huge (14K pages) PDF Export to Excel gives "Save As Failed To Process" Message

    Using version 11.0.7.79, running Windows
    I have a massive (33.7MB, 13,900 page) PDF that I am trying to convert to HTML or Excel. When I try to export the file to either of these formats the export process will run for a number of minutes and then bomb out with the "Save As Failed To Process" message. I figured that the issue was with the file size, so I extracted a much smaller subset (200 pages) without a problem.
    Since it appears that file size is the problem, does anyone have a suggestion on how to approach the exporting of this huge file? What causes this error message? Any way to get around it (maybe online conversion of the file)?
    I could manually break it up into smaller files, but I'm hoping that there is 1) an easy way to segment the larger files into smaller files via a 3rd party solution (if needed) or 2) another way to export the huge PDF in one fell swoop. On point 1, I don't know if there is a solution that will automatically segment larger PDF's into 500 page segments per PDF file.
    For context, I am brand new to Acrobat Pro, so there could be a practical solution that I am not aware of yet. Thanks in advance for any help you can offer!

    Yea, this approach is not going to work. Even when I break these down into 1,000 page, 2MB files I get the same "Save As Failed To Process" error message. What causes this message? Not enough memory? How can I resolve it?
    It just doesn't make sense that I can't export basic data to Excel when the actual excel content for 1,000 pages will probably be less that 2MB once it is in Excel. I saved a sample 10 pages and it was 18KB. 100 sample pages was 123KB. I would expect Acrobat to be able to convert these files when I break them down into 1,000 page increments.
    Are there any settings within Acrobat that I should be looking at adjusting? It just seems ridiculous that it is this hard to get Acrobat to do a very basic export for what seems to be a reasonable sized file.

  • Strange error when using Automatic Row Processing

    Hi All,
    I have a page with 2 regions
    - first is a form for data entry (4 fields - 2 hidden, 1 LOV, 1 text)
    --> 3 buttons - Cancel, Create, Create & Create Another
    --> Create branches to next page, Create Another branches back to same page
    - second is report of items entered into the form (conditional display)
    This all seems to be working, except that when I click either of the buttons, I get this:
    Action Processed. -- The success message - so data is inserted
    Unexpected error, unable to find item name at application or page level.
    Error ERR-1002 Unable to find item ID for item " P31_PIECE_CNT)" in application "122".
    And the 'OK' link. When I use the link to go back to the page, the data shows up in the report. So I know that the process is working up until it does the insert, but not sure why I get the error.
    Corey
    Database Version Information
    Oracle9i Enterprise Edition Release 9.2.0.7.0 - Production
    PL/SQL Release 9.2.0.7.0 - Production
    CORE 9.2.0.7.0 Production
    Product Build: 2.0.0.00.49

    All that is saying is that no such page/app item called P31_PIECE_CNT exists in the application and some after-submit component on that page is trying to refer to that item name.

  • 2nd iPod is stating "This iTunes is in use by another iTunes Library.......

    When I plugged my iPod in, no music was in the iTunes Library. I looked on the hard drive (I think) & looked in all files & didn't find ANY music that I purchased or downloaded myself. When I plug in my mom's iPod, none of the music on her iPod displays whats on there & a message pops up: "This iTunes library is being occupied by another iTunes library, do you want to transfer..." PLEASE Help! I have emailed 4 times & no help. Thanks for understanding.

    OK, first do some reading on your new toys.
    How to use multiple iPods with one computer
    http://docs.info.apple.com/article.html?artnum=300432
    Let us know if you have any questions after that, and we will need to know how many XP user accounts you are using.

  • Services error: Shortcut used by another action

    I have this problem on my desktop and my MBPro. In my preferences under 'Services' I have a yellow symbol and it says 'Shortcut used by another action.'
    I've tried everything to get this to work but can't figure out what's causing this.
    I did a 'restore defaults' and it's still there.
    Your help is greatly appreciated.
    Thanks.

    Coda: I finally called about this. The Apple tech guy was kind of rude, and insisted that I listen to him instead ask questions, and he absolutely insisted that my batteries were dead or low on power. They were not.
    However, I can't seem to use an older wireless bluetooth keyboard that worked fine with my no-so-old-iMac. It wouldn't "blinky-blink" during setup. I gave up and pulled out the new keyboard. After messing with it a bit, I was able to set it up.  Still wondering why the older device (which looks identical) didn't work.

Maybe you are looking for

  • Macbook to TV issues

    Hi Everyone, Any help would be much appreciated. I'm trying to connect my Macbook to my television, visited an Apple Store & bought Mini-DVI to Video Adapter, and then a Belkin S-Video Cable from another electrical store. When I connect the adapter t

  • And my activation date of this month is oct.2. But...

    I bought 400 minuits 3 months 2 month ago. And my activation date of this month is oct.2. But it doesn't work yet. It is oct.3. What can I do for it?

  • Wireless networking with 10.6.1

    I have a few Macs (all purchased in 2008 working on Intel Core 2 Duo), an Apple TV and an HP C6180 Photosmart printer that were communicating beautifully via my wireless home network using a Linksys router. After upgrading to 10.6 (and subsequently 1

  • Padding a field out with spaces to s set length

    Post Author: danish CA Forum: Formula Hi, I'm new at using Crystal Reports. I am trying to pad a string out to a set length of 50. The initial string is of variable size depending on the data in the field. Can anyone tell me how I can do this using a

  • Stuttering Audio after .mov export

    When exporting in Flash Professional to a Quicktime movie, no matter what setting I use, the outcome is a movie with extreme stuttering in the audio. The video is imported to the library from an .flv created in Adobe Premiere. The audio sounds fine w