Tuesday 7 April 2015

Could not load file or assembly 'vjslib' or one of its dependencies.

Could not load file or assembly 'vjslib' or one of its dependencies. The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.IO.FileLoadException: Could not load file or assembly 'vjslib' or one of its dependencies. The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)
Solution:

1. With vjslib 2.0 you may also need to set your application pool to allow 32bit applications.

Check you application should work.
if not

2. Place the System.Web.Extensions.dll in your bin folder. Make sure the version matches the error above.

You can find above dll in COM . If not available there need to install J# package. Download J# complete package from Microsoft Visual J# Version 2.0 Redistributable Package