1. 重装IIS和.net
2.This is one of the temporary solution i did when i got the same errors. First rename the .dll file in bin folder to some .dllx and run the project. Then again rename the .dllx to the original name and you will see your application running.