Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Assembly Binding Path Broken?

Thread Tools

Assembly Binding Path Broken?

Posts: n/a

..NET Framework 1.1-SP1.

I created an ASP.NET project with Visual Studio, it automatically
created a bin directory. Then I modified web.config to add a new
binary assembly direcoty, moved the web application DLL to that
directory, and now ASP.NET cannot run the app. My web config looks
like this:

<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<publisherPolicy apply="yes" />
<probing privatePath="bin;bin2" />

Why is this broken?


Reply With Quote
Steven Cheng[MSFT]
Posts: n/a
Hi Localhost,

Thanks for your posting. As for the privatePath problem you mentioned, it
is a normal behavior because the web application is abit different
from the normal desktop or console application which will ignore the other
private bin path we set in the <probing privatePath="..." /> element. So
generally in application, as for nonstrong-named assembly, we
should put them in the private "bin" folder.


Steven Cheng
Microsoft Online Support

Get Secure!
(This posting is provided "AS IS", with no warranties, and confers no

Reply With Quote

Thread Tools

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
adding assembly to windows\assembly through bat file Grant Merwitz ASP .Net 3 09-15-2005 11:40 AM
Assembly's manifest definition does not match the assembly reference. Horatiu Margavan via .NET 247 ASP .Net 0 08-30-2004 04:14 PM
ASP.NET 2.0: What is the namespace and assembly name of generated assembly SA ASP .Net 0 08-09-2004 05:09 PM
Referencing assembly from GAC using @assembly fails Brent ASP .Net 1 01-23-2004 08:23 PM
can a strongly named assembly reference a regular assembly? Prasanna Padmanabhan ASP .Net 1 11-19-2003 06:21 AM