locked
Resource interpreted as Image but transferred with MIME type application/octet-stream RRS feed

  • Question

  • User-1660931340 posted

    I have one big problem and if this post on wrong place plece please tell me :)

    I have few similar aspx pages and problem exist only in one of them on part of code which I show you below

    <div class="h_mnu_01">
                    <table cellpadding=0 cellspacing=0><tr> 
                    <td><a id="LBTNadmin" runat="server" href="Admin.aspx"><asp:Label ID="LBLadmin" runat="server" Text="Administration"></asp:Label></a></td>
                    <td><a id="LBTNregsys" runat="server" href="RegSys.aspx"><asp:Label ID="LBLregsys" runat="server" Text="Regulatory System"></asp:Label></a></td>
                    <td><a id="LBTNinput" runat="server" href="Input.aspx"><asp:Label ID="LBLinput" runat="server" Text="Input"></asp:Label></a></td>
                    <td><a id="LBTNquery" runat="server" href="Query.aspx"><asp:Label ID="LBLquery" runat="server" Text="Query"></asp:Label></a></td>
                    <td><a id="LBTNstatistics" runat="server" href="Statistics.aspx"><asp:Label ID="LBLstats" runat="server" Text="Statistics"></asp:Label></a></td>
                    <td><a id="LBTNtools" runat="server" href="Tools.aspx"><asp:Label ID="LBLtools" runat="server" Text="Tools"></asp:Label></a></td>
                    <td><a id="LBTNmessagebox" runat="server" href="MessageBox.aspx"><asp:Label ID="LBLmessage" runat="server" Text="Message Box"></asp:Label></a></td>
                    <td><a id="LBTNdefault" runat="server" href="Default.aspx"><asp:Label ID="LBLhelp" runat="server" Text="Help"></asp:Label></a></td>
                    <td><a id="LBTNlogout" runat="server" onserverclick="LBTNlogout_Click"><asp:Label id="LBLlogout" runat="server" Text="Logout"></asp:Label></a></td>
                    </tr></table>
            </div>
            

    On that page I get this message: Resource interpreted as Image but transferred with MIME type application/octet-stream: http://localhost:4362/images/bar.png".

    Also here is a part of CSS code regarding to source code from above:

    .h_mnu_01 table{
    	margin: 0;
    	padding: 0;
    	float: left;
    	width: 100%;
    	background: #669AFF;
    	background-image: url(images/bar.png);
    	width:auto;
    }
    
    .h_mnu_01 table td{
    display: inline;
    width:auto;
    }
    
    .h_mnu_01 table td a{
    	float: left;
    	color: #FFFFFF;
    	text-decoration: none;
        margin-top: 4px;
        padding-bottom: 4px;
    	padding-top: 4px;
    	padding-left: 11px;
    	padding-right: 11px;
    	border-right: 10px;
    	border-right-width: 1px;
    	border-right-color: #5083E9;
    	border-right-style: Solid;
    }





    Thursday, November 15, 2012 6:00 PM

All replies

  • User-474980206 posted

    you don't have your mime mapping correct on your webserver. 

    Thursday, November 15, 2012 11:40 PM
  • User-1660931340 posted

    How to set it, I'm running app from VS 2008 and also try to deploy app on IIS but problem is still there

    Friday, November 16, 2012 4:30 AM