RE: Enterprise Library and Serviced Component (COM+)



Hi Luke,

Thanks to your quick response and I will try it out.

BTW, Data Access Application Block comes with 3 DLLs:

Microsoft.Practices.EnterpriseLibrary.Data.dll
Microsoft.Practices.EnterpriseLibrary.Common.dll
Microsoft.Practices.EnterpriseLibrary.Configuration.dll

I put all three in GAC (gacutil) but I only created ONE Serviced component
(COM+ server application) on Microsoft.Practices.EnterpriseLibrary.Data.dll
with regsvcs.

Am I correct or do I need to create the other two as Serviced Components too?

Thanks Luke.

Abel Chan




"[MSFT]" wrote:

> Hello Alel,
>
> To set an app.config for COM+ application:
>
> If you are using Windows 2000, and your COM+ app is a server one, your
> app.config should be called dllhost.exe.config and must be in the same
> directory as dllhost.exe (which is %SystemRoot%\System32).
>
> If you are using Windows 2003, you can go to the Activation tab of the
> COM+app properties and set the Application Root Directory property to point
> to a location of your preference, and, in that directory, you must place a
> file called application.config (with your config settings) and another file
> caller application.manifest with the content shown bellow
>
> <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
> <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
> </assembly>
>
> Luke
>
>
.



Relevant Pages

  • RE: Identity crisis on a WS
    ... I perform a same test on a Windows 2000 server. ... You may check if you use System account in ... Luke ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • RE: Enterprise Library and Serviced Component (COM+)
    ... If you are using Windows 2000, and your COM+ app is a server one, your ... COM+app properties and set the Application Root Directory property to point ...
    (microsoft.public.dotnet.distributed_apps)
  • RE: UIPAB system requirements limitations inquiry
    ... framework. ... It surely works on Windows 2000 server. ... Luke ...
    (microsoft.public.dotnet.distributed_apps)
  • Re: Connected users list
    ... Did you mean the user connect to your windows 2000 server with terminal ... maybe you can check the terminal Service manager to check ... Luke ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • RE: using System.Net.NetworkCredentials on windows NT
    ... Did you specify a domain user or a local user here? ... Did the Windows NT ... server is in same domain as others? ... Luke ...
    (microsoft.public.dotnet.framework.aspnet.security)