Friday, August 2, 2013

App.config for COM+

Per this, one may place an application.manifest file with the following contents...

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
</assembly>

 
 

...in the "COM+ application root directory" to make an application.config in the same directory behave as if it were the App.config file for the COM+ application. Naturally, this begs the question: What is the COM+ application root directory? To find this directory:

  1. Type "component services" at the start menu to launch the component services dialog box
  2. Drill in to: Console Root > Component Services > Computers > My Computer > COM+ Applications
  3. Right-click an application here and select "Properties" from the menu which appears
  4. Go to the "Activation" tab of the application-specific dialog box which appears
  5. The "Application Root Directory" value is set here!

No comments:

Post a Comment