Couldnt be downloaded pdf files in ie or chrome
Yes, I'm using Exchange Web Services to download an attachment as in. I already stated in my original post that it works in Firefox and Chrome OK. Hi, I'm having the exact same problem.
I've tried it with a simplified version that only prints the word "Hello". It works perfectly in Chrome but doesn't work in IE. It's the exact same code. I was wondering did you resolve this issue? For future readers: sorry to resurrect a slightly old post - But this also solved our issue with Excel reports rendering in IE10 Thanx.
Was not switching to 'inline'. After a few days we switched back, discovering that it changed the behavior of the control. But rather to add: Response. The content you requested has been removed. Ask a question. Quick access. Search related threads. Remove From My Forums. If they click Retry, it works fine. If they click Save, it works fine. In Firefox, it works fine.
It's kind of hacky, but here's the detail. Action to generate the right link in my view to my controller action. I ignore the "Archive. I have the same problem and cannot offer a good solution besides what Tood suggests, which is an option. Our application is creating PDF documents on the fly and offering them as downloads.
The issue is clearly data-dependent, meaning that some generated files download fine on the first attempt while others reproducibly need the retry. Fiddler shows the server responses to be identical on each access, as far as I can tell. The requests differ, however samples slightly edited :.
The reason that I'm reluctant to add a file extension to the Url is that the suggested download name is generated from item data, submitted with the response and otherwise totally unrelated to the ID. I had the same problem but if I changed the port number of Visual Studio Development Server to another, then this problem disappeared. Stack Overflow for Teams — Collaborate and share knowledge with a private group.
Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Asked 9 years, 8 months ago. Active 4 years, 3 months ago. Viewed 9k times. How can I allow the user to open the file when the click Open the first time? Matt Grande. Matt Grande Matt Grande Install fiddler and have it running when you make the first request. Learn more here. This article provides information about resolving the Couldn't be downloaded error that occurs when you try to download files by using Internet Explorer 9 or a later version.
You cannot download files or view files from a website when you connect to the site over HTTPS secure sites by using Internet Explorer 9 or a later version. For example, you visit a secure website such as a bank or other financial institution and try to download or view a PDF file.
The file does not appear in Internet Explorer and you may see an error message similar to the following:. This problem occurs if the Do not save encrypted pages to disk option in Internet Explorer is selected.
To download files, Internet Explorer must create a cache or temporary file.
0コメント