PC Review


Reply
Thread Tools Rate Thread

Assemblies can be loaded from "/Temporary ASP.NET Files/..." but not from "/bin"

 
 
Boris
Guest
Posts: n/a
 
      15th Jun 2006
We have some .NET 1.1 DLLs which we want to use in a ASP.NET 1.1 web page
(actually one is a real .NET DLL in Managed C++ while the others are native
Windows DLLs). First we copied all of the DLLs to /bin. However when we do
this we get a configuration error. When we copy the DLLs to "/Temporary
ASP.NET Files/..." everything works. Does anyone know what could be the
reason that the DLLs can be loaded from the temporary files but not from
bin?

Here's the configuration error message:

Parser Error Message: File or assembly name Foo, or one of its dependencies,
was not found.

=== Pre-bind state information ===
LOG: DisplayName = Foo
(Partial)
LOG: Appbase = file:///c:/inetpub/wwwroot/t
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: Foo
LOG: Attempting download of new URL
file:///c:/windows/microsoft.net/framework/v1.1.4322/Temporary ASP.NET
Files/t/adf9cc0a/918f3e87/Foo.DLL.
LOG: Attempting download of new URL
file:///c:/windows/microsoft.net/framework/v1.1.4322/Temporary ASP.NET
Files/t/adf9cc0a/918f3e87/Foo/Foo.DLL.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/t/bin/Foo.DLL.
LOG: Policy not being applied to reference at this time (private, custom,
partial, or location-based assembly bind).
LOG: Post-policy reference: Foo, Version=1.0.2355.30881, Culture=neutral,
PublicKeyToken=null

Thanks in advance,
Boris


 
Reply With Quote
 
 
 
 
Boris
Guest
Posts: n/a
 
      15th Jun 2006
Boris wrote:
> We have some .NET 1.1 DLLs which we want to use in a ASP.NET 1.1 web
> page (actually one is a real .NET DLL in Managed C++ while the others
> are native Windows DLLs). First we copied all of the DLLs to /bin.


Okay, found the answer: Unmanaged code must not be deployed to /bin but to
any directory in PATH.

Boris

> [...]



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Field Names: "LongName", "ShortName", "Code", "Description","Comments" PeteCresswell Microsoft Access 2 25th Feb 2009 11:41 PM
"Temporary internet files" folder through "%temp%" or "." [dot] witan Windows XP General 0 10th Sep 2006 04:50 PM
<FORM METHOD="post" onSubmit="return fieldcheck()" name="orientation" action="http://ws-kitty.BU.edu/AT/survey/orientation/script/write.asp" language="JavaScript"> Joeyej Microsoft ASP .NET 0 4th Jun 2004 08:55 PM
Manual "Windows Update" produces "ActiveX/active scripting" error message even with "LOW" security level setting in "Trusted" Zone Ray2 Windows XP Help 1 14th Nov 2003 06:50 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:11 PM.