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
Ask ANY Question

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

Troubleshooting
Research
Professional Opinions
Ask a Question
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

troubleshooting Question

IE7 displaying HTML code instead of rendered page. ONLY on Local Pages

Avatar of mpulis
mpulis asked on
Web BrowsersWindows VistaWeb Applications
5 Comments1 Solution694 ViewsLast Modified:
Hi,

I have noticed quite a strange situation. I am not an Internet Explorer user (I use Firefox), but lately I need to use a software which makes use of HTML pages to display its content (Sony Ericsson PC-Suite).

I realised that instead of the HTML I am getting the HTML code, thus I tried to load the HTML page (.htm) from Internet Explorer 7 and got the same result - HTML Source code. I tried to open a tab and also got its HTML source code shown. If I try to load any other web page from the Internet (and not from my computer) it works fine, without any problems at all. This problem only shows when IE7 tried to load the page off my hard disk.

I tried also to install IE8 RC1 maybe it fixes my problem but to no avail, therefore I decided to uninstall it again. I played a lot with my settings, disabled all the addons, played with the intranet security settings, disabled my firewall and antivirus to no avail. I am really out of ideas and has been trying any other hint on the web but am really out of ideas.


May I also point out that I did use spyware tools (Malware bytes / Spybot / Adaware) in order to make sure its not some malware problem bu to no avail.

Any help is extremely appreciated.



