• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Downloaded ASP files opening in wrong program

New Here ,
Sep 12, 2017 Sep 12, 2017

Copy link to clipboard

Copied

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

Views

2.5K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Engaged , Sep 13, 2017 Sep 13, 2017

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 sy

...

Votes

Translate

Translate
Community Expert ,
Sep 12, 2017 Sep 12, 2017

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 13, 2017 Sep 13, 2017

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 13, 2017 Sep 13, 2017

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 13, 2017 Sep 13, 2017

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Sep 13, 2017 Sep 13, 2017

Copy link to clipboard

Copied

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?!?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 13, 2017 Sep 13, 2017

Copy link to clipboard

Copied

LATEST

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines