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

error with opendir
when i do this

if ($handle = opendir($dir)) {
while (false !== ($file = readdir($han

Passing PHP variables from one page to another
Hello-

I'm having trouble figuring out how to transport a variable from one php file to anoth

PHP Display Telephone Number On Referrer
I have used the php below to show a different telephone number in the header of the site depending u

Is this Safe or Unsafe?
Hi i made a few pages with lots of peoples help now i just want to know if they are safe or not can

login and redirect
hello! can someone help me.. can you give me an idea.. I want to make a login page and redirects it

gather checkbox data from form into email
Hello all,

First, i'd like to thank everyone who responded to my previous posts regarding set

Results from Db outputted twice
Hey guys.. for come reason my data is outputted twise shown in the image below and i cant figure out

What am I missing here? Help!
Hello all!. I can't seem to get this working right. Well - it renders right, but something is goin

Posting to another Site?
I have software that people install.
When they install it, is there a way to make it post their d

Am I setting up my sites oldschool?
Ok,

When I create a site I open a basic template that I have created that consists of a css f

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