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.
Please Mark As Answer if it helped.
MCPD ASP.NET 4.0 and 3.5, MCTS WSS, MOSS, SharePoint 2010, MCT
Microsoft Community Contributor Award 2011
Marked as answer by nideeshm on Oct 26, 2010 07:51 PM
nideeshm
Participant
1069 Points
269 Posts
Bin folder
Oct 11, 2010 08:54 PM|LINK
Hi,
While publishing a website to IIS. Is it necessary that all the dlls should be present in bin folder rather than bin\debug folder.
I created a webservice using spring.net. In spring .net, a normal class library project is hosted as a web service.
I created a new virtual directory and pointed it to my class library folder.
It is giving me an error like "*.dll" is not present.
I browsed the folder strucure and saw all the files are present in bin\debug folder.
I copied my dlls from Bin\debug to placed it directy under bin folder and my webservice started working like a charm.
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.
Is there any setting in IIS where we can ask the IIS t look for the dll in a particular folder.
Nideesh.S
Mark as answer, If it helps you.
XiaoCheng Fa...
All-Star
17743 Points
1414 Posts
Re: Bin folder
Oct 13, 2010 01:29 PM|LINK
Hi,
It is nessary to put the dll files in the bin folder.
You can set the output folder by project properties -> build -> output-> output path.
I hope this can be helpful for you.
If you have any feedback about my replies, please contact msdnmg@microsoft.com
Microsoft One Code Framework
adeelehsan
All-Star
18319 Points
2746 Posts
Re: Bin folder
Oct 13, 2010 01:34 PM|LINK
Hi
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.
MCPD ASP.NET 4.0 and 3.5, MCTS WSS, MOSS, SharePoint 2010, MCT
Microsoft Community Contributor Award 2011