System.InvalidCastException QueryInterface Error
I'm building a Web Service in .Net and I get the following exception "System.InvalidException. QueryInterface Error" when I try to call a COM+ component in a ASP.Net page. I'm using C# to call the component which was developed in C++. The component works fine when I call it in a ASP page or a VB6 app. This is my code:
public string Login(string user, string passw)
iSicresAsp.Session Sess = new iSicresAsp.SessionClass();
I've added a reference to the dll in my project.
Thanks in advance.