473,396 Members | 2,011 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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 2978
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Foehammer | last post by:
Hello, I'm trying to load an assembly dynamically using an app domain. This is a proof-of-concept for a larger project, so please excuse the lame class names. TestLib is the dll where all the...
2
by: Rob G | last post by:
Hi, I am new to this ASP.NET thing and while going very slow, I am learning. Then I got a Configuration Error out of nowhere when I ran my project. I do have Excel as reference (but I haven't...
1
by: Yan | last post by:
Hi, I've gotten the following attached error after copying some aspx and dll files from my dev server to production server. The error persisted after I disabled the index server, restart IIS,...
1
by: Silvia | last post by:
I have this code in web.config file <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> <assemblyIdentity name="dllredirect"/> <codeBase...
2
by: Smithers | last post by:
My ASP.NET Web app uses a few 3rd party assemblies. Just wondering when those are loaded into the Web app's AppDomain - and for how long do they stay loaded. Is an assembly loaded the first time...
0
by: laasunde | last post by:
A bit of background; I've got an aspx web application that from time to time is unabled to load an assembly for some reason. This error can happen after running fine for many days\weeks. Its timing...
1
by: =?ISO-8859-1?Q?Lasse_V=E5gs=E6ther_Karlsen?= | last post by:
I get the above error in some of the ASP.NET web applications on a server, and I need some help figuring out how to deal with it. This is a rather long post, and I hope I have enough details that...
2
by: Jeff | last post by:
Hi I'm trying to achieve a scenario where I have c# files that are compiled dynamically, the assemblies are then loaded in a different AppDomain, I call a simple method from the object, and then...
4
by: illegal.prime | last post by:
Hi all, I'm getting unexpected results when trying to preload assemblies into an AppDomain I'm creating. Upon creation of the AppDomain - I attach an AssemblyResolve to both my current AppDomain...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.