I reinstalled the framework on the server AGAIN and it finally started to work.