Try our conversational search powered by Generative AI!

Uploading HTML file to media folder

Vote:
 

Hi

I am trying to upload html file (around 420KB) to episerver cms media folder. Files are uploaded successfully however when I am trying to view the files using 

it only shows me truncted file (around 320KB).
This is happening even when I try to download the same file. I am getting truncted file back.
Just to put this in context we have other file types (pdf, word documents etc) with larger sizes and they are uploading/downloading without any issues.
The issue is not happening on local developer machine and is only happening in DXC integration/staging/production environments only.
I have tried to increase the file size by adding following in my web.config without any luck
<requestFiltering removeServerHeader="true" >
<requestLimits maxAllowedContentLength="1048576000" />
</requestFiltering>


<httpRuntime maxRequestLength="1048576000" requestValidationMode="2.0" />
#218668
Mar 18, 2020 9:31
Vote:
 

Hi Aftab,

I am experiencing a very similar issue.  Did you happen to find a soluition?

Thanks,


Tyler

#226373
Aug 11, 2020 21:33
Vote:
 

Hi Tyler

The issue happens becuase of Application Insights. So you basically have couple of options.

  1. Disable application insights
  2. Add your html file directly in the application root (e.g under content folder)

We have basically gone with option 2.

Regards

Aftab

#226421
Aug 12, 2020 13:08
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.