ASP.NET Ajax Preview Script Loading Error

Here is a little tip of you’re playing around with the "Futures December CTP". If you have been using earlier version of the preview code, you might end up putting this in your ScriptManager to load the preview scripts:


<asp:ScriptReference
     Assembly="Microsoft.Web.Preview"
     Name="PreviewScript.js" />
<asp:ScriptReference 
     Assembly="Microsoft.Web.Preview"
     >Name="Microsoft.Web.Resources.ScriptLibrary.PreviewGlitz.js" />

Bad idea. If you’ll do this you’ll get either of the following error messages:

To fix this, just remove the "Microsoft.Web.Resources.ScriptLibrary." from the "Name" attribute. Was having this problem. Noticed the fix here.