Bin folderhttp://forums.asp.net/t/1611890.aspx/1?Bin+folderWed, 13 Oct 2010 13:34:47 -040016118904120960http://forums.asp.net/p/1611890/4120960.aspx/1?Bin+folderBin folder <p>Hi,</p> <p>While publishing a website to IIS. Is it necessary that all the dlls should be&nbsp;present in bin folder rather than bin\debug folder.</p> <p>I created a webservice using spring.net. In spring .net, a normal class library project is hosted as a web service.</p> <p>I created a new virtual directory and pointed it to my class library folder.</p> <p>It is giving me an error like &quot;*.dll&quot; is not present. </p> <p>I browsed the folder strucure and saw all the files are present in bin\debug folder.</p> <p>I copied my dlls from Bin\debug to placed it directy under bin folder and my webservice started working like a charm.</p> <p>How i noticed this was, i opened a published website and found that the referenced system.web and other dlls are present directly in bin folder.</p> <p>Is there any setting in IIS where we can ask the IIS t look for the dll in a particular folder.</p> <p>&nbsp;</p> 2010-10-11T20:54:43-04:004123416http://forums.asp.net/p/1611890/4123416.aspx/1?Re+Bin+folderRe: Bin folder <p>Hi,</p> <p>It&nbsp;is nessary to put the dll files in the bin folder.</p> <p>You can set the output folder by&nbsp;project properties -&gt; build -&gt; output-&gt; output path.</p> <p>I hope this can be helpful for you.</p> 2010-10-13T13:29:08-04:004123424http://forums.asp.net/p/1611890/4123424.aspx/1?Re+Bin+folderRe: Bin folder <p>Hi</p> <p>Yes XiaoCheng Fan is right. You have to copy all related .dll files in the bin directly. That's the location where the IIS looks for the binaries. Through Visual Studio you can set the output path directly. But in a live production server scenario, again you have to copy the dlls from your development machine and copy them over to the bin folder of the target virtual directory.</p> 2010-10-13T13:34:47-04:00