IIS 5 & IIS 6
where to put Dll files?
Last post Jul 31, 2007 09:52 AM by Hope4sun
Jul 30, 2007 05:47 AM|omarmallat|LINK
I want to know where to put Dll files? if a page need a dll so where to put this dll?
I create a webpage with vs2005.. when I run it from vs2005, it run correctly.. I copy the hole folder to wwwroot folder.. and I try to open it using IE. I got the following error
Could not load file or assembly 'FreeTextBox' or one of its dependencies. The system cannot find the file specified.
my situation is:
Default.aspx is located in wwwroot/qal folder
FreeTextBox.dll is located in wwwroot/qal/bin folder
I try to put the dll in the same folder with Default.aspx but I got the same problem...
I put my website folder on internet.. and I cannot load the page the need a dll... all pages load properly, but those who need a dll don't load on IIS and on the internet...
please any help..............
Jul 30, 2007 10:11 AM|Hope4sun|LINK
How is the site configured, is it defined as an application under IIS?, i'd check that the httpHandler is correct in web.config, and that correct version of FreeTextBox.dll is in the \bin folder, though if you have copied everything up this should be setup
Jul 30, 2007 03:14 PM|tomkmvp|LINK
Did you check with support for FreeTextBox?
Jul 30, 2007 06:43 PM|omarmallat|LINK
look... I publish the website, then I copy the hole foder to wwwroot folder...
the publish folder contains my page.aspx and a sub folder: bin that contains the dll.
should I do anything else???
this problem is not only with this dll.... any page that need an external dll give me the same problem...
sorry but I couldn't understand what u mean by : is it defined as an application under IIS? what should I do to define it as application...??
Jul 30, 2007 06:50 PM|tomkmvp|LINK
Jul 31, 2007 09:52 AM|Hope4sun|LINK
Navigate to the virtual folder in the IIS Manger MMC, then right click it and select
Properties, under the Directory tab click the Create button.
This will then change the virtual folder into an application, you can see the icon change from a folder to a little cog. Ensure that your execute permissions are set correctly and then try to access the page.