Jump to content

Password Reset Fail with Exception Calling "LoadFile"


support
 Share

Recommended Posts

Issue: Custom Error returned from a Password Reset:

 

Error = Exception calling "LoadFile" with "1" argument(s): "An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch. See http://go.microsoft.com/fwlink/?LinkId=155569 for more information."

 

 Issue is a file in the Passwordstate directory is locked and Passwordstate cannot use it.

 

Fix:

  1. Stop the Passwordstate service
  2. Run this PowerShell command:

 

Get-ChildItem C:\inetpub\Passwordstate –recurse| unblock-file

 

  1. Start the Passwordstate Service

 

 

Regards,

 

Clickstudios Support

Link to comment
Share on other sites

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
 Share

×
×
  • Create New...