Solved

FIREFOX does not display .ASP

Posted on 2009-05-19
13
665 Views
Last Modified: 2013-12-24
Im trying to view my web site (inbuild) and the .asp pages are displayed as text in firefox, yet works fine in Chrome and IE 7/8. iM HOSTING WITH 1 & 1 so no problems with the server side.

Iv seen other answers but it does not help . Is it content type ?
0
Comment
Question by:freddyfudfucker
[X]
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
  • 9
  • 2
13 Comments
 
LVL 31

Expert Comment

by:Wayne Barron
ID: 24420324
sounds like a huge problem.

Can you please provide a sample of the code that you are using.
(Make sure that you test it with FF and that it displays as text first)

This happens ONLY when you forget something.
It should not be to much trouble to find it.

Carrzkiss
0
 
LVL 7

Expert Comment

by:thiyaguk
ID: 24420364

>All the asp pages say: content="text/html;
Yes, that's what the pages say, but the mime type is still wrong - For instance, in Firefox, have a look at Tools > Page Info - Type,
you will see it's "text/plain".
>It's an Apache server & it can't handle asp pages. That's probably it.
Sounds like you could be right...
0
 
LVL 31

Expert Comment

by:Wayne Barron
ID: 24420424
What are you talking about thiyaguk:
You are in the wrong post I believe.

Carrzkiss
0
Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

 

Author Comment

by:freddyfudfucker
ID: 24430050
The server is IIS 7 and just to confirm that the .asp pages work fine in IE. Have alook http://www.hornetsailingclub.co.uk/marina.asp 

0
 
LVL 31

Expert Comment

by:Wayne Barron
ID: 24430118
Freddy.
Can you please provide the code that breaks under FF?
As I request above http:Q_24420337.html?cid=1066#a24420324

Your code is not working in FF because something is missing.
IE is more leniant then other browsers are in displaying your code properly.

If you can provide the code, either myself or someone else can
Help you to resolve the issue.

If you do not want to supply the code then follow these steps.

(Using FF ONLY)
Create a dusplicate copy of your code marina.asp
Then
Remove all the code and put it in a text file.
Add in a little at a time, refreshing the FF page on each code insertion.
This way, you can see which line(s) of code are breaking once you see the code being written to the page.

Other then this, we will need to see your actual code.

Carrzkiss
0
 
LVL 31

Expert Comment

by:Wayne Barron
ID: 24430140
awesome.
I just viewed your site in FF and wow!!!
It turned it into a Notepad Browser... :~)
Not good at all.
OK>
Going to look at your code, may not need your source, will let you know in a few what I find out.

Carrzkiss
0
 
LVL 31

Expert Comment

by:Wayne Barron
ID: 24430161
OK.
Going to have to see your code.
I saved your page to my computer and ran it inside&outside of IIS.
And the page displays perfect in FF.

So, the asp code is needed to duplicate what we are seeing on the serverside.

Carrzkiss
0
 

Author Comment

by:freddyfudfucker
ID: 24430347
Actually it is hosted  hosted on linux lite ... but it still displays in IE .. here is the code
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/main.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
<!-- InstanceBeginEditable name="doctitle" -->
<title>Hornet Marina</title>
<!-- InstanceEndEditable -->
<!-- InstanceBeginEditable name="head" -->
<!-- InstanceEndEditable -->
<link href="tg1.css" rel="stylesheet" type="text/css" />
<style type="text/css"> 
<!--
body {
	background-color: #E3DDCB;
}
body,td,th {
	color: #333;
}
-->
</style></head>
 
