Click here to Skip to main content
15,893,486 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I am developing a web application. Employee image upload is one of the option. Its working fine in http. when i try to upload image in https, the page cannot be displayed. In https mode i can able to upload 20 kb file not more than that.

What I have tried:

I have given maxRequest and maxAllowedContentLenth also upto 1 gb. but it won't work.
Posted
Updated 27-Sep-16 4:41am
v2

1 solution

With what little information you have provided (not even an error message) you need to check your SSL cert. It is probably not valid/trusted and blocking your ability to upload. Just simply changing http to https isn't how that works, so if you don't have an ssl cert, you'll need to go purchase one and install it in your IIS server.

What Are SSL Certificates? | DigiCert.com[^]

SSL Certificate Installation: Microsoft IIS 7 | DigiCert.com[^]

IIS 7: Install a certificate | SSL Certificates - GoDaddy Help US[^]
 
Share this answer
 
Comments
senkmrm 27-Sep-16 23:53pm    
Hi, SSL certificate is already installed in the server. when I try to upload a 250 kb image, it shows error like "This page can’t be displayed

•Make sure the web address https://xyz.net is correct.
•Look for the page with your search engine.
•Refresh the page in a few minutes.

But it works fine in chrome.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900