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

login box shows up again after logging in 2nd login works
Hello,

I am having trouble on my site Lockerz.rack111.com where when you login the login box

Will an XHTML DOCTYPE interfere with my PHP if I'm not experienced enough?
I've read this article here: http://friendlybit.com/html/why-xhtml-is-a-bad-idea/

In a nutshe

Can I use a loop
Hi buddies!

Once again with my doubts here.

Right now I am using this sql stat

PHP time (deadline within one week)
I have a column ['projdue'], which stores the deadline for a project.
I have PHP code and <

calculator
I can't figure out why this code doesn't work. No error messages. Page loads.

Code: <

Converting from one format to another
"I have got a date in DD/MM/YYYY but I need it in MM-DD-YYYY. Help!"

Handling text changed in text box control using Ajax
I need to create a web form with a text box control. When someone types text into the textbox I nee

writing a screen scraper
Hello,

I'm writing a screen scraper application and want to be able to get absolute addresses

a very simple php header question (sorry!)
Firstly...I do apologise if this annoys anyone....a header error

I'm do not know php &

Using two $_POST Function / Switch () statements, second does not work.
Hi all. I’m new to php and am having a problem getting $_POST Function / switch () to work. I

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