Jump to content

Chilkat library blocked during upgrade, which can also cause issue with password resets


Recommended Posts

When performing an upgrade of passwordstate, it is possible that you may get the following error:


The process cannot access the file 'c:\inetpub\Passwordstate\bin\x64\ChilkatDotNet45.dll' because it is being used by another process. - Method = CopyNewFiles


The upgrade process will complete, and Passwordstate will seem to work normally, but you then may get this error when performing an automatic reset for any account that uses the Chilkat library - Linux being the most commonly used type:


"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."


To fix this, please follow these steps:


  1. On your Passwordstate web server, open PowerShell as an Admin
  2. Now run the following command below – change the path if you need to:


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





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
  • Create New...