Re: How to configure my application to recognize the bin directory?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Scott Allen (scott_at_nospam.odetocode.com)
Date: 02/11/05


Date: Fri, 11 Feb 2005 15:18:39 -0500

Do you see this error at runtime? This looks more like a compiler
error.

--
Scott
http://www.OdeToCode.com/blogs/scott/
On 11 Feb 2005 11:31:08 -0800, "peelman" <neil.collier@gmail.com>
wrote:
>Hi,
>
>I have a web server (IIS 6 on Windows 2003) and just ported over my web
>app from IIS 5.  Everything used to work on IIS 5 but now on IIS 6 my
>scripts cannot find the namespace compipiled in the dll in my bin
>directory.  It crashes at:
>
>MyNameSpace.MyClass var = new MyNameSpace.MyClass();
>
>I get the standard "are you missing a using directive or assembly
>reference" asp.net error in the browser.  But the dll is in the bin
>directory.  I have no virtual directories and only one site running at
>inetpub\www\, and the bin is inetpub\www\bin\.  So why isn't ASP.NET
>looking in this bin directory?  Do i have to add some configuration
>option to the web.config or something?
>
>Regards,


Relevant Pages

  • Re: Microsoft.Web.UI.WebControls doesnot work when upladed to web hosting server
    ... directory up the tree so the webcontrols dll could be in the wrong bin. ... >> This namespace is not a namespace that is part of the core library. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Managing files in bin folder
    ... "Pavils Jurjans" wrote in message ... > bin folder starts getting pretty crowded. ... I want to postpone any DLL ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: web.config host error!! PLEASE help!
    ... the root web bin folder. ... the wrong place for the dll as suggested below. ... My solution was to go into IIS and change the folder e.g. ... > There are 2 modes of Web Server Connection access, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Compiler Error BC30002 - VB object not found ?
    ... it to the BIN directory of my VB.NET project. ... > Does your application have a copy of that assembly in the bin folder? ... >> can't find the object related to my VB.NET code in a separate DLL. ... >> within my code as an assembly key. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Virtual directory change problem.
    ... I tried to change the virtual directory of a project to another location on ... VS.NET would not output the BIN files to ... VS.NET web cache. ... but was not able to put the ASPNET form DLL in the same place. ...
    (microsoft.public.vsnet.ide)