468,540 Members | 1,717 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,540 developers. It's quick & easy.

Error : HTTP download of assemblies has been disabled for this appdomain.

I have this code in web.config file

<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="dllredirect"/>
<codeBase
href="http://localhost/dllrecirect/dllredirect.dll" />
</dependentAssembly>
</assemblyBinding>
</runtime>

and i hava a error like this

HTTP download of assemblies has been disabled for this
appdomain.
Description: An unhandled exception occurred during the
execution of the current web request. Please review the
stack trace for more information about the error and where
it originated in the code.

Exception Details: System.IO.FileLoadException: HTTP
download of assemblies has been disabled for this
appdomain.

Source Error:

An unhandled exception was generated during the execution
of the current web request. Information regarding the
origin and location of the exception can be identified
using the exception stack trace below.

Assembly Load Trace: The following information can be
helpful to determine why the assembly 'dllredirect' could
not be loaded.
=== Pre-bind state information ===
LOG: DisplayName = dllredirect, Version=1.0.1448.18836,
Culture=neutral, PublicKeyToken=null
(Fully-specified)
LOG: Appbase = file:///C:/Inetpub/wwwroot/redirectdll
LOG: Initial PrivatePath = bin
Calling assembly : redirectdll, Version=1.0.1448.18836,
Culture=neutral, PublicKeyToken=null.
===

LOG: Policy not being applied to reference at this time
(private, custom, partial, or location-based assembly
bind).
LOG: Post-policy reference: dllredirect,
Version=1.0.1448.18836, Culture=neutral,
PublicKeyToken=null

Stack Trace:
[FileLoadException: HTTP download of assemblies has been
disabled for this appdomain.]
redirectdll.WebForm1.Page_Load(Object sender, EventArgs
e) +0
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +731


HTTP download of assemblies has been disabled for this
appdomain.

how i can enable to download assemblies via http??

thanks
Jul 21 '05 #1
1 2723
Silvia,

Is your app begin download from a web server within your intranet? If so
what are the .NET security settings for "Local Intranet?"

Dan
"Silvia" <sa******@cspt.es> wrote in message
news:08****************************@phx.gbl...
I have this code in web.config file

<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="dllredirect"/>
<codeBase
href="http://localhost/dllrecirect/dllredirect.dll" />
</dependentAssembly>
</assemblyBinding>
</runtime>

and i hava a error like this

HTTP download of assemblies has been disabled for this
appdomain.
Description: An unhandled exception occurred during the
execution of the current web request. Please review the
stack trace for more information about the error and where
it originated in the code.

Exception Details: System.IO.FileLoadException: HTTP
download of assemblies has been disabled for this
appdomain.

Source Error:

An unhandled exception was generated during the execution
of the current web request. Information regarding the
origin and location of the exception can be identified
using the exception stack trace below.

Assembly Load Trace: The following information can be
helpful to determine why the assembly 'dllredirect' could
not be loaded.
=== Pre-bind state information ===
LOG: DisplayName = dllredirect, Version=1.0.1448.18836,
Culture=neutral, PublicKeyToken=null
(Fully-specified)
LOG: Appbase = file:///C:/Inetpub/wwwroot/redirectdll
LOG: Initial PrivatePath = bin
Calling assembly : redirectdll, Version=1.0.1448.18836,
Culture=neutral, PublicKeyToken=null.
===

LOG: Policy not being applied to reference at this time
(private, custom, partial, or location-based assembly
bind).
LOG: Post-policy reference: dllredirect,
Version=1.0.1448.18836, Culture=neutral,
PublicKeyToken=null

Stack Trace:
[FileLoadException: HTTP download of assemblies has been
disabled for this appdomain.]
redirectdll.WebForm1.Page_Load(Object sender, EventArgs
e) +0
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +731


HTTP download of assemblies has been disabled for this
appdomain.

how i can enable to download assemblies via http??

thanks

Jul 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by laasunde | last post: by
1 post views Thread by =?ISO-8859-1?Q?Lasse_V=E5gs=E6ther_Karlsen?= | last post: by
4 posts views Thread by illegal.prime | last post: by
reply views Thread by NPC403 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.