Question:
You develop an ASP.NET Web application that references an assembly named CustomControls.dll. You test the application on a staging Web server that runs IIS 6.0 and verify that the application functions correctly.
You deploy the application to a production Web server. When you attempt to browse the application, you encounter the following error:
Could not load file or assembly 'CustomControls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
You need to identify the cause of the error.
What should you do on the production server? (More than one answer choice may achieve the goal.
Select the BEST answer.)
A
Add the following element to the Web.config file:
<customErrors mode="On" />
B
In IIS Manager, examine the application pool configuration.
C
Open the application root directory and examine the contents of the \bin directory.
D
Enable assembly bind failure logging, and then launch the Assembly Binding Log Viewer (Fuslogvw.exe).
+ AnswerD
+ Report