Microsoft SQL isapi extension - 405 Method Not Allowed - POST queries are not allowed - OpenXML

Microsoft SQL isapi extension - 405 Method Not Allowed - POST queries are not allowed - OpenXML

Post by Frederic Vacho » Wed, 17 Apr 2002 21:41:31



I have IIS installed on a Win2000 Server and i have another IIS instalation
on my Window XP laptop.

Posting a form (<FORM>) to an XML file works fine on XP but does not work
fine on Win2000.

On Win2000 I have the following error :

-------------------------------------------------
ERROR: 405 Method Not Allowed
HResult: 0x80004005
Source: Microsoft SQL isapi extension
Description: POST queries are not allowed.
-------------------------------------------------

Here is the sample that i tried on my 2 distinct IIS Instalation

http://msdn.microsoft.com/library/en-us/xmlsql/ac_openxml_1pv0.asp

All this is working perfectly on XP and does not work on 2K.

please note the use of the following code

<form name="Employee"
      action="http://localhost/nwind/Template/UpdateEmployee.XML"
      method="POST">

 
 
 

Microsoft SQL isapi extension - 405 Method Not Allowed - POST queries are not allowed - OpenXML

Post by Bryant Like » Thu, 18 Apr 2002 02:23:07



[snip]

Quote:> -------------------------------------------------
> ERROR: 405 Method Not Allowed
> HResult: 0x80004005
> Source: Microsoft SQL isapi extension
> Description: POST queries are not allowed.
> -------------------------------------------------

In the SQLXML Virtual Directory Management tool, do you have the "Allow
POST" checkbox checked?

--
Bryant

 
 
 

Microsoft SQL isapi extension - 405 Method Not Allowed - POST queries are not allowed - OpenXML

Post by Frederic Vacho » Tue, 23 Apr 2002 22:46:00


That was it... i did use a script found on MSDN instead of doing it all
manualy...

the "Allow Post" method was not checked....

THANKS Bryant!




> [snip]
> > -------------------------------------------------
> > ERROR: 405 Method Not Allowed
> > HResult: 0x80004005
> > Source: Microsoft SQL isapi extension
> > Description: POST queries are not allowed.
> > -------------------------------------------------

> In the SQLXML Virtual Directory Management tool, do you have the "Allow
> POST" checkbox checked?

> --
> Bryant