Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Can't HTTP POST to ISAPI DLL!

 
   Web Hosting and Web Master Forums (Home) -> IIS RSS
Next:  IIS5 crash (Dr. Watson info)...  
Author Message
kaz

External


Since: Sep 04, 2003
Posts: 4



(Msg. 1) Posted: Thu Sep 04, 2003 12:35 pm
Post subject: Can't HTTP POST to ISAPI DLL!
Archived from groups: microsoft>public>inetserver>iis (more info?)

I have an ISAPI extension written in C++, running under IIS 6. I can
use the GET method to invoke it just fine, but the POST method fails.
I've tried playing with every configuration that I could find, but the
server keeps returning error 501. If I telnet to the server and try
the POST command manually, the HTML response contains the error
message

Bad request (Invalid Verb)

The permissions are wide open; anonymous access is allowed, scripts
and executable are allowed, the extensions are all enabled. I can GET,
but not POST.

In fact I can try a POST method with any URI whatsoever; I
consistently get that error.

 >> Stay informed about: Can't HTTP POST to ISAPI DLL! 
Back to top
Login to vote
timcof

External


Since: Sep 02, 2003
Posts: 912



(Msg. 2) Posted: Tue Sep 09, 2003 12:45 pm
Post subject: RE: Can't HTTP POST to ISAPI DLL! [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Is post listed as a verb within the properties of the extension? Right click the site in question -> properties -> home directory ->
configuration button -> mappings. Double-click your extension and you will see if there are any verb limitations.

Thank you. I hope this information is helpful.

Tim Coffey [MSFT]

This posting is provided “AS IS” with no warranties, and confers no rights. You assume all risk for your use. © 2001 Microsoft
Corporation. All rights reserved.
--------------------
| From: kaz DeleteThis @ashi.footprints.net (Kaz Kylheku)
| Newsgroups: microsoft.public.inetserver.iis
| Subject: Can't HTTP POST to ISAPI DLL!
| Date: 4 Sep 2003 09:35:15 -0700
| Organization: http://groups.google.com/
| Lines: 15
| Message-ID: <cf333042.0309040835.68a56a09 DeleteThis @posting.google.com>
| NNTP-Posting-Host: 64.114.87.129
| Content-Type: text/plain; charset=ISO-8859-1
| Content-Transfer-Encoding: 8bit
| X-Trace: posting.google.com 1062693316 25941 127.0.0.1 (4 Sep 2003 16:35:16 GMT)
| X-Complaints-To: groups-abuse DeleteThis @google.com
| NNTP-Posting-Date: 4 Sep 2003 16:35:16 GMT
| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-online.de!t-online.de!newsfeed.icl.net!newsfeed.fjserv.net!
news.maxwell.syr.edu!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!postnews1.google.com!not-for-mail
| Xref: cpmsftngxa06.phx.gbl microsoft.public.inetserver.iis:273917
| X-Tomcat-NG: microsoft.public.inetserver.iis
|
| I have an ISAPI extension written in C++, running under IIS 6. I can
| use the GET method to invoke it just fine, but the POST method fails.
| I've tried playing with every configuration that I could find, but the
| server keeps returning error 501. If I telnet to the server and try
| the POST command manually, the HTML response contains the error
| message
|
| Bad request (Invalid Verb)
|
| The permissions are wide open; anonymous access is allowed, scripts
| and executable are allowed, the extensions are all enabled. I can GET,
| but not POST.
|
| In fact I can try a POST method with any URI whatsoever; I
| consistently get that error.
|

 >> Stay informed about: Can't HTTP POST to ISAPI DLL! 
Back to top
Login to vote
kaz

External


Since: Sep 04, 2003
Posts: 4



(Msg. 3) Posted: Thu Sep 11, 2003 12:39 pm
Post subject: Re: Can't HTTP POST to ISAPI DLL! [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

timcof DeleteThis @online.microsoft.com (Tim Coffey) wrote in message news:<cjjhVcrdDHA.2080 DeleteThis @cpmsftngxa06.phx.gbl>...
 > Is post listed as a verb within the properties of the extension? Right click the site in question -> properties -> home directory ->
 > configuration button -> mappings. Double-click your extension and you will see if there are any verb limitations.

It's not a script to be mapped to a DLL, but an ISAPI DLL. The URL
looks like

<a style='text-decoration: underline;' href="http://server/dir/application.dll?command?arg1=value1&arg2=value2" target="_blank">http://server/dir/application.dll?command?arg1=value1&arg2=value2</a>

I did try creating a .DLL mapping just to see what would happen, but
it made no difference.

Due to deadline pressures, I gave up on this problem already, and
ended up slightly refactoring the application so that all the data is
uploaded through the URL. It's only a few kilobytes, and is already
base64 encoded, so URL-proofing it was trivial. I replaced CR-LF pairs
in the data with @@, and + characters with *.<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Can't HTTP POST to ISAPI DLL! 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
"Write to file failed" using Biztalk http POST - We're currently having issues with Biztalk's http POST where sometimes we receive a "Write_to_file_failed" in the IIS log. (Since Biztalk uses IIS I thought this forum was the best place to put this. If I'm wrong please let me know and I'll po...

POST Size Limit...Where's it coming from? - We have setup a Windows 2000 Server machine (we'll call this the NEW one) to allow us to migrate websites from an older Windows 2000 Server machine (the OLD one) to. Both are running what appear to be identical setups. However, for some strange reaso...

Installing IIS post XP service pack 1 - I am trying to install IIS on XP Pro after having installed the XP Service Pack 1. The install asks for the XP Service Pack CD which I don't have. I only have a magazine cover disc which the service pack came on and the files it asks for are not on..

Can't POST large amts of data - The data area for system c.. - Ever since upgrading to Windows 2000 SP-latest, my IIS 5 setup won't allow me to post data that posted fine before. Sometimes the POST returns the error (via HTTPODBC and idc/htx file) The data area for system call is too small. I read all about change...

DLLHOST.EXE and ISAPI - Hello, All! I've been using IIS5 and the ISAPI extension for Visual FoxPro (foxisapi.dll) and a VFP COM server without any problems for almost three years. After I installed SP4 for Windows 2000, the DLLHOST.EXE fails to load the foxisapi.dll. I need to...
   Web Hosting and Web Master Forums (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]