aspx not processed on GET only POST

aspx not processed on GET only POST

am 21.04.2008 09:37:00 von Palan

I have a problem with IIS and .NET 2.0. When I post to an aspx page
everything acts as expected, the page is executed and I get the correct
response. But when I send a GET request IIS just returns the code of the aspx
page.
I tried switching to .NET 1.1 and it did not behave this way.

I have been unable to discover why this happens. Any help would be
appreciated.

Re: aspx not processed on GET only POST

am 21.04.2008 13:06:27 von reb01501

Palan wrote:
> I have a problem with IIS and .NET 2.0. When I post to an aspx page
> everything acts as expected, the page is executed and I get the
> correct response. But when I send a GET request IIS just returns the
> code of the aspx page.
> I tried switching to .NET 1.1 and it did not behave this way.
>
> I have been unable to discover why this happens. Any help would be
> appreciated.

As a guess, I would suggest you look at your httphandlers

There was no way for you to know it (except maybe by browsing through some
of the previous questions in this newsgroup before posting yours - always a
recommended practice) , but this is a classic asp newsgroup. ASP.Net bears
very little resemblance to classic ASP so, while you may be lucky enough to
find a dotnet-knowledgeable person here who can answer your question, you
can eliminate the luck factor by posting your question to a group where
those dotnet-knowledgeable people hang out. I suggest
microsoft.public.dotnet.framework.aspnet or the forums at www.asp.net.

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"

Re: aspx not processed on GET only POST

am 21.04.2008 13:24:00 von Palan

"Bob Barrows [MVP]" wrote:

> Palan wrote:
> > I have a problem with IIS and .NET 2.0. When I post to an aspx page
> > everything acts as expected, the page is executed and I get the
> > correct response. But when I send a GET request IIS just returns the
> > code of the aspx page.
> > I tried switching to .NET 1.1 and it did not behave this way.
> >
> > I have been unable to discover why this happens. Any help would be
> > appreciated.
>
> As a guess, I would suggest you look at your httphandlers
>
> There was no way for you to know it (except maybe by browsing through some
> of the previous questions in this newsgroup before posting yours - always a
> recommended practice) , but this is a classic asp newsgroup. ASP.Net bears
> very little resemblance to classic ASP so, while you may be lucky enough to
> find a dotnet-knowledgeable person here who can answer your question, you
> can eliminate the luck factor by posting your question to a group where
> those dotnet-knowledgeable people hang out. I suggest
> microsoft.public.dotnet.framework.aspnet or the forums at www.asp.net.
>
>

Sorry. I didn't realize it was for classic ASP. I will take it to the proper
location now :-) Thanks for your reply.