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

S

Silvia

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
 
S

solex

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top