• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 8568
  • Last Modified:

Could not load file or assembly XmlSerializers

I have a program that downloads files from a Web Service.  It has been working well for some time.  Today, it is giving me this error when I run it:

The assembly with display name 'WSPoll.XmlSerializers' failed to load in the 'LoadFrom' binding context of the AppDomain with ID 1. The cause of the failure was: System.IO.FileNotFoundException: Could not load file or assembly 'WSPoll.XmlSerializers, Version=, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
File name: 'WSPoll.XmlSerializers, Version=, Culture=neutral, PublicKeyToken=null'

How can I fix this?  Thank you.
Tom Sage
Tom Sage
  • 2
  • 2
1 Solution
Did you uninstall anything from your machine
Error says that your application is unable to load "WSPoll.XmlSerializers.dll" version
This dll should be either in bin folder of your application or in GAC.
If it is not found then copy the dll to bin folder or install it in GAC

This should fix your issue
Tom SageAuthor Commented:
Hi TechTiger007,

I get this error when I press F5 in VS 2005.  It stops at a call web service and gives this error.  It was working fine yesterday.  

I looked at a working version of this program loaded on a server. There is no WSPoll.XmlSerializers.dll in the program directory.  Also, I looked at the deployment program.  It does not load any such dll.

I am not sure what turned on the need for this dll.  I will keep looking.  Thanks.
Did you check the GAC
Is the web service that you are calling using this dll?
Tom SageAuthor Commented:
Here is a link that basically says this is a bug in VS 2005.  The fix is to turn it off in the VS menu selections (Debug/Exceptions/Managed Debugging Assistants)  Uncheck Binding Failure.


thanks for your help.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now