Below please find what I am getting when I press new tab:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 
<html>
 
    <head>
        <link rel="stylesheet" type="text/css" href="ErrorPageTemplate.css" />
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <title>Welcome to Tabbed Browsing</title>
        <script src="errorPageStrings.js" language="javascript" type="text/javascript">
        </script>
        <script src="httpErrorPagesScripts.js" language="javascript" type="text/javascript">
        </script>
    </head>
 
    <body onLoad="javascript:setTabInfo('tabInfoBlockID');" class="tabInfo">
 
        <table width="730" cellpadding="0" cellspacing="0" border="0">
 
            <tr>
                <td id="tabIconAlign" width="60" align="left" valign="top" rowspan="2">
                    <img src="tab_icon.png" id="tabIcon" alt="Tab icon">
                </td>
                <td id="mainTitleAlign" valign="middle" align="left" width="*">
                    <h1 id="mainTitle">You've opened a new tab</h1>
                </td>
            </tr>
 
            <tr>
                <td id="ErrorCodeAlign" class="errorCodeAndDivider" align="right">&nbsp;
                    <div class="divider"></div>
                </td>
            </tr>
 
          <tr>
            <td>
              &nbsp;
            </td>
            <td>
              <p><h2 id="withTabs1">With tabs you can:</h2>
              <ul>
                <li id="withTabs2">Use one Internet Explorer window to view all your webpages.</li>
                <li id="withTabs3">Open links in a background tab while viewing the page you're on.</li>
                <li id="withTabs4">Save and open multiple webpages at once by using favorites and home page tabs.</li>
              </ul>
              </p>
 
              <p><h2 id="getStarted1">To get started:</h2>
              <ul>
                <li id="getStarted2">Press the CTRL key while clicking links (or use the middle mouse button).</li>
                <li id="getStarted3">Click any tab with the middle mouse button to close it.</li>
                <li id="getStarted4">Press ALT+ENTER from the address bar or search box to open the result in a new tab.</li>
              </ul>
              </p>
            </td>
          </tr>
          <tr>
              <td>
                  &nbsp;
              </td>
              <td>
                  <p>
                      <table>
                        <tr>
                            <td valign="top">
                                <img src="help.gif" id="helpIcon" border="0" alt="Help Icon" class="actionIcon">
                            </td>
                            <td valign="top">
                                <a href="http://go.microsoft.com/fwlink/?LinkId=62982"><ID id="learnMoreAboutTabs">Learn more about tabs</ID></a>
                            </td>
                        </tr>
                      </table>
                  </p>
              </td>
          </tr>
          <!-- tab info -->
          <tr>
            <td id="tabInfoBlockAlign" align="right" valign="top">
                &nbsp;
            </td>
            <td id="tabInfoAlign" align="left" valign="middle">
                <h4>
                    <table>
                      <tr>
                          <td valign="top">    
                              <a href="#" onclick="javascript:expandCollapse('tabInfoBlockID', false); setTabInfo('tabInfoBlockID'); return false;">
                                  <span id="tabImageContainer"></span>
                                  <noscript>
                                      <img src="down.png" id="tabInfoBlockIDImage" border="0" class="actionIcon" alt="Show more tab shortcuts">
                                  </noscript>
                              </a>
                          </td>
                          <td valign="top">
                              <span id="tabInfoContainer"></span>
                              <noscript><ID id="hideTabHotkeys">Show more tab shortcuts</ID></noscript>
                          </td>
                      </tr>
                    </table>
                </h4>
                    <div id="tabInfoBlockID" class="infoBlock" style="display: none">
                    <p>
                      <b><ID id="tabHotKey1">Keyboard shortcuts</b>
                      <table width="100%">
                          <tr>
                              <td width="45%" valign="top">
                                  <ID id="hotkeyInfo1">Open links in a new tab in the background</ID>
                              </td>
                              <td width="55%" valign="top">
                                  <ID id="hotkeyInfo1a">CTRL+click</ID>
                              </td>
                          </tr>
                          <tr>
                              <td valign="top">
                                  <ID id="hotkeyInfo2">Open links in a new tab in the foreground</ID>
                              </td>
                              <td valign="top">
                                  <ID id="hotkeyInfo2a">CTRL+SHIFT+click</ID>
                              </td>
                          </tr>
                          <tr>
                              <td valign="top">
                                  <ID id="hotkeyInfo3">Open a new tab in the foreground</ID>
                              </td>
                              <td valign="top">
                                  <ID id="hotkeyInfo3a">CTRL+T</ID>
                              </td>
                          </tr>
                          <tr>
                              <td valign="top">
                                  <ID id="hotkeyInfo4">Open a new tab from the Address bar</ID>
                              </td>
                              <td valign="top">
                                  <ID id="hotkeyInfo4a">ALT+ENTER</ID>
                              </td>
                          </tr>
                          <tr>
                              <td valign="top">
                                  <ID id="hotkeyInfo5">Open a new tab from the search box</ID>
                              </td>
                              <td valign="top">
                                  <ID id="hotkeyInfo5a">ALT+ENTER</ID>
                              </td>
                          </tr>
                          <tr>
                              <td valign="top">
                                  <ID id="hotkeyInfo6">Open Quick Tabs (thumbnail view)</ID>
                              </td>
                              <td valign="top">
                                  <ID id="hotkeyInfo6a">CTRL+Q</ID>
                              </td>
                          </tr>
                          <tr>
                              <td valign="top">
                                  <ID id="hotkeyInfo7">Switch between tabs</ID>
                              </td>
                              <td valign="top">
                                  <ID id="hotkeyInfo7a">CTRL+TAB/CTRL+SHIFT+TAB</ID>
                              </td>
                          </tr>
                          <tr>
                              <td valign="top">
                                  <ID id="hotkeyInfo8">Switch to a specific tab number</ID>
                              </td>
                              <td valign="top">
                                  <ID id="hotkeyInfo8a">CTRL+<i>n</i> (<i>n</i> can be 1-8)</ID>
                              </td>
                          </tr>
                          <tr>
                              <td valign="top">
                                  <ID id="hotkeyInfo9">Switch to the last tab</ID>
                              </td>
                              <td valign="top">
                                  <ID id="hotkeyInfo9a">CTRL+9</ID>
                              </td>
                          </tr>
                          <tr>
                              <td valign="top">
                                  <ID id="hotkeyInfo10">Close current tab</ID>
                              </td>
                              <td valign="top">
                                  <ID id="hotkeyInfo10a">CTRL+W</ID>
                              </td>
                          </tr>
                          <tr>
                              <td valign="top">
                                  <ID id="hotkeyInfo11">Close all tabs</ID>
                              </td>
                              <td valign="top">
                                  <ID id="hotkeyInfo11a">ALT+F4</ID>
                              </td>
                          </tr>
                          <tr>
                              <td valign="top">
                                  <ID id="hotkeyInfo12">Close other tabs</ID>
                              </td>
                              <td valign="top">
                                  <ID id="hotkeyInfo12a">CTRL+ALT+F4</ID>
                              </td>
                          </tr>
                       </table>
                    </p>
                    <p>
                      <b><ID id="tabHotKey2">Mouse shortcuts</b>
                      <table width="100%">
                          <tr>
                              <td width="45%" valign="top">
                                  <ID id="hotkeyInfo13">Open a link in a background tab</ID>
                              </td>
                              <td width="55%" valign="top">
                                  <ID id="hotkeyInfo13a">Click the middle mouse button on a link</ID>
                              </td>
                          </tr>
                          <tr>
                              <td valign="top">
                                  <ID id="hotkeyInfo14">Open a new tab</ID>
                              </td>
                              <td valign="top">
                                  <ID id="hotkeyInfo14a">Double-click the empty space to the right of the last tab</ID>
                              </td>
                          </tr>
                          <tr>
                              <td valign="top">
                                  <ID id="hotkeyInfo15">Close a tab</ID>
                              </td>
                              <td valign="top">
                                  <ID id="hotkeyInfo15a">Click the middle mouse button on the tab</ID>
                              </td>
                          </tr>
                      </table>
                    </p>
                </div>
            </td>
          </tr>
          <tr>
              <td>
                 &nbsp;
              </td>
              <td>
                 <div class="divider"></div>
              </tr>
          </tr>
          <tr>
              <td>
                  &nbsp;
              </td>
              <td>
                  <p>
                    <table width="100%">
                        <tr>
                            <form name="skipTabFrom" onSubmit="javascript:skipTabCheck(document.skipTabFrom);" action="javascript:window.location.replace('about:blank')">
                              <td>
                                <input type="checkbox" name="skipTabCheckbox" id="dontShowPage">
                                <label for="dontShowPage" id="dontShowPageText">Don't show this page again</label>
                              </td>
                              <td align="right">
                                  <button id="closeButtonStyle" type="submit" style="width: 6.5em;"><ID id="closeButtonText">Close</ID></button>
                              </td>
                            </form>
                        </tr>
                    </table>
                  </p>
              </td>
          </tr>
        </table>
    </body>
</html>
Clipboard01.jpg
ASKER CERTIFIED SOLUTION
Avatar of jwmcpeak
jwmcpeakFlag of United States of America image

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Commented:
This problem has been solved!
Unlock 1 Answer and 5 Comments.
See Answers