File or assembly name xxx.DLL, or one of its dependencies...

Problem

You see this error message when running your application:

File or assembly name xxx.dll, or one of its dependencies, was not found.

This occurs when the .NET Framework is not properly registered under Microsoft IIS, generally because the .NET Framework was installed before Microsoft IIS.

Solution

See Configuring the Microsoft .NET Framework for details on how to properly configure the .NET Framework.

See Also

Part VII:  Troubleshooting Applications

Application Will Not Run

Application Runs But No Data is Displayed

Application Error Messages