P
Peter Rilling
I created a COM+ component (ServicedComponent) in .NET. The component has a
single method Connect() which returns a reference to a SqlConnection object.
This component works fine when the world is centered around .NET. Now I
want this component to work when called from inside an ASP page.
I know that I can do this because I created a test component with a method
that returns a string (strings are simple to marshal). When I called the
Connect method, I get an internal server error from IIS. I was wondering if
this problem has to do with some marshalling issues or something else.
Since SqlConnect is a .NET class, would there be any problem with using it
in an ASP page? What might be causing my problem?
single method Connect() which returns a reference to a SqlConnection object.
This component works fine when the world is centered around .NET. Now I
want this component to work when called from inside an ASP page.
I know that I can do this because I created a test component with a method
that returns a string (strings are simple to marshal). When I called the
Connect method, I get an internal server error from IIS. I was wondering if
this problem has to do with some marshalling issues or something else.
Since SqlConnect is a .NET class, would there be any problem with using it
in an ASP page? What might be causing my problem?