![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| Welcome
to Tech Support Forum home to more then 136,000 problems solved. Issues
have included: Spyware, Malware, Virus Issues, Windows, Microsoft,
Linux, Networking, Security, Hardware, and Gaming Getting your
problem solved is as easy as: 1. Registering for a free account 2. Asking your question 3. Receiving an answer Registered members: * See fewer ads. * And much more..
|
| Want to know how to post a question? click here | Having problems with spyware and pop-ups? First Steps |
|
|||||||
| Internet Explorer Forum Internet Explorer Support. |
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) |
|
Registered User
Join Date: Jun 2009
Location: Florida
Posts: 1
OS: Vista Business
|
IE 8 displays HTML code instead of webpage
I have ie 8 on a dell laptop vista bus. I have and aspx page on a password protected folder of my server (windows 2003) that asks for an id number, looks up the student in a database, retrieves his data and displays it and then asks you for an email address to send the certificate to. This page works fine.
It then redirects to page 2 which has vb code that sets variables from the previous form and looks up a county name from a database. The code then creates a JPEG image from an existing graphics background and puts the textual data in the graphics image and saves to disk. The code then creates a mailer object, mailer = Server.CreateObject("SMTPsvg.Mailer"), and attaches the jpg image and sends the mail. THIS WORKS FINE. Next the jpg image is deleted and the asp:textboxes are updated to reflect the status and a continue button is made visible. The problem is that IE 8, while performing the code with out error then displays the HTML code and not the webpage. The HTML code follows: <%@ Page Language="vb" Aspcompat="True" AutoEventWireup="false" Codebehind="email1aNew.aspx.vb" Inherits="CertsDelivery.email1aNew" codePage="65001"%> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html xmlns="http://www.w3.org/1999/xhtml" > <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=7">(added to try no luck) <meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1"> <meta name="CODE_LANGUAGE" content="Visual Basic .NET 7.1"> <meta name=vs_defaultClientScript content="JavaScript"> <meta name=vs_targetSchema content="http://schemas.microsoft.com/intellisense/ie3-2nav3-0">(tried all settings) <title>email1aNew</title> </head> <body MS_POSITIONING="GridLayout"> <form id="Form1" runat="server"> <asp:textbox id="tb1" style="Z-INDEX: 107; LEFT: 408px; POSITION: absolute; TOP: 114px" runat="server"></asp:textbox> <asp:label id="Label4" style="Z-INDEX: 111; LEFT: 419px; POSITION: absolute; TOP: 416px" runat="server" Width="269px" CssClass="label1" Visible="False">Done, file deleted...</asp:label> <asp:label id="Label3" style="Z-INDEX: 110; LEFT: 417px; POSITION: absolute; TOP: 394px" runat="server" Width="269px" CssClass="label1" Visible="False">File could not be mailed.......</asp:label> <asp:label id="Label2" style="Z-INDEX: 109; LEFT: 414px; POSITION: absolute; TOP: 393px" runat="server" Width="269px" CssClass="label1" Visible="False">File successfully emailed......</asp:label> <asp:textbox id="tbsn" style="Z-INDEX: 101; LEFT: 406px; POSITION: absolute; TOP: 173px" runat="server" Font-Bold="True" ForeColor="Blue" ReadOnly="True" Enabled="False" BackColor="WhiteSmoke" Width="280px"></asp:textbox> <asp:textbox id="tbCity" style="Z-INDEX: 102; LEFT: 406px; POSITION: absolute; TOP: 197px" runat="server" Font-Bold="True" ForeColor="Blue" ReadOnly="True" Enabled="False" BackColor="WhiteSmoke" Width="280px"></asp:textbox> <asp:textbox id="tbDateCourseCompleted" style="Z-INDEX: 103; LEFT: 406px; POSITION: absolute; TOP: 221px" runat="server" Font-Bold="True" ForeColor="Blue" ReadOnly="True" Enabled="False" BackColor="WhiteSmoke" Width="280px"></asp:textbox> <asp:textbox id="tbCertificateNumber" style="Z-INDEX: 104; LEFT: 406px; POSITION: absolute; TOP: 245px" runat="server" Font-Bold="True" ForeColor="Blue" ReadOnly="True" Enabled="False" BackColor="WhiteSmoke" Width="280px"></asp:textbox> <asp:textbox id="tbDateSent" style="Z-INDEX: 105; LEFT: 406px; POSITION: absolute; TOP: 269px" runat="server" Font-Bold="True" ForeColor="Blue" ReadOnly="True" Enabled="False" BackColor="WhiteSmoke" Width="280px"></asp:textbox> <asp:textbox id="EmailBox" style="Z-INDEX: 106; LEFT: 409px; POSITION: absolute; TOP: 340px" runat="server" Enabled="False" Width="297px"></asp:textbox> <asp:Label id="Label1" style="Z-INDEX: 108; LEFT: 410px; POSITION: absolute; TOP: 371px" runat="server" Width="269px" CssClass="label1" Visible="False">Graphics file created.....</asp:Label> <asp:Button id="but1" style="Z-INDEX: 112; LEFT: 410px; POSITION: absolute; TOP: 450px" runat="server" Width="229px" Visible="False" Text="Return to Email Form...." CausesValidation="False"></asp:Button> </form> </body> </html> I have tried about every meta tag combo I can think of. If anyone has suggestions I sure would be anxious to try them. Many thanks, stan
|
|
|
|
| Important Information |
|
Join the #1 Tech Support Forum Today - It's Totally Free!
TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free. Join TechSupportforum.com Today - Click Here |
![]() |
| Thread Tools | |
|
|