Salesforce

NetSetup corrupts *.exe.config files in DLC\bin

« Go Back

Information

 
TitleNetSetup corrupts *.exe.config files in DLC\bin
URL NameNetSetup-corrupts-exe-config-files-in-DLC-bin
Article Number000113696
EnvironmentProduct: OpenEdge
Version: 11.x
OS: Windows
Other: NetSetup, Shared Network Installation
Question/Problem Description
NetSetup corrupts *.exe.config files in DLC\bin.

*.exe.config files in %DLC%\bin can be corrupted when multiple copies of netsetup execute at the same time.

As a result, OpenEdge clients fails immediately on startup with the error:
The application has failed to start because its side by side configuration is incorrect. Please see the application event log for more detail.

The following files were changed:
%DLC%\bin\_proapsv.exe.config
%DLC%\bin\_progres.exe.config
%DLC%\bin\prowin32.exe.config


The content of the files was only:
<loadFromRemoteSources enabled="true" />

This value is changed from False to True by netsetup when the option "Yes, I want to set Intranet permissions to Full Trust" is selected in the Code Access Security dialog during installation.
 
Steps to Reproduce
Clarifying Information

Netsetup Code Access Security
Error MessageThe application has failed to start because its side by side configuration is incorrect. Please see the application event log for more detail.
Defect NumberDefect PSC00363969
Enhancement Number
Cause
The exact cause is not known at this time.
Resolution
Update to OpenEdge 11.7.3.

The following changes have been made to the netsetup installer in 11.7.3 to further reduce the chances of file corruption:
  1. The netsetup installer does not update the file unless it has to (because the first installation that runs to completion sets the appropriate setting anyway)
  2. When updates do occur:
    • a temp copy of the file is made,
    • the update is made to the temp file,
    • the temp file is copied over the original file.
Workaround
Backup the following files before starting shared network installations:

%DLC%\bin\_proapsv.exe.config
%DLC%\bin\_progres.exe.config
%DLC%\bin\prowin32.exe.config


In the event that the *.exe.config files become corrupted then it can be replaced with the original copy.
Alternatively, replace the corrupted files by copying the *.exe.config files from another OpenEdge installation of the same version.

In either case, modify the loadFromRemoteSources​ setting as needed. It defaults to false. Change to True if Intranet permissions should be Full Trust.
<loadFromRemoteSources enabled="true" />
Notes
The following files are also changed by a netsetup  installation but no negative effects has been reported thus far:

%DLC%\install\odbc\odbc-ds.ini
%DLC%\install\odbc\odbc-sql .ini

Path information is modified to reflect the mapped drive or UNC path used by netsetup. For example,

C:\DLC\bin\odbc\p1sqls27.dll

Becomes

Z:\DLC\bin\odbc\p1sqls27.dll
 
Keyword Phrase
Last Modified Date5/3/2018 9:58 AM

Powered by