<body>
<div id="container">
  <table width="850" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><img src="images/bannerhi.jpg" width="851" height="293" alt="hornet" /></td>
    </tr>
  </table>
  <table width="850" border="0" cellspacing="0" cellpadding="0"  height="40" background="images/slicebackground.jpg">
    <tr>
      <td> &nbsp;&nbsp;<a href="index.html" class="topnavgrey">Home</a> | <a href="com.asp" class="topnavgrey">Committee & Staff</a> |  <a href="clubhouse.asp" class="topnavgrey">The Club House</a> | <a href="marina.asp" class="topnavgrey">The Marina </a>| <a href="membership.asp" class="topnavgrey">Membership</a> | <a href="history.asp" class="topnavgrey">History</a> | <a href="contacts.asp" class="topnavgrey">Contacts</a></td>
    </tr>
  </table>
 
  <!-- InstanceBeginEditable name="top" -->
  <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><p>&nbsp;</p>
        <table width="100%" border="0" cellspacing="0" cellpadding="8">
          <tr>
            <td width="4%">&nbsp;</td>
            <td width="67%" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td height="40" background="images/slicebackground.jpg"  class="headlinedarkgrey">&nbsp;&nbsp;The Marina</td>
              </tr>
            </table>
              <table width="100%" border="0" cellpadding="8" cellspacing="0" class="normaltext">
                <tr>
                  <td><p>The club operates its Marina  facilities under Licences from the Ministry of Defence who own the land and  waterfront and the Marina  is shared with the Joint Services Adventurous Sail Training Centre (JSASTC).</p>
                    <p>The Marina  has approximately 210 berths for sailing yachts up to 40 feet LOA. Yachts are  generally double berthed alongside pontoons which have fresh water but not  electricity supply.</p>
                    <p>The Marina  has a very high level of occupancy and applicants for a berth generally have to  join a waiting list. In accordance with the Clubs Constitution, priority is  given to serving members of the armed forces who live or work in the Portsmouth area and who  are full members of the RNSA, ASA or RAFSA. Because yachts are double berthed,  compatibility of yachts alongside each other will also be taken into account  when allocating berths. Time on the waiting list will therefore depend on a  number of factors and may extend to several years particularly for yachts over  30 feet LOA. Double berthing also precludes berthing for multihull yachts.</p>
                    <p>Facilities are available for members to lift masts, and to  slip and store yachts ashore for the winter. Short term lift-outs for  maintenance are available to members throughout the year. Members who do not  have an annual berth may be able to berth alongside in the marina in the winter  season, depending on availability. All these facilities are limited and must be  booked well in advance with the Marina Manager. Application forms are available  in the Members section of this site. All these facilities are charged to  members at reasonable rates and must be paid in advance. </p>
                  <p>The Marina  is operated by the Marina Manager, Stewart Peters, and two assistants. Members  are generally required to attend and assist when their yachts are lifted or  launched.  </p>
                  <p><a href="membership.asp" class="smalllinks">... apply here for membership </a></p></td>
                </tr>
              </table></td>
            <td width="29%" valign="top"><table width="100%" border="0" cellpadding="2" cellspacing="0" class="bdr_text">
              <tr>
                <td height="36" background="images/slicebackground.jpg" class="headlinedarkgrey">&nbsp;Club House Opening Times</td>
              </tr>
              <tr>
                <td><table width="100%" border="0" cellpadding="2" cellspacing="0">
                  <tr>
                    <td width="33%" bgcolor="#E3DDCB">Day Time</td>
                    <td width="33%" bgcolor="#E3DDCB">Bar</td>
                    <td width="34%" bgcolor="#E3DDCB">Galley</td>
                  </tr>
                  <tr>
                    <td class="textsmall">Monday</td>
                    <td class="textsmall">1200  1400</td>
                    <td class="textsmall">0945  1345</td>
                  </tr>
                  <tr>
                    <td class="textsmall">Tuesday</td>
                    <td class="textsmall">1200  1400</td>
                    <td class="textsmall">0945  1345</td>
                  </tr>
                  <tr>
                    <td class="textsmall">Wednesday</td>
                    <td class="textsmall">1200  1400</td>
                    <td class="textsmall">0945  1345</td>
                  </tr>
                  <tr>
                    <td class="textsmall">Thursday</td>
                    <td class="textsmall">1200  1400</td>
                    <td class="textsmall">0945  1345</td>
                  </tr>
                  <tr>
                    <td class="textsmall">Friday</td>
                    <td class="textsmall">1200  1500</td>
                    <td class="textsmall">0945  1430</td>
                  </tr>
                  <tr>
                    <td class="textsmall">Saturday</td>
                    <td class="textsmall">1200  1500</td>
                    <td class="textsmall">0945  1430</td>
                  </tr>
                  <tr>
                    <td class="textsmall">Sunday</td>
                    <td class="textsmall">1200  1500</td>
                    <td class="textsmall">0945  1430</td>
                  </tr>
                </table>
                  <br/>
                  <table width="100%" border="0" cellpadding="2" cellspacing="0">
                    <tr>
                      <td width="33%" bgcolor="#E3DDCB">Evenings</td>
                      <td width="33%" bgcolor="#E3DDCB">Bar</td>
                      <td width="34%" bgcolor="#E3DDCB">Galley</td>
                    </tr>
                    <tr>
                      <td class="textsmall">Monday</td>
                      <td class="textsmall">closed</td>
                      <td class="textsmall">closed</td>
                    </tr>
                    <tr>
                      <td class="textsmall">Tuesday</td>
                      <td class="textsmall">closed</td>
                      <td class="textsmall">closed</td>
                    </tr>
                    <tr>
                      <td class="textsmall">Wednesday</td>
                      <td class="textsmall">closed</td>
                      <td class="textsmall">closed</td>
                    </tr>
                    <tr>
                      <td class="textsmall">Thursday</td>
                      <td class="textsmall">closed</td>
                      <td class="textsmall">closed</td>
                    </tr>
                    <tr>
                      <td class="textsmall">Friday</td>
                      <td class="textsmall">1830- 2300</td>
                      <td class="textsmall">1830  2100</td>
                    </tr>
                    <tr>
                      <td class="textsmall">Saturday</td>
                      <td class="textsmall">1830- 2300</td>
                      <td class="textsmall">1830- 2300</td>
                    </tr>
                    <tr>
                      <td class="textsmall">Sunday</td>
                      <td class="textsmall">closed</td>
                      <td class="textsmall">closed</td>
                    </tr>
                  </table></td>
              </tr>
              <tr>
                <td></td>
              </tr>
            </table></td>
          </tr>
        </table></td>
    </tr>
  </table>
  <!-- InstanceEndEditable -->
  <p>&nbsp;</p>
 
  <table width="100%" border="0" cellspacing="0" cellpadding="0"  height="40" background="images/bottomslice.jpg">
    <tr>
      <td width="30%" background="images/bottomslice.jpg" class="textsmall">&nbsp;&copy; Hornet Sailing Club 2009</td>
      <td width="23%" class="smalllinks">&nbsp;</td>
      <td width="47%" background="images/bottomslice.jpg" class="textsmall"><p>Hornet Sailing Club | Haslar Road | Gosport | Hants | PO12 2AQ</p></td>
    </tr>
  </table>
 
