Not able to read endpoints from WCF in a DLL

Jul 29, 2009 at 7:27 AM


      I've an asp page that  invokes a COM interop component which talks to WCF service (Net tcp binding).When I'm calling this component from ASP page I'm able to access the methods of the classes in the COM component.Within these classes i need to call the WCF service method.When I'm doing this I'm getting an error saying could not find endpoints configuration.

     Since the component is a dll WCF service endpoint configuration is resided in the app.config file of the component and doesn't attach to the dll, It is not able to find the code related to WCF configuration in the config file (which is not present in the dll). How can I solve this issue ?? Please help me.