Last post Nov 16, 2012 04:30 AM by onlyproblem
None
0 Points
7 Posts
Nov 15, 2012 06:00 PM|onlyproblem|LINK
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; }
All-Star
58174 Points
15650 Posts
Nov 15, 2012 11:40 PM|bruce (sqlwork.com)|LINK
you don't have your mime mapping correct on your webserver.
Nov 16, 2012 04:30 AM|onlyproblem|LINK
How to set it, I'm running app from VS 2008 and also try to deploy app on IIS but problem is still there
None
0 Points
7 Posts
Resource interpreted as Image but transferred with MIME type application/octet-stream
Nov 15, 2012 06:00 PM|onlyproblem|LINK
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
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:
All-Star
58174 Points
15650 Posts
Re: Resource interpreted as Image but transferred with MIME type application/octet-stream
Nov 15, 2012 11:40 PM|bruce (sqlwork.com)|LINK
you don't have your mime mapping correct on your webserver.
None
0 Points
7 Posts
Re: Resource interpreted as Image but transferred with MIME type application/octet-stream
Nov 16, 2012 04:30 AM|onlyproblem|LINK
How to set it, I'm running app from VS 2008 and also try to deploy app on IIS but problem is still there