ASP.NET and Server.CreateObject
Posted on 2003-03-27
I understand that Server.CreateObject has been replaced in ASP.NET. My problem is that I run a login/user management system with a third party object called ASPCrypt like this:
Set Cryptor = Server.CreateObject ("AspCrypt.Crypt")
In .NET, I have tried:
<%@ Import Namespace="AspCrypt" %>
but I keep getting errors like:
BC30466: Namespace or type 'AspCrypt' for the Imports 'AspCrypt' cannot be found.
The Server.CreateObject method works perfectly on the same machine using classic ASP. What do I have to do to get the AspCrypt object to work/import with .NET?