it's likely due to a configuration or environment difference, here are some steps and considerations to troubleshoot the problem:
- Application Pool: Check the application pool settings in IIS. Make sure that the application pool for your web service is configured identically on both servers. Differences in the managed pipeline mode (Integrated vs. Classic) or .NET CLR version might cause issues.
- Handler Mappings: Look at the handler mappings in IIS. Ensure that
.exefiles are mapped correctly and that the necessary request handling modules (likeISAPIorCGI) are enabled and properly configured. - Request Filtering: Ensure that the request filtering settings on the new server allow the URLs you're trying to access. Sometimes, request filtering can block URLs with certain patterns or extensions.
- Review both the web server logs (e.g., IIS logs) and the logs of your Delphi application (if available). This can give you clues about what happens when a request is made and why the action isn’t being processed.
If after checking all these points the problem persists, it might be helpful to create a small test application that mimics the behavior of your web service to isolate whether the issue is within your Delphi code or the server configuration.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.