Jump to content
Sign in to follow this  
zsleo

Working Stand Alone but not ISAPI

Recommended Posts

I have a small REST Web Services app with only 2 Actions

-Action 0:

  Default Action = True

  MethodType = mtAny

 

- Action 1:

  Default Action = False

  MethodType = mtPOST (also tried mtGET)

 

When running as a stand alone EXE everything works as expected.

 

When running the DLL under IIS the Action 0 always responds correctly to requests but  Action 1 always fails with a 404.0.

 

This happens on both my Dev computer (Win 11 & Delphi Enterprise 12.1) and a Win Server 2019 Datacenter. 

 

I develop and test using IIS Express.

 

Any / all help will be appreciated.

 

TIA

Share this post


Link to post
4 minutes ago, zsleo said:

When running the DLL under IIS the Action 0 always responds correctly to requests but  Action 1 always fails with a 404.0.

You don't mention what Path you have for Action 1, and what URL you are using to access it

Share this post


Link to post

The app is on a private network and noy public internet.

 

The Action 1 path is "/GetDecryptedPWD".

The URL on server IIS is https://10.10.1.73

The URL on dev computer is http://localhost:8089

 

Share this post


Link to post
7 hours ago, zsleo said:

The URL on server IIS is https://10.10.1.73

I meant the complete URL, which (assuming you are not using URL rewriting) would need to be something like:

  https://10.10.1.73/MyApp/MyServer.dll/GetDecryptedPWD

Where MyApp is the app you added to the website and MyServer.dll is your ISAPI dll.

 

Share this post


Link to post

Sorry. Here it is: https://10.10.1.75/HashWS/MDiiGenerateHashI.dll

 

No I am not using URL Rewrite

 

 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×