We help IT Professionals succeed at work.

Navigation cancelled Error fixed by putting IP Address

590 Views
Last Modified: 2012-06-22
One of our external website is using frames.  The home page - default.cfm has lot of frames.
The code  looks like this -

<html>
<frameset rows="*,64,1" framespacing="0" border="0" frameborder="0">
  <frameset name="frmTop" cols="*,180">
    <frame name="frmMainPage" target="main" src="MainPage.cfm" scrolling="no" marginwidth="12" marginheight="2">
    <frame name="frmResult" src="blank.htm" scrolling="auto" noresize>
  </frameset>
  <frameset name="frmBottom" cols="239,*">
    <frameset rows="*,27%">
      <frame name="frmToolBar" src="toolbar.htm" scrolling="no" noresize marginwidth="12" marginheight="0">
      <frame name="frmStatus" src="toolStatus.htm" marginwidth="12" marginheight="0" scrolling="no" noresize target="contents">
    </frameset>
    <frame name="frmToolInput" src="blank.htm" scrolling="auto" marginwidth="12" marginheight="0">
  </frameset>
</frameset>
</html>

-----------MainPage.cfm puts in
MainPage.cfm callss body onload function -i.e. it has code: <body oload ="loadToolPage()">  

--------loadToolPage(nameoftoolbar ) looks like this
loadToolPage(nameoftoolbar )
{
      top.frmToolInput.document.location = nameoftoolbar ;
}

i.e when whole page default.cfm is loaded, the frame frmMainPage(MainPage.cfm) calls loadToolPage() which specifies location of Frame - frmToolInput

Now, for SOME of the users the frame frmToolInput displays "Navigation Cancelled " Error.
It is working perfectly on many of the web-users but for some external users its giving navigation cancelled error.

I just found that one of our colleague fixed it by using IP Address of the external box instead of Website's address(I donot know where they put IP Address or how it was actually done ).

I want to understand how it would have been fixed... Please explain ....

Thanks a lot
Comment
Watch Question

CERTIFIED EXPERT
Top Expert 2014

Commented:
You need to understand what they did.  Could it be as simple as they did http://a.a.a.a where a.a.a.a is the IP address of your web server?

Are you using http or https?  Are the users having the issue using http or https?  IE V7 is setup so that  will display the message "Navigation Canceled" if there is secure (https) and non-secure (http) on the same page.  Security settings must be changed to allow "mixed content" to be displayed.

Author

Commented:
Thasnk giltjr,

Pl see my comments... Thanks a lot
 
You need to understand what they did.
>>> I was told that they fixed it by using IP address instead of website's address... But I went through the whole code(of webfolder) but I could not find that IP Address in the code...

Are you using http or https?  Are the users having the issue using http or https?  IE V7 is setup so that  will display the message "Navigation Canceled" if there is secure (https) and non-secure (http) on the same page.   >>> There is a login page - login.cfm and we have https on that. After user loggins an HTTP page is shown - ie. default.cfm comes up which is just http.  

 Security settings must be changed to allow "mixed content" to be displayed
>> I tried to reproduce this error on my machine by unchecking "display mixed content" but I could not reproduce this error... So I donot know if it was fixed by just checking "display mixed content" on the user side ...

Thanks again.. pl reply
CERTIFIED EXPERT
Top Expert 2014

Commented:
Did you use https when you unchecked display mixed content?

Until you find out what they actually did and where they did it we would all just be guessing.

Author

Commented:
Did you use https when you unchecked display mixed content?
>>Yes, by default its https for the login page and then once user logs in its http. This is where was giving navigation cancelled error... I had unchecked display mixed content when I tried on my pc and I did not get the error.  

Until you find out what they actually did and where they did it we would all just be guessing.
>> I donot have any option pl help...

Thnks

CERTIFIED EXPERT
Top Expert 2014

Commented:
Do you have the host name listed in your trusted zone in IE's security setting?

If so, it is possible that IE is allowing mixed content because you trust it.  

Author

Commented:
Nope website is not in the trusted zone ;...

Author

Commented:
Ok one question ... If you would have been asked to fix this navigation cancelled error, how would you have solved it....  thnks...
CERTIFIED EXPERT
Top Expert 2014
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Author

Commented:
Thanks a lot for the info....
The frame that gives navigation cancelled first of all displays "blank.htm"
 <frame name="frmToolInput" src="blank.htm" scrolling="auto" marginwidth="12" marginheight="0">

Do you think this webpage's name like "blank" would be firewalled?
CERTIFIED EXPERT
Top Expert 2014

Commented:
It is possible, but I doubt it.

Is it just one remote user that is having the problem?

All users at one remote location?

Or multiple users are different locations?

Author

Commented:

Ya till date just one external  user had this problem.... hmm I think one user at one location....

I have question, how would you have fixed this Navigation Cancelled error on the server side ?
CERTIFIED EXPERT
Top Expert 2014

Commented:
Unless I knew what the problem was, I couldn't.

If I made the assumption that the problem was https with some hrefs that were using http.  I would do what is necessary so that all hrefs used the same protocol (http vs. https) as the main URL.  This would require either server or client side scripts to generate/change hrefs.

Author

Commented:
Thanks a lot giltjr, information you gave was very useful.. i will close this question. I will try to find out other options to fix such issues on the serverside  Thanks again.

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.