We have a managed .Net COM+ component which inherits from ServicedComponent
and are trying to use this as a side-by-side assembly from a web application in IIS 6.0 on Windows Server 2003.
We have generated an assembly manifest using mt.exe
and have successfully run this in side-by-side mode in a test console application. However, when it comes to IIS it just doesn't seem to work and rather than reading the manifest goes off the registry to attempt to find the COM+ application there.
The manifest is generated using
mt.exe -managedassemblyname:myassembly.dll -out:myassembly.manifest
which is then copied to the virtual directory of the web application. Using filemon
reveals that the manifest is never even read!
Moving the .manifest
file to the bin
directory it then seems to be read but the same issue occurs.
Help from anyone who has successfully got this working would be greatly appreciated.