</div>
</body>
<!-- InstanceEnd --></html>

Open in new window

0
 
LVL 31

Accepted Solution

by:
Wayne Barron earned 500 total points
ID: 24430474
OK.
This is an HTML File
This is not ASP.
LINUX Lite. Does not run ASP.
So, instead of the file extention of
http://www.hornetsailingclub.co.uk/marina.asp
Change it to
http://www.hornetsailingclub.co.uk/marina.htm
And you will be good to go.

If you want to run asp pages on LINUX then you will need to install the ASP Support for it.
As LINUX does not support ASP on it's own, ASP is a Microsoft Windows thing ONLY!
Unless 3rd party components are installed.

Good Luck
Carrzkiss
0
 
LVL 31

Expert Comment

by:Wayne Barron
ID: 24430483
here is some reading for you
http://pcquest.ciol.com/content/linux/103101103.asp

Carrzkiss
0
 
LVL 31

Expert Comment

by:Wayne Barron
ID: 24430488
By the way.
Changing the file extention, is the actual file itself.
Save it as  marina.htm
0
 
LVL 31

Expert Comment

by:Wayne Barron
ID: 24577631
freddyfudfucker:
What is the deal with this issue?
I think that I gave you the proper information and thus fixed your issue.

This needs to be finalized.

Carrzkiss
0

Featured Post

WordPress Tutorial 4: Recommended Plugins

Now that you have WordPress installed, understand the interface, and know how to install new parts, let’s take a look at our recommended plugins.

Question has a verified solution.

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

When deciding to adopt any help desk solutions many factors should be explored before taking decisions. This will change from business to another but in general there are some kind of rule of thumb. Here are some quick tips: Do we need only ticket…
Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
The purpose of this video is to demonstrate how to connect a WordPress website to Google Analytics. This will be demonstrated using a Windows 8 PC Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php :…
The purpose of this video is to demonstrate how to integrate Mailchimp with Facebook. This will be demonstrated using a Windows 8 PC. Mailchimp and Facebook will be used. Log into your Mailchimp account. : Click on your name. Go to Account Setti…

615 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