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 '/GISOnlineReservation' 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.GISOnlineRes'.
Source Error:
Line 196: <add
assembly="System.EnterpriseServices, Version=1.0.5000.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 197: <add
assembly="System.Web.Mobile, Version=1.0.5000.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 198: <add assembly="*"/>
Line 199: </assemblies>
Line 200: </compilation>
Source File: c:\windows\microsoft.net\framework\v1.1.4322
\Config\machine.config Line: 198
Assembly Load Trace: The following information can be
helpful to determine why the
assembly 'Interop.GISOnlineRes' could not be loaded.
=== Pre-bind state information ===
LOG: DisplayName = Interop.GISOnlineRes
(Partial)
LOG: Appbase =
file:///c:/inetpub/wwwroot/GISOnlineReservation
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.GISOnlineRes
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Tempor
ary ASP.NET
Files/gisonlinereservation/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/gisonlinereservation/2fa2f700/aa114427/Interop.GISOnl
ineRes/Interop.GISOnlineRes.DLL.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/GISOnlineReservation/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.GISOnlineRes,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=null
-----------------------------------------------------------
---------------------
Version Information: Microsoft .NET Framework
Version:1.1.4322.573; ASP.NET Version:1.1.4322.573
Can Anyone tell me why? Thanks.