Questions tagged [isapi-extension]

29 questions
4
votes
3 answers

ISAPI Extension gives 404 on IIS7

I'm running windows 7 64-bit and trying to load an ISAPI Extension I'm busy writing on my local IIS7 machine. I added the location to the DLL under "ISAPI and CGI Restrictions" I made the application pool recognize 32-bit applications (Extension is…
user85569
  • 394
  • 3
  • 10
2
votes
2 answers

Getting Port/URL data from Delphi TISAPIApplication:

*) I have a Delphi XE ISAPI dll running under IIS 7.5 - Server 2008 R2. The DLL launches an instance of TISAPIApplication. The application resides at a discreet, fixed, predetermined URL, and listens on a particular port (not port 80) for requests -…
Vector
  • 10,879
  • 12
  • 61
  • 101
2
votes
2 answers

It is a TWebModule created for each request within a Delphi ISAPI DLL

I´m writing a ISAPI application using Delphi. There are many tutorials over there, but no one goes beyond the classic OnAction/Response.Content example The question is self explanatory. Does every request creates a new TWebModule instance? Once…
alvaroc
  • 433
  • 5
  • 14
2
votes
1 answer

Cookie size limit. Large cookies

I'm using ISAPI DLL and met a situation when the DLL's TWebRequest.Cookie shows no cookies at all if total cookie size is greater than 4096 bytes. Is there a way to handle large cookies?
Illya Pavlov
  • 253
  • 2
  • 9
2
votes
2 answers

How to run classic ASP scripts under IIS 5.1 (WinXP Pro) alongside .NET & CF?

I'm running into a problem setting up my development environment. I've been working on ColdFusion and .NET applications up until recently I haven't needed to touch IIS. Now, I have to set up a classic ASP application for some one-off work. I added a…
willasaywhat
  • 2,374
  • 20
  • 23
2
votes
1 answer

II7: ISAPI Wildcard Extension generates 500 error (0x8007007f)

I've written an ISAPI extension using Visual Studio 2012 on windows 7 that is a very simple passthrough wildcard extension. When compiled as 32 bit, and with the app pool set to allow 32 bit applications the filter works well. But when I compile…
mlbiam
  • 415
  • 4
  • 17
1
vote
0 answers

Can't modify response header in isapi extension

I have an isapi extension that is returning an image file through WriteClient(). I need to return "Content-Type: image/jpeg" in the header (or else the calling app will not process the image) So, I create a HSE_SEND_HEADER_EX_INFO structure and have…
dlowrey
  • 11
  • 2
1
vote
0 answers

Install ISAPI extensions programmatically in IIS7

I want to install ISAPI extensions in IIS7 on Windows7 programmatically (Control Panel -> Programs and features->Turn windows features on or off->IIS->WWW->Application Development feature->ISAPI Extensions). Basically I want to achieve what I can do…
Rajan
  • 31
  • 4
1
vote
1 answer

How to use sessions in ISAPI modules written in Delphi

I´m writing a ISAPI extension in Delphi and looking for a way to overcome the http stateless problem. I would like to use sessions for such tasks but can´t find a way to start a session from my ISAPI module. Since sessions are very web server…
alvaroc
  • 433
  • 5
  • 14
1
vote
2 answers

Storing ISAPI Extension parameters

I've created an ISAPI Extension in Delphi which works just fine, but I am wondering if there is a best practice on how to store configuration settings? I can think of a number of ways to do this, but I would of course like to do it the best way. I…
dahook
  • 280
  • 2
  • 14
1
vote
1 answer

How to create an ISAPI Filter in VS 2005/2008

In VS 6.0 we had a option for selecting a project type as MFC ISAPI Extension Dll under VC++ and then configuring it as a Filter object. How do we achieve this in VS 2005/2008?
1
vote
1 answer

How to read raw http response from ISAPI dll using HttpURLConnection

My requirement is to send and receive HTTP request and response from ISAPI dll which is hosted in IIS using Java. Our ISAPI dll sends raw xml data as response without http headers so when calling HTTPURLConnection.getinputstream() from client I am…
1
vote
1 answer

Using an ISAPI Filter in Visual Studio Development Server

I'm trying to get a current web application running on my local machine, for dev purposes... the previous developer left abruptly and didn't document ANYTHING. Basically, it uses an ISAPI filter, installed into IIS for some url redirection... this…
Alex
  • 37,502
  • 51
  • 204
  • 332
1
vote
0 answers

Is it possible to send messages to your ISAPI Extention from WCF?

thanks for taking the time to read this. I'm new to IIS/WCF and had a question regarding its capabilities. We want to put an ISAPI extension in our IIS to route requests to different servers/services depending on some static data. When IIS is…
Franco Trombetta
  • 207
  • 1
  • 5
  • 14
0
votes
0 answers

Why does this minimal ISAPI extension fail when there are simultaneous multiple users?

This ISAPI extension simply sends back whatever string it receives: Function HttpExtensionProc(var pECB: EXTENSION_CONTROL_BLOCK): DWORD; export; stdcall; var html: string; size: DWORD; begin html := 'Content-Type: text/html' + #13#10 + #13#10; size…
1
2