I have Receiver.ASPX script which seems not to be processed by IIS, as
the browser returns blank page with source containing aprocessed ASPX
script (see below). Can you tell how can I find what is the reason and
how can I fix it ?

Regards,

Maciej

<%@ Page Language="C#" AutoEventWireup="true"
CodeFile="Receiver.aspx.cs" Inherits="Receiver" %>

<!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">
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:Label ID="Label1" runat=server Text="Agent name to
call:"></asp:Label>
<br />
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
<asp:CheckBox ID="Checkbox1" runat="server" Checked=false
Text="Is local?" />
<br />
<br />
<asp:Button ID="Button1" runat="server" Text="Start
Receiver" OnClick="Button1_Click" />
<p>
<asp:Literal ID="Literal1" runat="server"></
asp:Literal>
</p>
</div>
</form>
</body>
</html>

Re: Unprocessed ASPX script by IIS by Ken

Ken
Sun Sep 23 20:35:29 PDT 2007

a) You are reqesting the page via http://servername/pagename.aspx? (and not
double-clicking on the file in Explorer etc)?

b) Are ASPX pages mapped to aspnet_isapi.dll (I am assuming you are using
IIS 5 or IIS 6 here)

Cheers
Ken

--
My IIS Blog: www.adOpenStatic.com/cs/blogs/ken

"Maciej" <mgawinecki@gmail.com> wrote in message
news:1190582037.482408.96730@22g2000hsm.googlegroups.com...
>I have Receiver.ASPX script which seems not to be processed by IIS, as
> the browser returns blank page with source containing aprocessed ASPX
> script (see below). Can you tell how can I find what is the reason and
> how can I fix it ?
>
> Regards,
>
> Maciej
>
> <%@ Page Language="C#" AutoEventWireup="true"
> CodeFile="Receiver.aspx.cs" Inherits="Receiver" %>
>
> <!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">
> <head runat="server">
> <title>Untitled Page</title>
> </head>
> <body>
> <form id="form1" runat="server">
> <div>
> <asp:Label ID="Label1" runat=server Text="Agent name to
> call:"></asp:Label>
> <br />
> <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
> <asp:CheckBox ID="Checkbox1" runat="server" Checked=false
> Text="Is local?" />
> <br />
> <br />
> <asp:Button ID="Button1" runat="server" Text="Start
> Receiver" OnClick="Button1_Click" />
> <p>
> <asp:Literal ID="Literal1" runat="server"></
> asp:Literal>
> </p>
> </div>
> </form>
> </body>
> </html>
>


Re: Unprocessed ASPX script by IIS by David

David
Mon Sep 24 00:28:28 PDT 2007

If Receiver.aspx script is not processed by IIS and you get the
unprocessed ASPX script in the browser, then it means the server is
misconfigured to handle ASPX. By default, IIS is very simple and does
not know how to process anything like ASP or ASP.Net. One has to
install software and add configuration to make IIS process things like
ASP or ASP.Net. Your problem indicates that the server either doesn't
have the right software installed, or it is improperly configured.

The problem is either:
1. There is no Application mapping for .aspx
2. If IIS6, you have mistakenly configured Mime Type for .aspx to
allow download of the script content
3. You have a Wildcard Application Mapping that returns the script
content without processing it

Please verify that ASP.Net is installed on the server and if so, it
was installed AFTER IIS was installed (or else you will have to
manually run aspnet_regiis.exe -i to configure IIS to handle ASP.Net).
Installing .Net Framework on the server should do all these things.


//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//





On Sep 23, 2:13 pm, Maciej <mgawine...@gmail.com> wrote:
> I have Receiver.ASPX script which seems not to be processed by IIS, as
> the browser returns blank page with source containing aprocessed ASPX
> script (see below). Can you tell how can I find what is the reason and
> how can I fix it ?
>
> Regards,
>
> Maciej
>
> <%@ Page Language="C#" AutoEventWireup="true"
> CodeFile="Receiver.aspx.cs" Inherits="Receiver" %>
>
> <!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">
> <head runat="server">
> <title>Untitled Page</title>
> </head>
> <body>
> <form id="form1" runat="server">
> <div>
> <asp:Label ID="Label1" runat=server Text="Agent name to
> call:"></asp:Label>
> <br />
> <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
> <asp:CheckBox ID="Checkbox1" runat="server" Checked=false
> Text="Is local?" />
> <br />
> <br />
> <asp:Button ID="Button1" runat="server" Text="Start
> Receiver" OnClick="Button1_Click" />
> <p>
> <asp:Literal ID="Literal1" runat="server"></
> asp:Literal>
> </p>
> </div>
> </form>
> </body>
> </html>