.NET, COM+ and copy local = false -
03-21-2005
, 10:52 AM
I am having a real hair pulling session with .NET over this. I have
ASP.NET web applications that use COM+ objects for all of their
business logic and data access. The applications work perfectly and as
expected but...
The thing that has always puzzled me is that the only way I can get my
apps to work is by setting the references to the COM+ objects to copy
local = true, thus having a copy of the component on the web server.
Whenever I try and set copy local to false I get a
FileNotFoundException error on a data access library component that
the COM+ objects need. Everything is installed in the GAC correctly
but for some reason my applications can't seem to find this component.
I could continue to copy local and have everything work but it makes
maintenance a nightmare because everytime I change a COM+ object I
have to recompile my applications in order for the new version to get
copied locally!
Any help on this matter would be greatly appreciated please. |