I've followed the guidelines and referred to the resource file TutorialMvc4SchedulerRazor.VS2010, I got this during run time. No error shows in the code though.
You'll need to switch to the latest DayPilot Pro version - it doesn't use the AllowPartiallyTrustedCallers attribute anymore.
http://mvc.daypilot.org/try/