Vues :

Behavior:
Since version 5.1c SP1 DocuWare is based on .NET Framework version 4. This change was made in order to be able to use new framework features and development tools (such as new Windows Workflow Foundation, Managed Extensibility Framework, Parallels Extension) and to profit from the latest stability, security and performance enhancements from Microsoft. You have written a DocuWare .NET 4 application and use 3rd vendor dll built in .NET framework 2.0, and this DLL is not available in a 4.0 version.

Solution:
The previously used executables (based on .NET Framework 2.0, 3.0, 3.5) can be reconfigured to use the .NET 4.0 runtime. This way only the application configuration file (app.config) has to be extended by the tags 'useLegacyV2RuntimeActivationPolicy' set to 'true', which causes the .NET 4.0 runtime to be loaded (if it is installed) even for older executables.
*Note: This approach is less safe, especially ASP.NET application might NOT work with this way.

<configuration>
 
<startup useLegacyV2RuntimeActivationPolicy="true">
   
<supportedRuntime version="v4.0" />
   
<supportedRuntime version="v2.0.50727" />
  </startup>
 
<runtime>
   
<generatePublisherEvidence enabled="false" />
 
</runtime>
</configuration>