Starting Adobe Reader with ShellExecute fails

Hi,
When I try and run open a PDF with shell execute and Adobe Reader being the default application, the PDF opens an Adobe Reader and then Reader crashes about five seconds afterwards with a Visual C++ error. I'm trying this in a 64bit Windows 7 enviroment.
From checking process monitor, it looks like Adobe reader is trying to access the systemprofile directories which is being denied. If I give everyone permissions to these folders it works again.
Open the PDF from explorer works fine.
Any help, clues or hints anyone?
thanks a lot!
Andy.

Hey,
I think I've found the root cause and can't easily test the broken code anymore.
I did try running it it compatibility mode originally though and it did solve the problem. It also said that protected mode was disabled when I was running the app in compatibility mode, so I asume that turning off protected mode would also be a work around.
The cause I think was that when using shell execute, the users enviromental variables were not being loaded by Adobe Reader. This is confirmed by checking the Adobe Reader process with process monitor. I could see that Reader was looking in SystemProfile folders to read and write, which of course is not right and quite rightly being denied. I think it was these denials that causes the crash.
My solution is to load the users enviromental block and using StartProcessAsUser instead. This means that Reader gets the right enviroment and starts to look in the users APPDATA folder rather than system profile.
Any comments may be interesting!
Ta,
Andy.

