Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

132
Views
Mixed Content problem and 413 (Request Entity Too Large)

I want to upload an image in asp.net MVC, the website is HTTPS and the API is HTTP and occurred below error (I found several questions about this problem but couldn't solve the problem):

Mixed Content The page at was loaded over HTTPS but requested an insecure resource This request has been blocked the content must be served over HTTPS

I add this code to web.config

<httpProtocol>
        <customHeaders>
            <add name="Content-Security-Policy" value="upgrade-insecure-requests" />
        </customHeaders>
    </httpProtocol>

The new error occurred

413 (Request Entity Too Large)

But the size of image is 50 kb

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

  1. Open IIS
  2. Select the Web Site
  3. Open Configuration Editor
  4. Select system.webServer and expand it, then locate serverRuntime
  5. Change uploadReadAheadSize value to 104857600
over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!