Re: AspCompat="true" on a Windows 2003 may cause an error



Unfortunately the hotfix didn't solve the problem.
As I can see there's no other solution than create a support case at
Microsoft, unless some of you have already experienced the same...

/Angelo



"Angelo Brusati" <angelo@xxxxxxxxxxxxxx> wrote in message
news:u7NLXsfNFHA.2252@xxxxxxxxxxxxxxxxxxxxxxx
> Hi Gregory
>
> Thank you for your answer.
> I'd be very happy if it was so easy!
> Unfortunately it's not. The web application runs perfectly on a Windows
2000
> server.
> Moreover, different test aspx pages proves that the VB6 objects are
working
> properly. If I change the mentioned attribute "AspCompat" to false (on
the
> aspx pages which use the VB6 object), the application works just fine.
>
> I'm installing the hotfix sent from Microsoft Support, the 827164.
> Anyway, the article describe a similar problem - not exactly mine.
>
> Some other suggestions?
>
> Thanks in advance
>
> /Angelo
>
>
> "Cowboy (Gregory A. Beamer) - MVP" <NoSpamMgbworld@xxxxxxxxxxxxxxxxxx>
wrote
> in message news:E10CD63E-505B-4978-9A49-F7AB55641F0E@xxxxxxxxxxxxxxxx
> > The error in question was quite common in the old ASP world and
generally
> > corresponded to either
> >
> > a) a missing COM component
> > b) a changed method signature
> >
> > Here is what I would do:
> >
> > 1. Make sure your COM component is registered on the server
> > 2. Check all dependencies, on your machine, and make sure all of the
> > dependent DLLs are on the Windows Server 2003 machine
> > 3. If the above two are fine, check the versions of the DLLs that are
> > installed on each machine. If there are different versions, you will
want
> to
> > poke at the DLL and ensure the method calls have not changed.
> >
> >
> > ---
> >
> > Gregory A. Beamer
> > MVP; MCP: +I, SE, SD, DBA
> >
> > ***************************
> > Think Outside the Box!
> > ***************************
> >
> > "Angelo Brusati" wrote:
> >
> > > 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
> > >
> > >
> > >
>
>


.



Relevant Pages

  • Re: Cant open Application Log
    ... A support engineer will be assigned. ... Microsoft Windows Server 2003, Web Edition ... Microsoft Windows Server 2003, Standard Edition ... Hotfix Information ...
    (microsoft.public.windows.server.sbs)
  • RE: Backup Failing
    ... I am glad to hear that after you applied the hotfix again, ... Microsoft CSS Online Newsgroup Support ... This newsgroup only focuses on SBS technical issues. ...
    (microsoft.public.windows.server.sbs)
  • RE: Backup Failures
    ... I understand that you need the hotfix KB828481 for a VSS issue. ... call into the appropriate Microsoft Support phone line, ... help and advice from a Microsoft support professional. ... recommended that you use the built-in backup and restore utilities in SQL. ...
    (microsoft.public.windows.server.sbs)
  • Re: STOP 0x0000001e after MS05-018 on Windows 2000
    ... You'll need to contact Microsoft Product Support Services to obtain the free ... Microsoft Certified Professional ... | I see that a hotfix is available that might solve my problem. ...
    (microsoft.public.win2000.general)
  • Re: IIS caching output of pages
    ... Here are my server and development box specs: ... > Thanks, but the post does not include the URL of the hotfix, and the KB ... Microsoft recommends that you wait for the next Windows ... >> To resolve this problem immediately, contact Microsoft Product Support ...
    (microsoft.public.dotnet.framework.aspnet)

Loading