I can't get my WCF service to run on our new server running Windows Server 2022

Adagio_B 25 Reputation points
2023-03-20T14:59:11.2733333+00:00

We have a simple WCF service installed on Windows Server 2012 with IIS 8.5. This has been running flawless for many years. We have now started installing our services on our new Windows Server 2022 with IIS 10.0

Unfortunately one of the few services we are activating on the new server is running into problems, and I have no idea why. We have directly copied all files from the old server to the new server and set up the site with the same settings. Most of the settings are default. The only differences I have found is that under application pools, I need to set it to Enable 32-Bit Applications and Load User Profile should be false

When I try to call the service on the new server, all I'm getting is an 500 internal error. Nothing useful as far as I can tell

The service itself is very simple. It just takes a string (html) and sends it to TuesPechkin.Wkhtmltox and returns the output. Neither the service, nor the part of the client calling the service, has been changed in the 4 years I have been working here. We have never had any issues with it

I tried set up some try catch inside the first method called on the service and have it write information in a txt file, but nothing is ever written. I have a feeling the method is not called

Any idea on what could be wrong? What am I missing?

Edit:

Seems like the problem is TuesPechkin.Wkhtmltox that doesn't work on the new server for some unknown reason

Windows development | Internet Information Services
Windows for business | Windows Server | User experience | Other
Developer technologies | .NET | Other
{count} votes

2 answers

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  2. MotoX80 36,411 Reputation points
    2023-03-22T12:22:30.0233333+00:00

    Seems like the problem is TuesPechkin.Wkhtmltox that doesn't work on the new server for some unknown reason

    Did you review the error logs like I suggested?

    In the IIS web site, do you have error pages set to return detailed errors?

    What error do you get?

    User's image

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.