RE: Error when referring to a reference in ASP.NET - Due to permissions

From: Javier Miranda (jamiranda_at_lycos.com)
Date: 03/25/04


Date: Thu, 25 Mar 2004 11:11:06 -0800

David,

Probably what you need to do is to add the ASP.NET Page Directive {@Page ASPCompat="true"} to your ASP.NET page. This will cause your page to run in Single Thread Apartment (STA thread pool) mode (VB6 components only run STA) and to Interoperate (.NET<->COM) smoothly.

Hope it helps,

-Javier M.