ASP.Net & VB 6 COM Interop

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • roy

    #1

    ASP.Net & VB 6 COM Interop

    I try to call com written in VB 6.0. When I use VS.net
    Studio to do the debuging, some time it works fine, some
    time I got the following message:

    Server Error in '/GISOnlineReserv ation' Application.
    -----------------------------------------------------------
    ---------------------

    Configuration Error
    Description: An error occurred during the processing of a
    configuration file required to service this request.
    Please review the specific error details below and modify
    your configuration file appropriately.

    Parser Error Message: Access is
    denied: 'Interop.GISOnl ineRes'.

    Source Error:


    Line 196: <add
    assembly="Syste m.EnterpriseSer vices, Version=1.0.500 0.0,
    Culture=neutral , PublicKeyToken= b03f5f7f11d50a3 a"/>
    Line 197: <add
    assembly="Syste m.Web.Mobile, Version=1.0.500 0.0,
    Culture=neutral , PublicKeyToken= b03f5f7f11d50a3 a"/>
    Line 198: <add assembly="*"/>
    Line 199: </assemblies>
    Line 200: </compilation>


    Source File: c:\windows\micr osoft.net\frame work\v1.1.4322
    \Config\machine .config Line: 198

    Assembly Load Trace: The following information can be
    helpful to determine why the
    assembly 'Interop.GISOnl ineRes' could not be loaded.


    === Pre-bind state information ===
    LOG: DisplayName = Interop.GISOnli neRes
    (Partial)
    LOG: Appbase =
    file:///c:/inetpub/wwwroot/GISOnlineReserv ation
    LOG: Initial PrivatePath = bin
    Calling assembly : (Unknown).
    ===

    LOG: Policy not being applied to reference at this time
    (private, custom, partial, or location-based assembly
    bind).
    LOG: Post-policy reference: Interop.GISOnli neRes
    LOG: Attempting download of new URL
    file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Tempor
    ary ASP.NET
    Files/gisonlinereserv ation/2fa2f700/aa114427/Interop.GISOnl
    ineRes.DLL.
    LOG: Attempting download of new URL
    file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Tempor
    ary ASP.NET
    Files/gisonlinereserv ation/2fa2f700/aa114427/Interop.GISOnl
    ineRes/Interop.GISOnli neRes.DLL.
    LOG: Attempting download of new URL
    file:///c:/inetpub/wwwroot/GISOnlineReserv ation/bin/Interop
    ..GISOnlineRes. DLL.
    LOG: Policy not being applied to reference at this time
    (private, custom, partial, or location-based assembly
    bind).
    LOG: Post-policy reference: Interop.GISOnli neRes,
    Version=2.0.0.0 , Culture=neutral , PublicKeyToken= null




    -----------------------------------------------------------
    ---------------------
    Version Information: Microsoft .NET Framework
    Version:1.1.432 2.573; ASP.NET Version:1.1.432 2.573


    Can Anyone tell me why? Thanks.
Working...