Author: Tom | Posted on: 7/21/2008 3:00:00 AM | Views : 918

Question A customer has created a web project which references a class library project.  When deployed to the local machine the web/classes all work fine.  When deployed to a ââ?¬Ë?sharedââ?¬â?¢ IIS site, the class DLLs exist in the /bin folder, but the web page generates an error:
canââ?¬â?¢t find file ââ?¬Å?Documents and settings/ââ?¬Â¦.ââ?¬Â
when trying to access the class DLL.
Is there a special setup to make the web pages look in its /bin folder?
Answer There isnââ?¬â?¢t usually anything needed in order to make this scenario work.  But if it isnââ?¬â?¢t working for you, there are two choices here.  If you are in ASP.NET, most likely the cause is that you donââ?¬â?¢t have the following entry in the machine.config prior to 2.0 and the root web.config file (in the same folder as machine.config) for 2.0 and later:

<compilation>
<assemblies>
<add assembly="*"/>
...

Go to the complete details ...