Re: Problem with ASP instancing VB6 DLL under IIS6 - Windows 2003 (Microsoft VBScript runtime error '800a01fb')

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Changing the isolation mode will not fix an exception in your DLL. It merely
controls whether your application has a worker process of its own, or shares
a pool with other applications, or runs in-process in Inetinfo.

You need to run your DLL in the IDE, and then access your ASP pages. That
should allow you to find the real cause of the exception

Tony Proctor

"Lucas Junqueira" <ljunqueira@xxxxxxxxx> wrote in message
news:1169043257.350466.236700@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I had a problem while trying to access some methods of my VB6 DLL's in
IIS6 using ASP.
The errors were always something like "Microsoft VBScript runtime error
'800a01fb' Exception: DoSomething".
While looking for threads that solved the problem I only saw question,
never answers ... :D
I solved my problem this way (i'll try to explain the menus in english,
though my windows 2003 is in portuguese):
- Go to the IIS manager
- Right click the Web sites folder and click properties
- Go to the Service tab
- In the isolation mode, CHECK the IIS 5 WWW isolation mode
- Click OK
- If asked to restart IIS say Yes

That's it ...



.



Relevant Pages

  • ISAPI Filter Problem in IIS 6.0
    ... fails to work on IIS 6.0 (unless I use the 5.0 isolation mode). ... registering for the READ_RAW_DATA event, yet my DLL registers does not ...
    (microsoft.public.inetserver.iis)
  • Re: (Re)throwing from a catch block across dll boundaries
    ... Thank you for the sample project, I'm able to reproduce the issue you're describing. ... within VS) and found the same results: when I linked both the Dll and the ... I have a function in a dll that throws an exception of type class CEx. ... the application crashes as well ...
    (microsoft.public.windowsce.embedded.vc)
  • Global Assembly Cache Issue
    ... I have a dll that I use in several projects, that I placed in the Global ... you can see in the Exception below). ... If I change the Copy Local property of the reference to True, ... Attempting download of new URL ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: (Re)throwing from a catch block across dll boundaries
    ... If you encounter the problems described in this thread, check your compiler settings and change Code Generation/Runtime Library to 'Multi- threaded Debug DLL ' and 'Multi- threaded DLL '. ... I have a function in a dll that throws an exception of type class CEx. ... the application crashes as well ...
    (microsoft.public.windowsce.embedded.vc)
  • Re: Global Assembly Cache Issue
    ... This dll is references in each of my projects. ... > you can see in the Exception below). ... > configKey, SectionRecord section) ... Attempting download of new URL ...
    (microsoft.public.dotnet.framework.aspnet)