I like simple fixes. I pulled the use of Set from the example and tried again. However, the second time accessing the page still didn't succeed. The reason for the second failure was that the argument list for the Response. ASP.NET still supports the late-binding technique of CreateObject .
NET is managed versus unmanaged code.
These services provide support for memory management, cross-language exception handling, and so on. However, as we've seen, you can access components from within ASP.NET applications. The only requirement is that your component must have an associated type library, as asp0701.dll does. The TlbImp utility will create a .NET compatible assembly that exposes your COM object for access to any .NET managed code, whether contained within an ASP.NET application or not. You must specify the out parameter because tlbimp won't let you overwrite the existing DLL object.