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

help with Get_
ok some how this is not working i am not sure what i am doing wrong here but what this does is when

New to Arrays
Hi I am new to PHP (a week and a half now) and I am just beginning to read about arrays. I understan

Calender Not Opening
The following code is not loading the javascript calender in another window. It's not doing anything

Progress bar tracking file downloads
Hey guys, was wondering if there was a way to track how far a file has been downloaded. I know there

query based on 2 conditions
I want to select if the doc_type is either s OR f but this doesn't work:

Code: [Select]$query

Display a default image
I am trying to display generic image for items that don't have one, but I can't get it to display.

PHP / MySQL Associative Multidimensional Array:
Hello.

I have data in a MySQL Table that adheres to the below: (note, no index, could add if

User registration and login
I don't know whether this is the correct forum, if not i apologise but am pretty desperate at the mo

UPLOAD IMAGES NOT WORKING!
Hi there i have a upload script in which it uploads the picture to a folder than creates two thumbna

xml element exists
Code: [Select]<?xml version="1.0"?>
<Addresses>
<

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