Link to home
Start Free TrialLog in
Avatar of at999
at999

asked on

Navigation cancelled Error fixed by putting IP Address

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
Avatar of giltjr
giltjr
Flag of United States of America image

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.
Avatar of at999
at999

ASKER

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
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.
Avatar of at999

ASKER

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

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.  
Avatar of at999

ASKER

Nope website is not in the trusted zone ;...
Avatar of at999

ASKER

Ok one question ... If you would have been asked to fix this navigation cancelled error, how would you have solved it....  thnks...
ASKER CERTIFIED SOLUTION
Avatar of giltjr
giltjr
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of at999

ASKER

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?
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?
Avatar of at999

ASKER


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 ?
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.
Avatar of at999

ASKER

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.