Web Page listener for POST message problem

Web Page listener for POST message problem

am 04.01.2008 19:11:22 von muntyanu

Hi All,

I created listener for POST message from client as a simple ASP.NET
web page and process that message in Page_Load method. If I use url
for posting message to my listener with explicit web page name
http://myserver/formhandler/listener.aspx it works without error. But
my clients will need to post message using url without mentioning page
name like this http://myserver/formhandler. In IIS for formhandler
virtual directory I set default document as listener.aspx. And now my
issue starts: server responds every time with error 405 Method not
allowed. I set properly mapping for aspx extension in configuration to
allow POST method.

I would greatly appreciate if anyone can point me what else I have to
set to overcome this issue.

Thank you very much in advance,
Roman

RE: Web Page listener for POST message problem

am 04.01.2008 20:38:02 von pbromberg

See here for what to do to fix it:

http://support.microsoft.com/kb/216493
-- Peter
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
MetaFinder: http://www.blogmetafinder.com


"muntyanu@hotmail.com" wrote:

> Hi All,
>
> I created listener for POST message from client as a simple ASP.NET
> web page and process that message in Page_Load method. If I use url
> for posting message to my listener with explicit web page name
> http://myserver/formhandler/listener.aspx it works without error. But
> my clients will need to post message using url without mentioning page
> name like this http://myserver/formhandler. In IIS for formhandler
> virtual directory I set default document as listener.aspx. And now my
> issue starts: server responds every time with error 405 Method not
> allowed. I set properly mapping for aspx extension in configuration to
> allow POST method.
>
> I would greatly appreciate if anyone can point me what else I have to
> set to overcome this issue.
>
> Thank you very much in advance,
> Roman
>

Re: Web Page listener for POST message problem

am 06.01.2008 12:53:38 von muntyanu

On Jan 4, 2:38=A0pm, Peter Bromberg [C# MVP]
wrote:
> See here for what to do to fix it:
>
> http://support.microsoft.com/kb/216493
> -- Peter
> Site:http://www.eggheadcafe.com
> UnBlog:http://petesbloggerama.blogspot.com
> MetaFinder:http://www.blogmetafinder.com
>
>
>
> "munty...@hotmail.com" wrote:
> > Hi All,
>
> > I created listener for POST message from client as a simple ASP.NET
> > web page and process that message in Page_Load method. If I use url
> > for posting message to my listener with explicit web page name
> >http://myserver/formhandler/listener.aspxit works without error. But
> > my clients will need to post message using url without mentioning page
> > name like thishttp://myserver/formhandler. In IIS for formhandler
> > virtual directory I set default document as listener.aspx. And now my
> > issue starts: server responds every time with error 405 Method not
> > allowed. I set properly mapping for aspx extension in configuration to
> > allow POST method.
>
> > I would greatly appreciate if anyone can point me what else I have to
> > set to overcome this issue.
>
> > Thank you very much in advance,
> > Roman- Hide quoted text -
>
> - Show quoted text -

Thanks, Peter
Unfortunately I have this issue for the other reason because I have
IIS v6 on my server. Microsoft states that this bug was fixed in v6.
Any suggestions why I am getting this error in IIS v6 ?

Thanks again for attention to my issue,
Roman