If it doesn't have the full path to the DLL, Windows searches for unmanaged DLLs in this order:
1. app's startup directory
2. app's current directory
3. c:/windows/system32
4. c:/windows/system
5. c:/windows
6. path environment variable
Options 1 and 2 are not useful in the case of a web app, it runs through IIS. Visit forums.asp.net or an IIS newsgroup at www.microsoft.com/communities for alternate deployment strategies for IIS.
Original Link: http://forums.microsoft.com/MSDN/ShowPost.aspx?Pos...