Sign In
Ajit Yadav blog
MSDTC, COM+ and all that jazz..
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
Blog Home
Email Blog Author
Share this
RSS for posts
Atom
RSS for comments
Search
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Tags
.NET Framework
Application root directory
Cluster
COM+
COM+ catalog COMAdminCatalog dcomcnfg
COM+ event system Catalog catastrophic failure 80040206
COM+ MSMQ 0xc00e0003 80080005
COM+ partitions COM 80040154
DTC cluster security
DTC DomainControllerState Security cluster
DTC no authentication unsecure RPC cluster distributed transaction coordinator
Firewall
MSDN Code Gallery
MSDTC
MSDTC COM+ 80070422 8004D027 cluster
MSDTC COM+ COMException
Pages
Serviced Component
System.Transactions
TCP
Vista
Visual Studio
WCF CASPOL IIS7
WCF Configuration clientcredentials IIS
XA transactions MSDTC DTC DB2
Archive
Archives
April 2011
(1)
December 2010
(2)
June 2010
(1)
May 2010
(5)
March 2010
(1)
February 2010
(1)
September 2009
(1)
May 2009
(1)
February 2009
(2)
July 2008
(1)
June 2008
(7)
How to use Application Root directory option to configure application.config for a specific COM+ application
MSDN Blogs
>
Ajit Yadav blog
>
How to use Application Root directory option to configure application.config for a specific COM+ application
How to use Application Root directory option to configure application.config for a specific COM+ application
Ajit Yadav
18 Jun 2008 6:15 PM
Comments
1
We would like to use the app.config file for a specific COM+ application. Generally we create dllhost.exe.config and put that in System32 directory. But this
app.config will then be applicable to all the COM+ server applications.
Resolution :
1. Create config and manifest file for COM+ application. Name them after the COM+ application name. for e.g. <COM+ app name>.manifest and <COM+ app name>.config
<COM+ application name>.manifest (no changes required, you can use the following manifest as it is) :
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
</assembly>
<COM+ app name>.config (change the assembly identity and codebase section for the assembly) :
<?xml version ="1.0"?>
<configuration>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="<dll name>" culture="neutral" publicKeyToken="6de37167d58dd222"/>
<codeBase version="1.0.0.0" href="FILE://C:\RePro\CommonLibrary.dll"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>
2. Go to the COM+ application properties --> Activation tab and specify the path to the app.manifest and app.config file in the Application Root Directory.
1 Comments
COM+
,
Application root directory
Blog - Comment List MSDN TechNet
Comments
Loading...
Leave a Comment
Name
Comment
Please add 6 and 6 and type the answer here:
Post