The following error occurred when I tried to run a ASP.NET app that had just been converted from .NET 1.1 to .NET 2.0 (using the VS2005 wizard):
An error occurred creating the configuration section handler for DrKW.Directory.WebService: Could not load file or assembly 'DrKW.Directory.WebService' or one of its dependencies. The system cannot find the file specified.
The problem is exactly as the error message states - "The system cannot find the specified file".
My section element within configSections (in the web.config file) was:
<section name="DrKW.Directory.WebService" type="DrKW.Directory.WebService.ConfigSectionHandler, DrKW.Directory.WebService"/>
And the original (ASP.NET 1.1) project had an assembly name of DrKW.Directory.WebService. And this was causing the problem - because ASP.NET 2.0 does not create an assembly dll for the web app.
To work around this, I just simply removed the assembly name from the type value eg:
<section name="DrKW.Directory.WebService" type="DrKW.Directory.WebService.ConfigSectionHandler"/>
HTH
Tim