Progress KB - Unable to add assembly reference from network drive (.NET 4.0 version)




Feedback
Did this article resolve your question/issue?

   

Article

Unable to add assembly reference from network drive (.NET 4.0 version)

« Go Back

Information

 
TitleUnable to add assembly reference from network drive (.NET 4.0 version)
URL Name000034992
Article Number000157402
EnvironmentProduct: OpenEdge
Version: 11.1.x,11.2.x, 11.3.x
OS: Windows
Question/Problem Description
Attempting to add an assembly reference to a project in Architect or Developer Studio fails if the assembly or project is located on a network drive.
Steps to Reproduce
Clarifying Information
The attempt to add the assembly reference will fail even if CASPOL.EXE is used to mark the network location as FullTrust.
Error MessageThe following library could not be loaded:
<LocationOfDllShowsUpHere>\SomeDotNetDll.dll
Defect/Enhancement NumberDefect PSC00248027
Cause
The .NET 4.0 framework does not use CASPOL.EXE to implement security related to loadiing assemblies from remote locations.  Instead the application needed to create an <app.exe>.config file and set the proper attribute in the file.
Resolution
The <app.exe>.config file need to have the following XML in it:

<configuration>
  <runtime>
    <loadFromRemoteSources enabled="true" />
  </runtime>
</configuration>


The following files need to be modified (or created if they don't exist) and the above needs to be placed in each file:
  • <Install location>\DeveloperStudio3.6\jre\bin\javaw.exe.config
  • $DLC\bin\proasmref.exe.config
  • $DLC\bin\prowin32.exe.config
Please note that the prowin32.exe.config file already contains an entry for the loadFromRemoteSources attribute but it is set to false. Change it to true.
Workaround
Notes
Last Modified Date9/13/2015 4:13 AM
Attachment 
Files
Disclaimer The origins of the information on this site may be internal or external to Progress Software Corporation (“Progress”). Progress Software Corporation makes all reasonable efforts to verify this information. However, the information provided is for your information only. Progress Software Corporation makes no explicit or implied claims to the validity of this information.

Any sample code provided on this site is not supported under any Progress support program or service. The sample code is provided on an "AS IS" basis. Progress makes no warranties, express or implied, and disclaims all implied warranties including, without limitation, the implied warranties of merchantability or of fitness for a particular purpose. The entire risk arising out of the use or performance of the sample code is borne by the user. In no event shall Progress, its employees, or anyone else involved in the creation, production, or delivery of the code be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the sample code, even if Progress has been advised of the possibility of such damages.