Assembly Binding Path Broken?

Discussion in 'ASP .Net' started by localhost, Oct 25, 2004.

  1. localhost

    localhost Guest

    ..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" />
    </assemblyBinding>

    Why is this broken?

    Thanks.
     
    localhost, Oct 25, 2004
    #1
    1. Advertising

  2. Hi Localhost,

    Thanks for your posting. As for the privatePath problem you mentioned, it
    is a normal behavior because the asp.net 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 asp.net application, as for nonstrong-named assembly, we
    should put them in the private "bin" folder.
    Thanks.

    Regards,

    Steven Cheng
    Microsoft Online Support

    Get Secure! www.microsoft.com/security
    (This posting is provided "AS IS", with no warranties, and confers no
    rights.)
     
    Steven Cheng[MSFT], Oct 26, 2004
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Prasanna Padmanabhan
    Replies:
    1
    Views:
    825
    Mattias Sjögren
    Nov 19, 2003
  2. WT
    Replies:
    6
    Views:
    943
    Walter Wang [MSFT]
    May 18, 2006
  3. Steven D'Aprano

    Why are "broken iterators" broken?

    Steven D'Aprano, Sep 21, 2008, in forum: Python
    Replies:
    8
    Views:
    675
  4. Cameron Simpson

    Re: Why are "broken iterators" broken?

    Cameron Simpson, Sep 22, 2008, in forum: Python
    Replies:
    0
    Views:
    601
    Cameron Simpson
    Sep 22, 2008
  5. Fredrik Lundh

    Re: Why are "broken iterators" broken?

    Fredrik Lundh, Sep 22, 2008, in forum: Python
    Replies:
    0
    Views:
    619
    Fredrik Lundh
    Sep 22, 2008
Loading...

Share This Page