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

From: David Silverman (david.silverman_at_unapen.com)
Date: 03/25/04


Date: Thu, 25 Mar 2004 14:45:14 -0500

Thanks, that was a good suggestion. However, I'm still getting the same
error.

"Javier Miranda" <jamiranda@lycos.com> wrote in message
news:962DD1B9-D598-4558-9F72-3FC3D142E593@microsoft.com...
> 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.