Certificate issues running app in Windows 7

前端 未结 3 847
逝去的感伤
逝去的感伤 2021-01-03 09:26

I\'m having some problems with my app. I\'m using the \'org.mentalis.security\' assembly to create a certificate object from a \'pfx\' file, this is the line of code where t

相关标签:
3条回答
  • 2021-01-03 09:59

    In IIS 7 you can do this in IIS management console.

    • Expand the server on the left
    • Click on Application Pools
    • Click on your website's application pool name and click Advanced Settings in the Actions pane on the right
    • Under the Process Model section, change Load User Profile to True
    • Click OK
    • Recycle the App Pool from the Actions pane on the right
    • Restart the website (expand Sites on the left, click on your website, click Restart in the actions pane.)
    0 讨论(0)
  • 2021-01-03 10:03

    I solved this by going to c:\windows\system32\inetsrv or syswow64\inetsrv

    and running the following command

    appcmd set apppool "" -processModel.loadUserProfile:true

    This solved it

    Richard Allen

    0 讨论(0)
  • 2021-01-03 10:26

    Sorry Corrected

    Hi

    I solved this by going to c:\windows\system32\inetsrv or syswow64\inetsrv

    and running the following command

    appcmd set apppool "[you app pool name]" -processModel.loadUserProfile:true

    This solved it

    Richard Allen

    0 讨论(0)
提交回复
热议问题