Windows Process Activation Service not starting - error 13

南楼画角 提交于 2019-12-05 03:39:13

I have my IIS and Windows Process Activation Service running. I just tested my application, is fine also.

How I fixed:

1) Backup IIS

Instructions:

https://brainstorage.wordpress.com/2014/07/24/backuprestore-iis-8-configuration/ http://tritoneco.com/2015/09/02/backup-and-restore-iis-to-another-server/

2) Uninstall IIS and WAS

Instructions:

http://eddiejackson.net/wp/?p=14378

3) Install IIS and WAS

4) Restore IIS

Before proceeding with this fix, read the sources listed, because they contain some important instructions regarding software versions, certificates and login that may apply to your application.

Kind regards, Andre

The failure seemed to be caused by WAS could not access the machine keys left over from the old OS. These machine keys are used for encrypting sensitive information in applicationHost.config or web.config (e.g. user password or connection string). Deleting these keys and letting WAS regenerating them could solve the problem with a side effect:

Previously encrypted configuration (before the OS upgrade), if there is any, needs to be reconfigured and re-encrypted again, since WAS won't be able to decrypt the original ones (encrypted by the old keys) using the new keys.

Here are the steps to delete the old machine keys:

  1. Go to your RSA machine keys folder: C:\Users\All Users\Application Data\Microsoft\Crypto\RSA\MachineKeys

  2. Find a machine key (file) whose name starts with d6d986f09a1ee04e24c949879fdb506c_*. If you open it using notepad, you should see plain text "NetFrameworkConfigurationKey".

  3. Backup this file to some other folder.

  4. Delete this file.

  5. Following the same steps as 2-4 to backup and delete iisWasKey: 76944fb33636aeddb9590521c2e8815a_*

  6. Following the same steps as 2-4 to backup and delete iisConfigurationKey: 6de9cb26d2b98c01ec4e9e8b34824aa2_*

  7. Manually start WAS

    • Open a command prompt through "run as administrator".
    • net start was

My issue is an application that uses IIS and a browser to configure hardware field devices. Uninstalling the application and turning off IIS then repairing IIS fixed this issue for me. Then reactivation IIS and installing the application again. Works now.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!