Click here to Skip to main content
15,909,652 members
Home / Discussions / Web Development
   

Web Development

 
GeneralUnlinking Links Pin
Lewis14-Mar-02 7:42
Lewis14-Mar-02 7:42 
GeneralADO.NET in ASP.NET Pin
Mazdak14-Mar-02 4:33
Mazdak14-Mar-02 4:33 
GeneralRe: ADO.NET in ASP.NET Pin
Paul Watson14-Mar-02 21:39
sitebuilderPaul Watson14-Mar-02 21:39 
GeneralRe: ADO.NET in ASP.NET Pin
Mazdak16-Mar-02 7:37
Mazdak16-Mar-02 7:37 
GeneralPaging Recordset problem Pin
Philip Patrick13-Mar-02 22:35
professionalPhilip Patrick13-Mar-02 22:35 
GeneralRe: Paging Recordset problem Pin
Nick Parker14-Mar-02 4:35
protectorNick Parker14-Mar-02 4:35 
GeneralRe: Paging Recordset problem Pin
Philip Patrick14-Mar-02 4:53
professionalPhilip Patrick14-Mar-02 4:53 
GeneralISAPI Extension Problem Pin
code dope13-Mar-02 1:27
code dope13-Mar-02 1:27 
Help!

I am producing a Web enabled application and am trying to
run an ISAPI extension dll using an HTML Form input in
Front Page 2000.(I have installed IIS, Server Extensions
etc. on my PC.)

However, when I press the "submit" button to call the
extension, passing in the string in the Text Box on the
Form, I get the "Page cannot be displayed" message and
the "Error 501/505 - Not implemented or not supported
Internet Explorer "

The HTML for the Form looks like this:

<FORM ACTION="http://myServer/Scripts2/ISAPI002.dll?
Default?" METHOD="POST" >
<p>Text Input: <input type="text" name="Text" size="12"
tabindex="1"></p>
<p><input type="submit" value="Submit" name="B1">&nbsp;
<input type="reset" value="Reset" name="B2"></p>
</FORM>


I have overloaded the Default function in the Parse Map to
accept the String input, as follows:

BEGIN_PARSE_MAP(CISAPI002Extension, CHttpServer)

ON_PARSE_COMMAND(Default, CISAPI002Extension,
ITS_PSTR)
ON_PARSE_COMMAND_PARAMS("Input=~")

DEFAULT_PARSE_COMMAND(Default, CISAPI002Extension)

END_PARSE_MAP(CISAPI002Extension)


I can run the dll from a Hyperlink, on the same HTML page,
with no problem at all using HTML as follows:

<p><a href="http://myServer/Scripts2/ISAPI002.dll?Sample
Text">Input</a></p>

But, when I try to run this using the Form to input
the "Sample Text" (or any other text) I get the message
above.

I have produced the dll using the MFC Wizard and have
changed the Parse Map to accept a string variable. This
works using the Hyperlink version but not the Form Input.

Any help would be greatly appreciated.


code dope.
GeneralRe: ISAPI Extension Problem Pin
code dope13-Mar-02 3:14
code dope13-Mar-02 3:14 
GeneralASP.NET Pin
Mazdak12-Mar-02 19:12
Mazdak12-Mar-02 19:12 
GeneralRe: ASP.NET Pin
omkamal14-Mar-02 7:21
omkamal14-Mar-02 7:21 
GeneralRe: ASP.NET Pin
Mazdak14-Mar-02 9:12
Mazdak14-Mar-02 9:12 
GeneralRe: ASP.NET Pin
omkamal15-Mar-02 6:43
omkamal15-Mar-02 6:43 
GeneralRe: ASP.NET Pin
Andy Smith17-Mar-02 21:02
Andy Smith17-Mar-02 21:02 
GeneralRe: ASP.NET Pin
Mazdak17-Mar-02 21:07
Mazdak17-Mar-02 21:07 
GeneralRe: ASP.NET Pin
Andy Smith18-Mar-02 13:08
Andy Smith18-Mar-02 13:08 
GeneralAgain Datagrid Pin
Mazdak12-Mar-02 7:53
Mazdak12-Mar-02 7:53 
GeneralDynamic LinkButton Text Pin
Marco Cunha12-Mar-02 6:26
Marco Cunha12-Mar-02 6:26 
GeneralRe: Dynamic LinkButton Text Pin
James T. Johnson12-Mar-02 9:18
James T. Johnson12-Mar-02 9:18 
GeneralRe: Dynamic LinkButton Text Pin
Paul Watson14-Mar-02 1:02
sitebuilderPaul Watson14-Mar-02 1:02 
GeneralRe: Using a variable from code behind in aspx Pin
James T. Johnson17-Mar-02 21:54
James T. Johnson17-Mar-02 21:54 
GeneralRe: Using a variable from code behind in aspx Pin
Paul Watson17-Mar-02 22:11
sitebuilderPaul Watson17-Mar-02 22:11 
GeneralRe: Dynamic LinkButton Text Pin
Marco Cunha14-Mar-02 1:48
Marco Cunha14-Mar-02 1:48 
GeneralNewbie Help With Cookies and Forms Pin
kashmir999912-Mar-02 3:55
kashmir999912-Mar-02 3:55 
GeneralRe: Newbie Help With Cookies and Forms Pin
Roger Wright12-Mar-02 13:19
professionalRoger Wright12-Mar-02 13:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.