Download request refers to an invalid range.
Problem reported by vasanth - July 27, 2018 at 10:15 AM
Resolved
Hi,
 
When I download a document from my development machine it works fine. But when I download a document after deploying the application in server it gives me "Session expired" error. And when I check the stack trace it says "Download request refers to an invalid range."
 
I am using DocumentUltimate 4.1
 
- Vasanth

4 Replies

Reply to Thread
0
Cem Alacayir Replied
Employee Post

When using DocumentUltimate on Azure (or on other Cloud service or in multi-server environments), you need to make sure:

  1. Sessions are shared between instances.
     
  2. Document cache folder is shared between instances.
Please read the instructions here:
0
Anonymous Replied
When I view the file using document viewer. The Download request refers to an invalid range error is displayed.
I have included the cache path in Web.config too. I couldn't resolve it? I'm using Document Ultimate 4.6.5 version not on Azure environment.
Please help me. 
0
Cem Alacayir Replied
Employee Post
Please update to the latest. This will fix ""Download request refers to an invalid range" error hiding the actual error.

Version 4.9.5/4.9.6 - October 12, 2019
  • Fixed: When downloading document parts (http range), instead of the actual error, "Download request refers to an invalid range"error could be thrown. This could hide the actual error related to document caching.

0
Anonymous Replied
Thanks I will try it

Reply to Thread