Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

IIS Issue: HTTPS pages are not loading: "Page Load Error"

Posted on 2009-04-03
16
1,286 Views
Last Modified: 2013-11-16
I have little experience with Server Administration.  I am working on a .NET site right now where I am just uploading files via FTP and their "Computer Administrator" is dealing with setting up the security.  However, he doesn't seem to know what is going on here.

We had the site working at www.somename.com/something but have since tried to move it to www.somename.com .  The site appears but with one problem.  When I try to go to the login page which is linked to a web application, it does not appear.  This happens with any https pages that I view within the site (there are two).  

These pages were working just fine before the move.  Any ideas?  
0
Comment
Question by:4thShiftInnovations
  • 8
  • 8
16 Comments
 
LVL 22

Expert Comment

by:cj_1969
ID: 24061145
Do the sites work with http and just not https?  If so, then you probably have a redirection issue where something is trying to use http and is being blocked.

if not, then check your configuration files and your code.  You have changed the relative path of the application so if anything has the path hard coded to look into or refer to the sub directory then this is going to break, since it is not there any more.

As a test to see if it is the directory reference, try creating a new virtual site on a different port.  Give it a different starting directory and then configure a virtual directory to point to the root of the site where the app is location ... this should reproduce the original structure (just on a different port) so that you can test the code ... assuming you did not make any code/configuration changes to facilitate the move to begin with.

If this works, check your code, you have something with a hard coded reference to the sub directory.
0
 

Author Comment

by:4thShiftInnovations
ID: 24061482
I can see in the address bar that these links are going to the correct location with the HTTPS:// preceding the address.  
0
 
LVL 22

Expert Comment

by:cj_1969
ID: 24061541
When the page comes up do a view source and see what is in the page ... see if there is a full URL reference to the sub directory in there.  A reference to a JS page on the site that controls content could cause a problem like this if it cannot load the js code.
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 

Author Comment

by:4thShiftInnovations
ID: 24061642
When I viewed the source it is correct.  Looks something like this .... href="https://www.mysite.com/mysub/"
0
 
LVL 22

Expert Comment

by:cj_1969
ID: 24061670
Didn't you move the "mysub" content to the root of the server ... this is not going to work if the code is not there.
0
 

Author Comment

by:4thShiftInnovations
ID: 24061737
I guess I need to explain better.  No code has been moved anywhere but rather their administrator pointed www.mysite.com to the virtual directory where our .NET site is.  The mysub content has always been in the root and has never moved or been modified during our development or moving process.  

Would it be better to just have him move our site to the root?
0
 
LVL 22

Expert Comment

by:cj_1969
ID: 24061811
In which case if you browse the site it should no longer be there.
Based on this information your old structure would have been ...

Root
   - mysub
   - something (app directory)

You changed root so it now points to something which means there is no mysub directory any more, it is at a higher level than the root of the server.

- mysub
- Root/something  (app directory)

If this is the case then youcan do one of two things ...
1. have them create a virtual directory in the new root folder back to the folder
2. copy/move the folder into the new root folder (move would be preferred so that you do not have multiple copies but you might want to copy first, test, delete original if/when it works)

The virtual directory is the easiest but it is worth considering option 2 to keep the structure clean and physically matching the actual references.  No right or wrong, depends on what meets your needs.
0
 

Author Comment

by:4thShiftInnovations
ID: 24061925
If this was the problem, wouldn't the HTTPS page within the project that is not working, be working like all the other pages within the project.
0
 
LVL 22

Expert Comment

by:cj_1969
ID: 24062009
If the page is located within the subfolder then yes, it SHOULD ... it is possible that the browser or IIS has that paged cached which is allowing it to be displayed.  If it is not in the sub folder then no, it will display just fine and just have a problem with the content.
0
 

Author Comment

by:4thShiftInnovations
ID: 24062179
Below is an example outline of what I am talking about.  There are secure pages within the project that are not displaying and secure pages outside the project that are not displaying.  Basically, if it is a secure page, it is not displaying and the administrator claims he has set up security properly.

Project root
default.aspx -Displays fine
-Directory1
->file1.aspx - Displays fine
->file2.aspx - Displays fine
-Directory2
->form1.html - Displays fine
->secureForm.html - DOES NOT DISPLAY "PAGE LOAD ERROR"
-Directory3
->file3.aspx -Displays fine
->file4.aspx -Displays fine

mySub Project root in different location
secureLogin.html - DOES NOT DISPLAY "PAGE LOAD ERROR"
0
 
LVL 22

Expert Comment

by:cj_1969
ID: 24062221
What is the content of secureForm.html?
Page Load Error implies that the page is accessbile but that something within it is causing problems.
And, are all of these pages being accessed via https?
Can you access the page via http?  Obviously not if the page has been restricted to SSL only but I thought I would ask.
0
 

Author Comment

by:4thShiftInnovations
ID: 24062310
Yeah if I try it with HTTP in front, it says "Page not found".  Only the secureForm.html and secureLogin.html are being accessed using HTTPS.  There should be nothing wrong with the content of these pages since they were working just fine before the move.  I am going to try and find out more about exactly what the administrator did during the move.  
0
 
LVL 22

Expert Comment

by:cj_1969
ID: 24062435
Try using https on any other page ... SSL only will restrict access to only SSL but no reference will make it available through either ... so, if you can access a working page via SSL then the SSL configuration should be correct.  If a working non-ssl page does not work over ssl then its the ssl configuration that is the problem.

If ssl is working then there is almost certainly something in the page that is causing the problem.  There could also be a problem in the web.config if there is one.  See if you can get a copy of this file and see if there are any hard coded references to the sub directory that might be causing a problem.
0
 

Author Comment

by:4thShiftInnovations
ID: 24062485
Ok, I tried to go to one of the working pages with HTTPS in front and it did not work.  So is it for sure an SSL issue?
0
 
LVL 22

Accepted Solution

by:
cj_1969 earned 500 total points
ID: 24062525
It would appear to be.  If the page loads using http and not https then this would indicate that https is not configured correctly.  I would have them verify the port that https is configured to use ... the installation of a certificate is pretty straight forward ... they might have changed the default ssl port for the site which would cause a problem unless you qualify the URL request and append the port to the domain.  Otherwise port 443 is the default.  Another thing that could/might cause this is something else using the default port.  If another site is configured to use this as the default or another web server (apache for example) is installed and configured to use port 443 for ssl then this will intercept the requests and of course the page you are requesting will not be available.
0
 

Author Comment

by:4thShiftInnovations
ID: 24087816
Thanks for the help cj 1969.  I have opened another question that focuses on all possible SSL issues.  See link below:

http://www.experts-exchange.com/Networking/Protocols/Application_Protocols/SSL/Q_24302149.html
0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
quarantine versus delete 6 74
IIS Authorization for Web Service 2 60
TLS/SSL Diable 3DES ciper suites 4 51
EmsisoftAntiMalware is it trusted reliable 4 15
Imagine a situation that you have installed SSL (http://en.wikipedia.org/wiki/Secure_Sockets_Layer) Certificate on your Cisco ASA (Cisco Adaptive Security Appliance) firewall. Installation of SSL certificate on ASA is an another topic for which you …
SSL stands for “Secure Sockets Layer” and an SSL certificate is a critical component to keeping your website safe, secured, and compliant. Any ecommerce website must have an SSL certificate to ensure the safe handling of sensitive information like…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question