Much thanks!
further info for others regarding ASPCompat="true"
If you're writing an ASP.net page that invokes a RCW (runtime callable wrapper) to a COM component... you may need to include the attribute 'ASPCompat=True' in your page directive.
In particular, if you have this situation:
"It worked fine in traditional ASP, but now it fails in ASP.net"
then it may be because ASP uses a STA (single-threaded-apartment) threading model, which the COM component may rely upon when returning calls.
The way to get the component to behave in ASP.net is to include that attribute, 'ASPCompat=True' in the calling page's page directive. |