Cui
2004-04-13 05:40:55 PM

Hello,

I make an application in ASP.NET (using VB.NET and some web services). For
my needs, I use also the SQL DMO library (with the SQL DMO.interop assembly)
and the Microsoft Web UI controls (in order to have the tree view, multi bar
controls).

When I make the compilation and the execution, I obtain then the next error:

"

Accès refus?: 'Interop.SQLDMO'.

Erreur source:


Ligne 196 : <add assembly="System.EnterpriseServices, Version=1.0.5000.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Ligne 197 : <add assembly="System.Web.Mobile, Version=1.0.5000.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Ligne 198 : <add assembly="*"/>
Ligne 199 : </assemblies>
Ligne 200 : </compilation>


Fichier source :
c:\winnt\microsoft.net\framework\v1.1.4322\Config\machine.config Ligne :
198

Suivi du chargement de l'assembly: Les informations suivantes peuvent
permettre de déterminer la raison pour laquelle l'assembly 'Interop.SQLDMO'
n'a pas pu être charg?


=== Pre-bind state information ===
LOG: DisplayName = Interop.SQLDMO
(Partial)
LOG: Appbase = file:///T:/Programmation/Application_IIS/Requeteur
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.SQLDMO
LOG: Attempting download of new URL
file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/requeteur/b14d0b9d/d3f1d682/Interop.SQLDMO.DLL.
LOG: Attempting download of new URL
file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/requeteur/b14d0b9d/d3f1d682/Interop.SQLDMO/Interop.SQLDMO.DLL.
LOG: Attempting download of new URL
file:///T:/Programmation/Application_IIS/Requeteur/bin/Interop.SQLDMO.DLL.
LOG: Policy not being applied to reference at this time (private, custom,
partial, or location-based assembly bind).
LOG: Post-policy reference: Interop.SQLDMO, Version=8.0.0.0,
Culture=neutral, PublicKeyToken=null





----------------------------------------------------------------------------
----

Informations sur la version : Version Microsoft .NET Framework
:1.1.4322.573; Version ASP.NET :1.1.4322.573

"

For people who doesn't read french, Access denied to Interop.SQLDMO.

Then, I want to know what is the problem, and how to correct it. Because,
when I have this problem, I must reboot my PC and I lost some times.(some
days, this error occurs 15 or 20 times...)

Thanks for your response.

Best regards.

Cui.


 

Re: Config error in appli when using an assembly

coollzh
2004-04-13 11:53:00 PM

maybe the problem of security for asp.net run as ASPNET account

"Cui" <cuisystem_sans_cette_partie_@free.fr>дÈëÏûÏ¢
news:egEtHrTIEHA.520@tk2msftngp13.phx.gbl...
>Hello,
>
>I make an application in ASP.NET (using VB.NET and some web services).
For
>my needs, I use also the SQL DMO library (with the SQL DMO.interop
assembly)
>and the Microsoft Web UI controls (in order to have the tree view, multi
bar
>controls).
>
>When I make the compilation and the execution, I obtain then the next
error:
>
>"
>
>Accès refus?: 'Interop.SQLDMO'.
>
>Erreur source:
>
>
>Ligne 196 : <add assembly="System.EnterpriseServices, Version=1.0.5000.0,
>Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
>Ligne 197 : <add assembly="System.Web.Mobile, Version=1.0.5000.0,
>Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
>Ligne 198 : <add assembly="*"/>
>Ligne 199 : </assemblies>
>Ligne 200 : </compilation>
>
>
>Fichier source :
>c:\winnt\microsoft.net\framework\v1.1.4322\Config\machine.config Ligne
:
>198
>
>Suivi du chargement de l'assembly: Les informations suivantes peuvent
>permettre de déterminer la raison pour laquelle l'assembly
'Interop.SQLDMO'
>n'a pas pu être charg?
>
>
>=== Pre-bind state information ===
>LOG: DisplayName = Interop.SQLDMO
>(Partial)
>LOG: Appbase = file:///T:/Programmation/Application_IIS/Requeteur
>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.SQLDMO
>LOG: Attempting download of new URL
>file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
>Files/requeteur/b14d0b9d/d3f1d682/Interop.SQLDMO.DLL.
>LOG: Attempting download of new URL
>file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
>Files/requeteur/b14d0b9d/d3f1d682/Interop.SQLDMO/Interop.SQLDMO.DLL.
>LOG: Attempting download of new URL
>file:///T:/Programmation/Application_IIS/Requeteur/bin/Interop.SQLDMO.DLL.
>LOG: Policy not being applied to reference at this time (private, custom,
>partial, or location-based assembly bind).
>LOG: Post-policy reference: Interop.SQLDMO, Version=8.0.0.0,
>Culture=neutral, PublicKeyToken=null
>
>
>
>
>
>--------------------------------------------------------------------------