Unprocessed ASPX script by IIS
am 23.09.2007 23:13:57 von Maciej
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" %>
Untitled Page
Re: Unprocessed ASPX script by IIS
am 24.09.2007 05:35:29 von Ken Schaefer
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" 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" %>
>
>
>
>
> Untitled Page
>
>
>
>
>
>
Re: Unprocessed ASPX script by IIS
am 24.09.2007 09:28:28 von David Wang
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 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" %>
>
>
>
>
> Untitled Page
>
>
>
>
>