ScriptResource.axd gives an error on fresh install of ASP.NET Ajax 1.0


Posted on 16th Feb 2014 07:03 pm by admin

Hello,I have a fresh install of Microsoft ASP.NET Ajax 1.0. When I create an Ajax enabled website in Visual Studio, and immediately run the Default.aspx page I get a javascript error: Sys is not defined. When I check the contents of the script tag that was rendered by the ScriptManager control, instead of seeing javascript code, I see an ASP.NET error page:Server Error in '/AjaxEnabledWebSite' Application.
Specified argument was out of the range of valid values.Parameter name: utcDateAnd this is the stack trace:[ArgumentOutOfRangeException: Specified argument was out of the range of valid values.Parameter name: utcDate]System.Web.HttpCachePolicy.UtcSetLastModified(DateTime utcDate) +3258643System.Web.HttpCachePolicy.SetLastModified(DateTime date) +47System.Web.Handlers.ScriptResourceHandler.PrepareResponseCache(HttpResponse response, Assembly assembly) +194System.Web.Handlers.ScriptResourceHandler.ProcessRequest(HttpContext context) +1154System.Web.Handlers.ScriptResourceHandler.System.Web.IHttpHandler.ProcessRequest(HttpContext context) +4System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +154System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64Just to be clear: AJAX installed two days ago, website based on Ajax Enabled Website template, ran immediately on the built in development server without touching the web.config. Any help would be appreciated!Thanks!

No comments posted yet

Your Answer:

Login to answer
198 Like 28 Dislike
Previous forums Next forums
Other forums

Warning: session_start() headers already sent error - Driving me Nuts!
I am trying my sister in laws site and I keep getting an error with my coding. I am more of a design

download directory onto C drive
I am attempting (if this is possible) to write a routine to automatically dump the contents of a dir

Form help: Syntax & Logic
Hello again all,

I'm working on a form and ran into a wall (again) and can't seem to think th

Functions Not Loading Into Div
I had some help doing some of this but what I'm trying to do is get my functions to retrieve its val

More pug propaganda.
http://www.youtube.com/watch?v=8Kkrmubsgf8

The commercial is definitely worth watching pug aw

how to insert value
I am having file bookissueadd.php..... in which i am having tag

<td height="21&q

Need help PLEASE
ok i have this warning showing up

Warning: in_array() [function.in-array]: Wrong datatype for

Finding digits in variable containing text, and IDing them
$romanstock = "http://www.remoteprice.com/data.asp?storeid=123&itemcode=456&typ

Including calander to page - will not show other months than current??
im trying to add an existaing calander onto a profile page by using Code: <?php include "

Java API in PHP?
I have an application that we use internally here at the office.

The software company provide

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash