File Not Found – Assembly Binding Error

 

I am sure many of you might have come across the “File Not Found” error related to the Assembly Binding.

 

FileNotFound Error

 

The best way to diagnose is to use the Fusion Log Assembly Viewer. The tool FUSLOGVW.exe is located at C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin

You can also access this tool from your Visual Studio Command Prompt.

CommandPrompt

Fusion Assembly Log Viewer Settings:

FusLogVw Settings

  • Set your Log Settings as per the screenshot above. Set your own custom log path.
  • Close the Fusion Assembly Log Viewer
  • Once you are done with those settings make sure you delete all the Temporary ASP.NET Files from the “Windows\Microsoft.NET\Framework\v2.0.50727” folder.
  • Do an IISRESET
  • Start the Fusion Assembly Log Viewer
  • Open your ASP.Net web application and recreate the erroring scenario.
  • Click Refresh button in the Log Viewer
  • Look for App_Web_error.aspx entry..and move up in the list you will find the dlls that the application is trying to bind. Double click it and you will find the details of the binding error.

FusionLog Error Output

Ref: http://msdn.microsoft.com/en-us/library/e74a18c4.aspx

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: