Visual Studio 2010: Could not resolve mscorlib for target framework ‘.NETFramework,Version=v4.0’

It could be that the path to your solution is too long: Meaning: C:\MyProject\Folder\SubFolder… should be Under “256 Character”. http://wcfvs.blogspot.com/2011/04/could-not-resolve-mscorlib-for-target.html I found this thread when I had the same issue but had no reference issues. I found the link above and it solved my problem. Hopefully this will help someone else who comes here with … Read more

“Exception has been thrown by the target of an invocation” error (mscorlib)

I’d suggest checking for an inner exception. If there isn’t one, check your logs for the exception that occurred immediately prior to this one. This isn’t a web-specific exception, I’ve also encountered it in desktop-app development. In short, what’s happening is that the thread receiving this exception is running some asynchronous code (via Invoke(), e.g.) … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)