When using VB6 COM objects on a ASP.NET page, and having the @Page directive
with the AspCompat attribute set to true, it causes an error like "Method
'~' of object '~' failed" or "Object reference not set to an instance of an
object".
The scenario is:
- Windows 2003 server
- IIS6
- Framework 1.1
Microsoft recommends to set the AspCompat to true when using VB6 objects on
a ASP.NET page because of performance issues, but the error og above is
unaccepteable. I don't know if the hot fix at
http://support.microsoft.com/kb/827164 will lose the problem, but the fix is
not available on the net. Very interesting...
Do you have a work-around?
Can I just set AspCompat to false on a Windows 2003 server?
/Angelo