user files and someone else suggested clearing the obj/ folder. you might have something using a hardcoded or partially hardcoded url or a url from a config file that you haven't updated to https. So, if you are having this problem and you've cleared the config files and it didn't help, check your code for redirects. So for example, if you are on you can't just switch to b/c that port only serves https, not http. ![]() On a normal web page, changing to and calling Redirect would work fine but in IISExpress you are using custom ports. I have a new requirement that requires testing in HTTPS. In addition, there is special handling of localhost when you are in dev mode which redirected you back to HTTP, though I don't know why. Our application has a section that redirects you to HTTPS if you are on HTTP (yes, I know there are better ways but this is legacy). ![]() I recently ran into this exact problem and tried most of the suggestions but it turns out my problem was something different.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |