Plugin and try/catch problem

I have a plug-in that was working perfectly until I added an FileOutputStream and its corresponding try/catch block. Now when I try to run my plugin, the popup menu come up corrctly but when I click to run my code it tells me the operation is not available. If I delete those three line it works fine again.
Instead or try/catch I could do run() throws XYZException, but that gives an error. Any ideas how I can get this fixed? Thanks

turns out that was not really what was causing the error. I was using the iText library, and I had added it to the classpath of the plugin but I didnt add it to the runtime classpath, so my 'new' eclipse windows was not working properly. Thanks anyways

Similar Messages

  • Return statement and Try Catch problem

    Hi!!
    I've got the next code:
    public ResultSet DBSelectTeam(String query) {
    try {
    Statement s = con.createStatement();
    ResultSet rs = s.executeQuery(query);
    return rs;
    } catch (Exception err) {
    JOptionPane.showMessageDialog(null, "ERROR: " + err);
    But I need a return statement in the catch-block, but I don't know what's the best option.
    Help...
    Many thanks.

    The error message is: "missing return statement", Yes, I know.
    You have to either return from the catch statement, or throw from the catch statement, or return or throw after the catch statement.
    The only ways your method is allowed to complete is by returning a value or throwing an exception. As it stands, if an exception is thrown, you catch it, but then you don't throw anything and you don't return a value.
    So, like I said: What would you return from within or after catch? There's no good value to return. The only remotely reasonable choice would be null, but that sucks because now the caller has to explicitly check for it.
    So we conclude that catch shouldn't return anything. So catch must throw something. But what? You could wrap the SQLE in your own exception, but since the caller is dealing with JDBC constructs anyway (he has to handle the RS and close it and the Statement), there's no point in abstracting JDBC away. Plus he has to deal with SQLE anyway in his use of the RS and Statement. So you might as well just throw SQLE.
    So since you're going to just throw SQLE anyway, just get rid of the try/catch altogether and declare your method throws SQLException

  • Try  Catch problem CS6

    All my try catch scripts don't work on CS6
    $.strict = false;
    function myGetScriptPath() {
    try{
    return app.activeScript;
    catch(myError){
    return File(myError.fileName);
    myGetScriptPath()
    Can anyone tell me the problem?
    Thanks
    Trevor

    Thanks for trying Pickory,
    I have Windows 7, with both indesign CS5 and creative cloud CS6 installed
    After experimenting I found that the script works fine on the machine with just CS5 on it.
    But on the one that has both doesn't work when called from either version of the ESTK but does from either version of indesign.
    When I try run the script from the CS5 ESTK It automatically opens and runs from the CS6 ESTK.
    I am not keen on uninstalling the CS5 ESTK as I don't know how long I'll keep creative cloud.
    Bellow is a alternative try catch script because the above one will not invoke an error if run from indesign so it won't call the catch.
    cs = app.activeDocument.characterStyles.item("myCharacterStyleName");
    try {alert ("Try $.strict = " +$.strict); myCharacterStyle.name}
    catch (myError) { alert ("Catch $.strict = " +$.strict + "\r" + myError)}
    I'm quite desperate for an answer.

  • Try catch problem in a while loop

    I have computerGuess set to -1 and that starts the while loop.
    but I need to catch exceptions that the user doesnt enter a string or anything other than a number between 1 and 1000.
    but computerGuess is an int so that the while loop will start and I wanted to reset computerGuess from the user input using nextInt().
    The problem is if I want to catch exceptions I have to take a string and parse it.
    import java.util.Scanner;
    public class Game {
         //initiate variables
         String computerStart = "yes";
         String correct = "correct";
         String playerStart = "no";
         int computerGuess = 500;
    public void Start()
         //setup scanner
         Scanner input = new Scanner(System.in);
         int number = (int)(Math.random()*1001);
         System.out.println(welcome());
         String firstAnswer = input.nextLine();
         if(firstAnswer.equalsIgnoreCase(computerStart)== true)
              System.out.println(computerGuess());
              //while (userAnswer.equalsIgnoreCase(correct) == false){
                   System.out.println();
         if(firstAnswer.equalsIgnoreCase(playerStart) == true)
              long startTime = System.currentTimeMillis();
              int currentGuess = -1;
              while (currentGuess != number){
              System.out.println(playerGuess());
              String guess = input.next();
              //currentGuess = Integer.parseInt(guess);
              if (currentGuess < number)
                   System.out.println("too low");
              if (currentGuess > number)
                   System.out.println("too high");
              if (currentGuess == number)
                   long endTime = System.currentTimeMillis();
                   System.out.println("Well done, the number is " + number);
              int i = -1;
              try {
                i = Integer.parseInt(guess);
                   } catch (NumberFormatException nfe) {
                        //System.out.println("Incorrect input, please try again.");
              if ( i < 0 || i > 1000 ) {
                   System.out.println("Incorrect input, please try again.");
         private String computerGuess()
               String comGuess = ("The computer will guess your number.\n" +
                        "Please enter \"too high\", \"too low\" or \"correct\" accordingly.");
               return comGuess;
         private String welcome()
              String gameWelcome = "Welcome to the guessing game \n" +
                                        "The objective is to guess a number between 1 and 1000.\n" +
                                        "You can guess the computer's number or it can guess your's.\n" +
                                        "You may enter \"quit\" at any time to exit.\n" +
                                        "Would you like the computer to do the guessing?";
              return gameWelcome;
         private String playerGuess()
              String playerWillGuess = "Guess a number between 1 and 1000.";
              return playerWillGuess;
    }The catch works , but because computerGuess is int -1 so that the while loop will run, I cannot use the input to change computerGuess because it is a string.

    the i was a mistake. and i commented on the other code, because it wasnt working at that moment. I need help understanding the try catch method.
    I want to catch any input that isn't an integer , and I would also like to catch any input that isn't a string at other parts of my program.

  • A try catch problem....

    public class trycatch{
    public static void main(String[] adsf){
    int i;
    try{i = 5;}
    catch(Exception e){}
    System.out.println("hello"+i);
    }at compile time, the compiler says i might not have been initialised, but why?
    I have done it in try catch block.

    do you people have any better idea rather than put
    all the codes in one try catch block?Yes.
    import java.net.URL;
    import java.net.MalformedURLException;
    import java.io.InputStream;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.io.FileNotFoundException;
    public class Test{
           public static void main(String[] param){
                  if(param.length!=4)
                  System.out.println("please provide 4 attributes: protocol, host, port, and file");
                  URL resource = null;
                  try{resource = new URL(param[0], param[1], Integer.parseInt(param[2]), param[3]);}
                  catch(MalformedURLException murle){System.out.println("an murle occurs");return;}
                  InputStream openResource = null;
                  try{openResource = resource.openStream();}
                  catch(IOException ioe){System.out.println("an ioe occurs");return;}
                  FileOutputStream toFile = null;
                  try{toFile = new FileOutputStream(param[3]);}
                  catch(FileNotFoundException fnfe){System.out.println("an fnfe occurs");return;}
                  try{
                  for(int i = openResource.read(); i!=-1; i = openResource.read())
                  toFile.write(i);
                  catch(IOException ioe){System.out.println("an ioe occurs");}
    }Notice the initialization. That will now at least compile. And before you get your knickers in a knot the return statements are there for terminiating execution of the method (in this case program) when an error occurs.

  • Difference: "throws xyException" and "try/catch"

    Is there a difference? Which is it? Would thus be the same for a function:
    "functionName throws xyException"
    or
    "functionName{
    try{
    catch(xyException){
    }

    functionName throws xyException
    Calling code must call this function in a try and catch block or code won't compile.
    functionName{
    try{
    catch(xyException){
    Calling code does not have to put the call to this function in a try and catch block.
    public void methodName() throws xEcxeption{
              try{
                        // something
              }catch(Exception e){
                        // try to clean up something
                        // trhow xEcxeption to calling code so that code can do something as well.
                        // like trying an alternative, informing the user or stop executing
    }

  • *** ACTUAL FIX! *** How to solve the Windows 8 "Sorry, something happened and we couldn't finish creating the ISO. Restart setup and try again" problem

    Author's note: because I'm not yet allowed to post links in the forums, please note that all links have
    dot for the actual . in links, and any "http://" is spaced out so things don't appear as links.  Common sense, folks.
    I found the answer here: http:// wwwdoteightforumsdotcom/tutorials/13200-windows-8-upgrade-iso-redownload.html,
    but here's the brief summary:
    -I'm guessing that at some point, you probably downloaded the Windows 8 preview, yes?  For whatever reason, when you go to do it "for real," the Windows 8 setup doesn't overwrite the old file, called the "WebSetup"
    folder.  If that folder is still there, you'll get the "Sorry, something happened and we couldn't finish creating the ISO.  Restart setup and try again" message.
    The location of the folder is at: C:\%UserProfile%\AppData\Local\Microsoft\WebSetup
    where %UserProfile% is the user account you downloaded it under (probably your default account) - this is the folder you need to delete.
    Once that folder is deleted, run the Windows 8 setup file (found here: http:// windowsdotmicrosoftdotcom/en-US/windows-8/upgrade-product-key-only if
    you haven't, like me, already downloaded it 8 different times thinking it was a corrupted file), and it should prompt you at that point for your product key - which is something it wasn't doing for me.  After that, you can choose to make it an ISO, run
    it normally, run it from USB, etc.
    It'd be helpful if Microsoft knew about this... hope it helps...
    (h/t to EightForums, where I originally found and condensed this guide.)

    Author's note: because I'm not yet allowed to post links in the forums, please note that all links have
    dot for the actual . in links, and any "http://" is spaced out so things don't appear as links.  Common sense, folks.
    I found the answer here: http:// wwwdoteightforumsdotcom/tutorials/13200-windows-8-upgrade-iso-redownload.html,
    but here's the brief summary:
    -I'm guessing that at some point, you probably downloaded the Windows 8 preview, yes?  For whatever reason, when you go to do it "for real," the Windows 8 setup doesn't overwrite the old file, called the "WebSetup"
    folder.  If that folder is still there, you'll get the "Sorry, something happened and we couldn't finish creating the ISO.  Restart setup and try again" message.
    The location of the folder is at: C:\%UserProfile%\AppData\Local\Microsoft\WebSetup
    where %UserProfile% is the user account you downloaded it under (probably your default account) - this is the folder you need to delete.
    Once that folder is deleted, run the Windows 8 setup file (found here: http:// windowsdotmicrosoftdotcom/en-US/windows-8/upgrade-product-key-only if
    you haven't, like me, already downloaded it 8 different times thinking it was a corrupted file), and it should prompt you at that point for your product key - which is something it wasn't doing for me.  After that, you can choose to make it an ISO, run
    it normally, run it from USB, etc.
    It'd be helpful if Microsoft knew about this... hope it helps...
    (h/t to EightForums, where I originally found and condensed this guide.)
    Worked like a charm. Thank you!

  • Nik plugin and 3 weird problem

    I know about the 32bit issue with the nik plugins but when I try and use any of the nik plugins I get an error message"Editing Error this message cannot be rendered for editing becuase Aperture does not support the image"
    The images are Nikon RAW work fine with A3 in 32 or 64 bit mode, but with none of the Nik software. Nik support says it is an Apple problem but can not find anywhere but here to find a solution. Anyone have any idea what is going on ?
    I have tried in 64 bit with it switching 32bit and also forcing it to 32bit mode in get info.
    john

    a friend of mine is having similar problem with a BorderFX plugin. initially we thought because of 32-bit plugin but after upgrading to 64-bit version, A3 still wouldn't render preview from the images manipulated from the plugin. have tried turning off the generating preview option from A3 preference?
    it might reset the A3 preview setting.

  • Try catch problem

    Here's my code:
    import javax.swing.*;
    import java.io.*;
    public class Customer
         try
              public RandomAccessFile file = new RandomAccessFile("customer.txt", "rw");
         catch(FileNotFoundException fnfe)
         public static void readCustomer(String telp)
         public static void writeCustomer(String telp, String name, String add1, String add2)
    and here's the error msg:
    C:\TEMP\Tar\TestOrder\Customer.java:7: illegal start of type
         try
    ^
    C:\TEMP\Tar\TestOrder\Customer.java:20: <identifier> expected
    ^
    2 errors
    Tool completed with exit code 1
    Can anyone pls tell what i did wrong? btw, i used TextPad to compile it
    Thanks
    Daffy

    hi,
    try and catch should be in a method.
    try this
    public class Customer
    public RandomAccessFile {
         try
    file = new RandomAccessFile("customer.txt", "rw");
         catch(FileNotFoundException fnfe)

  • Apache with WLS plugin and welcome page problems

    Hi,
              Does anyone know to solve this problem ?
              It works when i'm accessing my webapp directly on the wlserver
              Thru Apache i have to enter the name of the startpage.
              ie.
              http://www.domain.no/webapp (not working)
              http://www.domain.no/webapp/index.jsp (working)
              In apache, httpd.conf i have added index.jsp to DirectoryIndex
              Any idea ?
              TIA,
              Borre
              

    You can set DefaultFileName to be index.jsp.
              This is done on apache:
              <Location /webapp>
              WebLogicHost localhost
              WebLogicPort 7001
              DefaultFileName index.jsp
              </Location>
              Try that,
              Eric
              "Borre Nordbakken" <[email protected]> wrote in message
              news:[email protected]..
              > Hi,
              >
              > Does anyone know to solve this problem ?
              > It works when i'm accessing my webapp directly on the wlserver
              > Thru Apache i have to enter the name of the startpage.
              >
              > ie.
              > http://www.domain.no/webapp (not working)
              > http://www.domain.no/webapp/index.jsp (working)
              >
              >
              > In apache, httpd.conf i have added index.jsp to DirectoryIndex
              >
              > Any idea ?
              >
              > --
              > TIA,
              > Borre
              >
              >
              >
              

  • Some code error-try catch problem

    import java.io.*;
    import java.sql.*;
    public class login1 extends HttpServlet
    public void doGet(HttpServletRequest req,HttpServletResponse res) throws IOException,ServletException
    PrintWriter pw = res.getWriter();
    res.setContentType("text/html");
    String uid=(String)req.getParameter("formtext1");
    String pass=(String)req.getParameter("formtext2");
    Connection c;
    Statement s;
    ResultSet rs;
    ResultSetMetaData meta;
    try
    Class.forName("org.gjt.mm.mysql.Driver");
    c = DriverManager.getConnection("jdbc:mysql://localhost:3306/projectmanager?username=\"root\"&password=\"\"", "", "");
    s = c.createStatement();
    s.execute("select * from login order by userid ");
    rs = s.getResultSet();
    while(rs.next())
    if(uid.equals(rs.getString(1)) && pass.equals(rs.getString(2)))
         HttpSession ses=req.getSession(true);
    ses.putValue("a",uid);
    res.sendRedirect("welcome");
    catch(Exception e){
    {pw.println(e);}
         res.sendRedirect("login");}
    this page on getting exception is not directing to login again...could any1 help me out plzz.....

    What is it doing otherwise? Try putting a "return;" after the sendRedirect(). Also for future posts, put your code inside the "code" tags so its easier to read.

  • The Adobe Acrobat/Reader that is running can not be used to view PDF files in a Web Browser. Please exit Adobe Acrobat/Reader and exit your Web Browser and try again.OK. I followed the instruction and the problem still persists.

    I got the following pop-up when I tried to open an online PDF file:
    The Adobe Acrobat/Reader that is running can not be used to view PDF files in a Web Browser.
    Please exit Adobe Acrobat/Reader and exit your Web Browser and try again.
    I tried many time, and it really doesn't work.
    The plug-in I have is Adobe Acrobat 8.3.0.280

    After I upgraded to Firefox 5, I had the same problem and I did a work around temporarily. I went the tools menu, then Add-ons, then clicked the "Plugins" on the left side (4th one down). I "disabled" both Adobe Acrobat 8.3.0.280 and Adobe Acrobat 10.1.0.536 using the disable buttons on the right side. PDF files now open again. However they are outside the actual browser.
    My guess is that Adobe didn't catch up yet with a new update to work with Firefox or vice versa.
    Hope that helps!
    Michael

  • I've checked my current plugins and it still shows Adobe Acrobat Version 7 for Netscape (7.0.9.50) I tried to do the update but I got an error - "Please tell Microsoft about this problem" "Send Error Report/ Don't Send".

    I've checked my current plugins and it still shows Adobe Acrobat Version 7 for Netscape (7.0.9.50)
    I tried to do the update but I get the same error each time - "Please tell Microsoft about this problem" "Send Error Report/ Don't Send".
    Also, do I need to Disable or Uninstall the Extension: "SEO For Firefox 3.3.4 as this was highlighted?
    == This happened ==
    Every time Firefox opened
    == When I try to do the update

    http://www.microsoft.com/mac/support
    http://answers.microsoft.com/en-us/mac/forum/macword?auth=1
    http://answers.microsoft.com/en-us/mac/forum/macoffice2011-macword/microsoft-wor d-for-mac-2011-will-not-open-error/ecc42616-6f49-40bb-b8f5-e21c711ea359

  • Is there a known problem with Nik Software Plugins and PSE10

    I replaced my PC with a new 64-bit Windows 7 workstation. Have used PSE10 for a while for my cataloging and editing and I did 'trial' individual Nik Software plugins on my old Vista PC for a while. I decided to purchase the Nik Software collection and also to take the plunge and go to Lightroom 4 as well. I put PSE10 on my new PC as well because I want to consider how I might modify my workflow to use both in conjunction (perhaps LR4 for cataloging and PSE10 for editing)
    When it came to installing Nik Software Plugins (they are supposed to plugin to Elements and LR4) it seemed to find some of the plugins compatible with both PSE10 and LR4 , some compatible with one of them and some not compatable (apparently) with either, but installed them anyway. But when I use PSE10 now I cannot go from the Organizer into the Editor, it loads the editor interface but not the image. If you open PSE Editor directly and open an image, the image will load and you see 4 of the plugins and I invoke them but the changes dont seem to get applied in PSE10. Then I started reading up on the  web ..... and the consensus seems to be it is not a Nik Software issue but an Abobe editor plugin issue.
    On a side issue, the retailer I bought Nik Software from sent me no product keys (they sent me Apple Aperture keys) - now they are about to replace my delivery with a fresh issue and proper keys ... but if I run into the same problems again, I dont know what to do. This leads me to looking for some definitive advice from those in the know!
    Should I forget about buying Nik Software plugins altogether?
    I see a download is available for LR4-2 .. does anyone know if this fixes Nik Plugin issues there?
    I am minded to go the route of using LR4 as my cataloging preference but to call PSE10 Editor for editing and have all my plugins operate out of PSE10, but I could not get the plugins to work with PSE10 as mentioned. How does one get them to work?
    Is there some workaround or special "way" or "order" to install things ???
    I'm still waiting days for some support from Nik Software ... but they are just going to say there is nothing wrong with their product (and the web seems to concur)
    Any help would be appreciated on the PSE10 Issue.

    17/10/2012. I installed the update - Lightroom 4.2
    It keeps the same product key and found the catalog and the Windows Control Panel only seems V4.2 so the original has been replaced with this upgrade.
    This would be the first time I put down Lightroom  with Photoshop Elements  V.10 already there on the system and I suspect this might have helped with better integration between the 2 products.
    I made sure I then opened Photoshop Elements V10 and I could edit an image (that the Organizer invocation to Photoshop Elements Editor did sucessfully load the image) and I could use existing plugins like Topaz and Noiseware. Also I made sure Lightroom  4.2 could use "Edit with Photoshop Elements " and it did.
    The supplier who had sent me the wrong Nik Software product keys, sent me a corrected version with product keys for Lightroom
    Several web articles I read on Nik Software plugins may be misleading (for example there is one on DPReview) which state that Nik Software plugins are compatable with Photoshop (the main product) but are NOT compatable with Photoshop Elements v10. I can tell anyone who uses Photoshop Elements 10 that they ARE compatable with Photoshop Elements 10, but it can be a little tricky to get them going.
    This is how I sucessfully managed to get the Nik Software Plug-ins
    working (finally) on both Lightroom  and Photoshop Elements v10 at the same time
    Remember my scenario ... I am putting together a new 64 bit Windows 7 PC and I want to be able to continue to use my Photoshop Elements v10 and also to delve into Lightroom for the first time.  I had read all the blurb on Nik Software and it said the plugins were compatable with both and I had downloaded and tested some of them on an old PC anyway, so I knew the principle of installation and operation.
    I had just bought the Nik SOftware Complete Collection in September 2012.
    The box and the CD they come with .... this is where one of the problems is. Let me explain...
    Step 1:
    =======
    Some of the components on the CD are up to date .. and when you elect to install them the sofware tells you that it has found both Lightroom 4.2 and Photoshop Elements V10 and it installs the plugins no problem and they work. Make sure (in these cases) you take their defaults as to the locations the plugins are instlled to. Typically the dual install works for the following components
    Nik Color Efex Prov V4
    Nik Silver Efex V2
    and the plugins go to
    for Photoshop Elements v10           C:\Program Files (x86)\Adobe\Photoshop Elements 10\Plug-Ins\
    for Lightroom 4                                 C:\users\xxxx\AppData\Roaming\Adobe\Lightroom\External Editor Presets\
    After each of the above 2 installs finished I invoked Photoshop Elements v10 first and opened an image in Editor and made sure the plugin was working and inserted my product key and activated it over the web. I then made sure it was also working in Lightroom 4.2 - it was!
    Step 2:
    =======
    When it came to installing the Sharpener 3 component off the vendor's CD, it displayed NEITHER of the two applications on its compatability list at all. And there was no "+" sign where one can add one manually. Furthermore if you continue with setup.exe it crashes. I closed the EXE and confirmed there was no plugin in Photoshop Elements v10 as expected for Sharpener.
    But when I went into Lightroom 4.2 it shows me the 2 Sharpener entities (the RAW and Output one). And I used it and proved the plugins were working through Lightroom  4.2 and I inserted my product key for it when invoking it for the first time via Lightroom  4.2 as well.
    Then I went onto the Nik Software download site and downloaded a more updated version which was Sharpener Version 3.01. When I ran the installer from this download it actually does see and show both Photoshop Elements v10 and Lightroom  4.2 as "compatable" and it installed the plugins from that .. and they both work ... even though I had it working already (seemingly) from the CD install I obviously installed over it and the plugin still works in Lightroom 4.2. It also works now in Photoshop Elements v10. Only issue I had here was I had to re-insert my product key and activate it when I used the plugin via Photoshop Elements v10 for the first time... but if that is the extent of a techincal difficulty - I would take it anytime!.
    Step 3:
    =======
    When it came to installing Viveza 2 off the CD, it only saw Lightroom  4.2 as compatable. I did something similar in this case. I let it install to Lightroom 4.2 as a plugin and proved it worked and activated its produvt key. Then I downloaded V2.009 off the website. I re-installed from it (over the Lightroom 4.2 one obvously again) and it now also sees Photoshop Elements 10 as compatable and installs correctly. Strangely enough I did not have to enter my product key a second time when I went to invoke the plugins via Photoshop Elements v10 in this case. What the hell! - the subtleties of software!
    Step 4:
    =======
    Dfine 2.0 - the setup for the CD again finds NEITHER of the 2 applications on its compatablity list, but it put it into Lightroom 4.2 anyway (like the Sharpener component behaved) and I proved it worked. Then I downloaded version 2.112 from the Nik Software website and it finds both applications compatable. Also I did have to re-enter my product key when first invoking the plugin via the Photoshop Elements v10 editor (like as in the case of Sharpener)
    Step 5:
    =======
    HDR Efex Pro (which comes on the vendors CD with a promise to a free upgrade to HDR Efex Pro 2) .... the setup.exe sees Lightroom  4.2 as compatable but does not see Photoshop Elements  v10. Be careful ... this component is NOT A PLUGIN ... to see and use it in Lightroom 4 you must select photos and then do menu option EXPORT WITH PRESET HDR EFEX PRO. It does not work as a plugin within Photoshop Elements (any version) . I obtained my free upgrade too and it works from Lightroom. Dont even try to configure it manually as a plugin for Elements. Instead if you save files as JPG or TIFF you can open the EXE directly in the Program Files area (if you have 64 bit make sure to open that EXE not the 32 bit one) and you can use it in standalone mode. There is only one menu option within HDr Efex Pro when using it this way ...  File-Open.
    So to conclude ... (leaving HDR Efex aside because we know it will not plugin to Elements) ... I have them all working in both Lightroom and Elements. As I begin to learn Lightroom and move away from Elements for cataloging and edits, I know I can invoke most of my workflow plugins from both products. People say I should persist in Lightroom, but if for some reason I dont, I have the fall back position of having everything working out of Elements 10 anyway. It's been a bit of chore getting to this point, but others might find my workaround useful.

  • There is a problem with Adobe Acrobat/Reader. If it is running please exit and try again. (0:521)

    There is a problem with Adobe Acrobat/Reader. If it is running please exit and try again. (0:521)
    Although I have found other threads in this forum relating to this error - none of the fixes appear to work. I've not found precisely the same error number (0:521), might I need a different fix for this? Has anyone else had the same error?
    Just to note, this appears to be an issue with Internet Explorer 8 on Windows 7 while viewing pdfs 'in-browser' i.e. using the plugin. Other versions of IE on other machines and FF on the same machine work fine on the same pdfs. It also works if you right click the pdf, download and view it in Acrobat Reader 'locally'.
    Any help greatly appreciated, I'm stumped.

    We were getting the same error on a Win 7 machine which had Acrobat 7 (running in compatability mode) and Reader X installed.  When the user was trying to open the link from an email the error 'There is a problem with Adobe Acrobat.....(0:521) would appear and the pdf would not load.
    Investigating the problem I can across an article to uncheck the option "Display PDF in browser" (in the application choose Edit -> Preferences -> Internet).  Undertaking this procedure in Acrobat Reader X however, I could not uncheck this and the path the app was showing was for Acrobat 7!?!
    Therefore, opened Acrobat 7 and undertook the same procedure.  Unchecked the "Display PDF in browser" (in the application choose Edit -> Preferences -> Internet) which I was able to do, saved and closed the application.
    Rechecked Acrobat X and the "Display PDF in browser" could be deselected and the path was now for ..\Reader 10.0\Reader\AcroRd32.exe
    Retried the original email with the link to the pdf and it now opens without error.
    Not too sure if this will help but just thought I would share.

Maybe you are looking for

  • In DBI , how to find out the Source Query used for the Report

    Hi All, How to find out the Source Query used to display the data in the DBI Reports or Dashboards. We can get it in Apps Front end by Going to Help and Record Histroty. But DBI Runs in Internet Explorer so i dont know how to get the source query ( S

  • Does Apple offer Credits for purchase that go on sale shortly after purchase?

    I made purchase and with 7 days the item is now on sale.  Does Apple offer credits for such purchases and if so how does one go about applying for the credits?

  • Macbook Pro Using a Philips Fidelio SoundRing Portable Speaker.

    Macbook Pro Using a Philips Fidelio SoundRing Portable Speaker, it seams to me that i must choose between my internet wifi network or the Phillips speaker wifi, i therefore can not go on the internet when tunes are playing. When i bought this i thoug

  • Trying to add functionality for Approve/Reject a request

    Hi, I'm using Oracle OIM 11g, currently I need to add the functionality to Approve or Reject a given Request through API. I have gone through the following classes in "*Oracle Fusion Middleware Java API Reference for Oracle Identity Manager 11g Relea

  • Answer FaceTime call on my mac?

    Hi I have just installed LION OS & hence facetime on my mac. While I can make calls from my mac no problem, when I make calls to my mac from my iphone, it rings for about 2 seconds then hangs up automatically. The phone reads that I am busy at this t