6 Replies Latest reply on Sep 13, 2017 9:00 PM by chrism20937173

    Downloaded ASP files opening in wrong program

    chrism20937173

      Sites often use .asp files for you to download that are their forms to be viewed in PDF form. When clicking on those files on my Mac in either Firefox or Safari, the file is opened automatically in Dreamweaver, showing it in coding format. If I try to open the ASP file from the Download folder with Reader, it starts, then I'm told there's a problem with the file and it can't be opened. Have run into this problem with other computers.

      Chris

        • 1. Re: Downloaded ASP files opening in wrong program
          Jon Fritz II Adobe Community Professional & MVP

          What happens if you give the downloaded .asp a .pdf extension?

          1 person found this helpful
          • 2. Re: Downloaded ASP files opening in wrong program
            chrism20937173 Level 1

            Some will open as pdfs if renamed. Others produce error message that the document is damaged, can't be repaired and couldn't be opened.

            • 3. Re: Downloaded ASP files opening in wrong program
              Jon Fritz II Adobe Community Professional & MVP

              Chances are those documents are simply broken.

               

              I've never run into PDF being saved as .asp personally. The only reason I could see that extension being used is "accidentally" in some kind of automatic PDF generation script.

              • 4. Re: Downloaded ASP files opening in wrong program
                pziecina Adobe Community Professional

                Most server side languages have built in functions for making pdf pages from server side code, (from database data normally). It may be that the code is not appending the .pdf to the downloaded files as it should, or not adding the correct eof marker, but is doing so for downloads that are opened in the browser.

                 

                asp has not been updated for a number of years, so it is possible that your server code for creating pdf's has become corrupted over the years, or the function calls for the actual creation no longer work correctly, you could try checking the scripts for any incorrect code.

                • 5. Re: Downloaded ASP files opening in wrong program
                  Level 3

                  Without providing the forum with a link to the problem you describe it's impossible to determine what the issue may be. The most you'll receive at this time is merely speculative guesses much like what you have already received.

                   

                  Regardless, despite the fact that when you try to open an .asp file on your computer and it opens Dreamweaver, this is not a Dreamweaver problem, and as such: does not belong in the Dreamweaver forum.

                   

                  The default application for file types is delegated by your operating system. You have an operating system question at this time, not a Dreamweaver question. You may be able to find more relevant suggestions by submitting your inquiry to a forum that focuses on the operating system you're using. To save you time here's a quick tip: right click the file, get info, choose the appropriate application that you'd like to use to open these filetypes from the "Open with" section of get info and click the Change All... button to change all similar filetypes to open with the application you've chosen.

                   

                  If you're trying to download a pdf from someone's website and it's not opening as expected the best method of receiving support for opening your file may be to contact the website where you're experiencing the problem. This begs the question: have you contacted the website and explained the issue you're having with their website?!?

                  • 6. Re: Downloaded ASP files opening in wrong program
                    chrism20937173 Level 1

                    Somehow, apparently .asp files were associated with Dreamweaver for opening. Changing one .asp file to be opened with Adobe Reader by default, then saying that all .asp files should be treated the same seems to have fixed it. I will hope that .asp in general will open satisfactorily with Reader, although online sources say that they should open with web browsers. Thanks for the comments and suggestions.