Views:

Problem:
There has been instances where a DocuWare issues was reported due to the msi/dll files been blocked.
You are either presented a visible error, an error in eventvwr, or an error in logging as the following:

  • A fatal error has occurred.
  • An unknown/unhandled exception has occurred.
  • Error due to general protection fault.
  • Could not load the assembly file://**/*.dll. This assembly may have been downloaded from the Web. If an assembly has been downloaded from the Web, it is flagged by Windows as being a Web file, even if it resides on the local computer. This may prevent it from being used in your project. You can change this designation by changing the file properties. Only unblock assemblies that you trust.

Sometimes it will also affect the DocuWare Desktop application that are installed from the web client.
If you have extracted a blocked zipped file then the entire content of that package will be blocked. DocuWare Setup files has hundreds of files and unblocking one by one may take extremely long time. 

 

Solution:
When you have finished downloading the zip file make sure you check in the properties that the blocked attribute is not on. If it is on then make sure that you unblocked the zip file. By unblocking the zip file all content within that zip file will be extracted normally (with no block attribute on).

 

NOTE:
If you already extracted the blocked zip files then the entire content with have the block attribute on. If you want to unblock the already extracted files you can download this cmd line utility from Microsoft.
Link: http://technet.microsoft.com/en-us/sysinternals/bb897440.aspx

The block/unblock comes from as part of NTFS called alternate streams. You have to remove the alternate stream to allow the programs to be executed. Just copy "Streams.exe" into the directory with the files you want to unblock e.g. C:\Program Files (x86)\DocuWare\ and run the following command from the command prompt (Run as administrator). 

"C:\Program Files (x86)\DocuWare\streams.exe" -s -d *.*

It will unblock every file recursively in all subdirectories.

Comments (0)