I have two COM objects, lets call them com1 and com2. I create instance of both objects through early binding like so:

dim a as com1.Class1
a = new com1.Class1

dim b as com2.Class1
b = new com2.Class1 '<--stops right here

the first part(com1) compiles just fine, but when I get to com2, it tells me I need to do something with the access rights. I checked both com1 and com2, their access rights are identical and they are both in same folder. Any ideas on the problem?

By the way, i'm using ASP.NET. Weird thing is, when I do it on just plain ASP(3.0), i have no problem on any of the objects.