PRB: VB Component Not Marked Apartment Produces ASP 0115 ErrorID: Q191979
|
When instantiating an ActiveX dynamic-link library (DLL) created with
Visual Basic 5.0 within an Active Server Page using the
Server.CreateObject, the following error may occur:
Error 'ASP 0115'
Unexpected error
/<VirtualRoot>/<ASPPage>
Apply Visual Studio 97 Service Pack 3 or later to Visual Basic 5.0 and
recompile the ActiveX DLL.
NOTE: Applying the latest version of the service pack will also apply fixes
from the previous versions of the service pack.
Use the following steps to recompile the ActiveX DLL in Visual Basic with
the latest service pack:
For more information on threading support in Internet Information Server
4.0, refer to the following paper "Improving the Performance of Data Access
Components with IIS 4.0," which is available at http://www.microsoft.com/.
For more information on apartment-model threading articles, refer to the
following Microsoft Developers Network site:
http://premium.microsoft.com/msdn/library/
Additional query words: viasp vb ActiveX dll asp
Keywords : kbASP kbCOMt kbJScript kbScript kbVBScript kbGrpASP
Version : WINDOWS:5.0,97; winnt:
Platform : WINDOWS winnt
Issue type : kbprb
Last Reviewed: May 24, 1999