ajax.dll .net 4.0,httphandler - AjaxToolkit IIS7 Asp.Net 4.0: Sys is not defined; handler mapping is...

I have moved my asp.net 3.5 app to asp.net 4.0 and moved from windows 2003 (iis6) to windows 2008 r2 (iis7.5) and now i have this sys is undefined error.

i have the app running in an integrated application pool. everything works except my ajaxtoolkit 3.0.20820.0 dll

now I have read several blog posts, most of them cover asp.net 2.0 web.config files and not the minimized asp.net 4.0 config files.

here are some parts from my current config file:

and another part:

There is not much info available for asp.net 4.0 and ajaxtoolkit http handler issue, so I hope some guru @ stackoverflow can help me out :)

EDIT:

since I have this stupid sys undefined thing, my global.asax gives this on_Error:

Error Message: This is an invalid script resource request.

Stack Trace:

at System.Web.Handlers.ScriptResourceHandler.ProcessRequest(HttpContext context)

at System.Web.Handlers.ScriptResourceHandler.System.Web.IHttpHandler.ProcessRequest(HttpContext context)

at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

it's on scriptresource.axd files :S

Edit2: the strange thing is that my local web.config hasn't got any handler stuff in the web.config and it runs on the development webserver casini

Edit 3: people say that Adrian has the solution here:

http://budigelli.wordpress.com/2007/05/01/error-sys-is-undefined-error/

but I can't get it to work on IIS7

Edit 4: I've read somewhere that IIS7 has a wildcard mapping at Handler mapping

I have seen that there is an extensionless wildcard mapping in de sorted list above the .axd mapping. but now I still don't know how to configure the mappings in IIS7 to support the Ajaxtoolkit!

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值