Similar Messages

  • Adobe Reader 9 plugin fails to load on RedHat Linux OS

    I built a plugin using Acrobat SDK 9 for Adobe reader 9.5 on Redhat Linux OS. I am able to successfully build and reader enable the plugin.
    But when I start Adobe Reader 9, the plugin fails to load with error "Undefined Symbol: RestorePlugInFrame".
    As I understand, on Linux platform with C++ enabled, the RestorePlugInFrame function should not be required.
    Is there any other flag I need to set while building the plugin?
    Appreciate any suggestions in resolving this issue. Thank you.
    -Srilatha

    Yes. Adobe support told me that the license key I used to build Adobe 8 plugin on Linux should work for Adobe 9 plugin too. Using SignPlugin tool and the license key I was able to successfully reader enable the plugin.
    -Srilatha

  • What is prereq for reading above, and for start develop/reading with flex and cf(level?) ?

    http://www.adobe.com/devnet/flex/pdfs/getting_started_with_Flex3.pdf
    what is prereq for reading above, and for start develop/reading with flex and cf(level?) ?

    The Flex Quickstarts will be a place for starters, if you want to know 
    about Flex/CF integration the first to know would be some basics of CF.
    Sincerely,
    Michael
    Sent from my iPhone

  • Adobe Reader Search function fails

    @@I'm using Adobe Reader Version 11.0.10 under Windows 7 64-Bit SP1 with all actual updates. When i try to search any word or Phrase of contained in the text of a specific PDF File, then the search Fails. It does not come up with the search item i have keyed in. I did not misspell the search item and it is definitely contained in the text, but the search function does not find it. i am absolutely surethat the search item is in text Format and it is contained in the PDF file, because i can Access and search it when i open this PDF file on an iPad for instance. there it works, but not in my Windows envioenment.
    I guess that this problem will not be completely new for you, because other users are discussing this Problem in the Internet as well.
    Can you help me with an answer and hopefully with a recommendation on how to overcome this Problem.
    thanks in advance and
    Kind regards
    Guenther
    p.s.:
    sorry, i am new on thjis platform... how  when aproximatrely does one get an answer here?

    Hello Pat,
    i followed your advise and have used the link contained in point 3 of
    your recommendations --- for reference see your response as appended
    below (https://cloud.acrobat.com/).
    So, in case i made no mistake (?), then you can access the PDF file we
    are talking about when you follow this link here:
    https://files.acrobat.com/a/preview/0f9d2ce4-b4b9-4223-8fd2-723441d7d2ab***
    This PDF file contains a description of an olympus camera. When you open
    this PDF file please go to page 6.
    Directly under the picture on top of the page (which shows a dark blue
    car driving from left to right) you can read the word "Mitziehmodus"
    (without parantheses). This german word is one of those search items
    which the PDF search function of my PDF reader installation does not
    find. There are many other words the search function does not find as
    well, but let us use this word (Mitziehmodus) as an example to
    demonstrate the malfunction as i experience it on my pc.
    Meanwhile i have installed a completely new windows-system 7 from
    scratch. The PDF reader (11.0.10) is currently the only installed
    software. I made this windows 7 installation only to assure that there
    is no other software eventually influencing the search function. But the
    search function fails again when searching for this word "Mitziehmodus".
    One remark still to your statements concerning accented characters.
    Character like ä, ö, ü or ß are quite normal characters in writing
    german language text. But these characters can not be found also! In
    general it does not make much sense to serach for a single character (at
    least in my understanding). Searching for ä or ö or ü results in finding
    something completely meaningless. But this behaviour shows additionally
    that there is something wrong with the search function as it ist
    implemented in Adobe Reader.
    In general i am convinced that this PDF file will be correct ,
    because i can search any search item and find correct search results
    when i access this file on my iPad regardless in what so ever combination.
    i hope that you can access the problem PDF file following the link i
    sent you above.
    And i would be happy wehen you could find thze reason for my search
    problems.
    thank you so far. i appreciate to heare from you soon.
    kind regards
    Günther
    Am 02.01.2015 um 03:03 schrieb Pat Willener:
    >
          Adobe Reader Search function fails
    created by Pat Willener <https://forums.adobe.com/people/pwillener> in
    /Adobe Reader/ - View the full discussion
    <https://forums.adobe.com/message/7058510#7058510>

  • Can't start adobe reader 9.0 nl

    After a system repair I can't start adobe reader 9. When I do this it goes to instalation en I get te following message:
    When I try to delete adobe reader 9 with windows I get the same message. Does anyone know what to do
    greetings from Holland
    Cees van der Wielen

    Thanks, this was what I needed. It worked.
    gr. from holland

  • Adobe Reader Splash--I have a PDF file that whenever I try to open it suggests using Adobe Reader with a link to download Adobe Reader...

    Adobe Reader Splash--I have a PDF file that whenever I try to open it suggests using Adobe Reader with a link to download Adobe Reader. I can't get beyond this. I have made Preview the default for all PDF's and yet this persists. I have also deleted Adobe Reader. This particular file is a portfolio, btw.

    I have similar issue. Did u find an answer?

  • Adobe reader 11 installation fails. error message: there was an error installing adobe reader. adobe

    Adobe reader 11 installation fails. error message: there was an error installing adobe reader. adobe reader installation error. null. tried using adobe cleaning  tool. using XP sp3. seems that adobe 11 is not completely uninstalling. this is because when adobe reader  11 is removed  from add/remove program. when pc is rebooted, adobe reader 11 entry comes back but it is  like false entry as no size given. please help to succesfully install Adobe Reader 11.  also tried:
    1. uninstalled, rebooted, reinstalled  2. installed from different locations  3. removed adobe key from
    local machine and tried to install

    Seriously, I do not understand what is going on - I have never seen this before!
    The MSI installers are usually used in corporate environments to roll out installs on multiple machines.  However, you can use it like a normal (EXE) installer; it will just go through fewer steps than the EXE.  Not sure if it will improve the situation, but it's worth a try.
    Another thing to try is to uninstall these remaining entries using Microsoft Fixit: http://support.microsoft.com/mats/Program_Install_and_Uninstall - also no guarantee, but also worth trying.

  • How to fill forms in adobe reader with lithuanian fonts?

    How to fill forms in adobe reader with lithuanian fonts?
    when i switch on my pc alt+shift to lithuanian language i can only use 2 lithuanian fonts, for other lithuanian fonts i get only blank
    could someone help me to solve this case?

    Adobe Acrobat.  A bit expensive just to change the document background...

  • I am using Adobe Reader with paid up service through May 2015.  When I attempt to convert a file from PDF or to PDF, I get the message "An error occured while trying to access the service.  What do I need to do to access the service paid for?

    I am using Adobe Reader with paid up service through May 2015.  When I attempt to convert a file either to PDF or from PDF, I get the error message, "An error occurred while trying to access the service".  What do I need to do to get access to the service I have paid for?

    Hi DeaconTomColorado,
    Please see "Error occurred when trying to access this service" when logging on to Acrobat.com.
    Adobe has just released an update to Adobe Reader, so if you're accessing the service via Reader, please let us know whether the update helps resolve the issue.
    Best,
    Sara

  • Unable to open Adobe Reader with ability to changes PDF to word

    adobe reader with ability to change from pdf to word stopped working I purchased a new year and it does not work?

    John,
    Glad to hear everything is working. I'm surprised, too, though, because these subscriptions are on auto-renewal when you subscribe (unless you cancel before the subscription runs out).
    So....I just double-checked your account.  You had a CreatePDF basic subscription which expired on August 28 (I'm guessing that one wasn't on auto-renewal).
    In any case, I think all is well now!
    Best,
    Sara

  • Looking for expert who can highlight 3d model node in adobe reader with external program

    I need to select and highlight 3d model node in adobe reader with my program.from outside of adobe reader. it seems there is no out-of-box API in stndard SDK. I want to outsource this task fully or partly. If you have the solution or able to provide consultant in this area, please send message to me.

    You would indeed need a plug-in to actually select and highlight but you can easily call attention to a part by temporarily changing the color via JavaScript which you can access from external applications.
    I can provide more specific advice if you explain the exact user interaction you're looking for. Is this a desktop application? Is the PDF in a browser? etc.
    J-

  • How do I unblock download of Adobe Reader with Windows 7, Explorerer 9?

    How do I unblock a download of Adobe Reader with Windows 7, Explorere 9 on a Lenova laptop?

    Turn off your firewall
    Download the offline installer: http://get.adobe.com/reader/enterprise/
    Turn it back on.

  • How can I turn off the blue tips that pop up every time I start Adobe Reader?

    Every time I start Adobe Reader XI, or every time I double-click a PDF file from another program, a blue bubble pops up under the "Open" portion of the toolbar that says "Easily open all your files across devices" and I cannot make it stop.
    I have:
    - Unchecked "Show me messages when I launch Reader" in Preferences/General/Messages form Adobe
    - Checked "Don't show messages while reviewing a document" in Preferences/General/Messages form Adobe
    How can I make this stop displaying?
    Thanks.

    This was strange.  To be honest, I had never clicked the large "open" folder icon on the left of the toolbar.  Once I did it showed me three options: Recent Files, My Computer, and Acrobat.com Files (cloud storage).
    After actually looking at this feature, and then closing and opening Acrobat Reader again, the blue pop-up does not appear anymore.  I closed and opened Acrobat Reader several times and it does not appear anymore.  Apparently, it's a prompt to get you to look at the feature and prompts you until you do.  I'm not sure why it does not appear on your screen.  Perhaps a feature that is available only to "newer" versions of Windows (7+)?
    I appreciate your help.  Thank you.

  • How do you run Adobe Reader with New Lions

    How do you run Adobe Reader with New Lions?

    Lion has Preview, you may not need Adobe Reader.
    Preview Help
    View your images and PDF documents, touch them up, annotate them, and share your comments.
    Regards,
    Colin R.

  • Unable to launch Adobe Reader using ShellExecute with Protected Mode on

    HI
    Using the latest Adobe Reader 11.0.9, I open a PDF via ShellExecute in a legacy 32bit application, I get an unsupported configuration dialog and prompt to open with Protected Mode disabled always, once or don't open.
    I need it to open with Protected Mode enabled.
    The folder is in the Security (Enhanced) Privileged Locations.
    I turned Protected Mode logging on and I see these messages when I call ShellExecute:
    [12:02/18:17:12] interceptions setup failed - error:0x0
    [12:02/18:17:12] Failed to add target - error:0x0
    [12:02/18:17:12] Failed to launch sandbox process. ResultCode: 1 error:0x5A4
    [12:02/18:17:12] Sandbox Process Initialization Failed - error:0x5A4
    I've read the Unsupported Configurations section of the Protected Mode Troubleshooting guide but nothing matches my system as far as I can tell.
    I am running the 32bit legacy application in Windows Server 2008 R2 (64bit) as a member of Domain Administrators
    What can you suggest is the unsupported configuration?
    Thanks
    Craig

    I've tried another PDF viewer and it works fine so I think it's time to say goodbye to Adobe Reader.

Maybe you are looking for