将Framework从2.0迁移到4.5引入了javascript运行时错误 [英] Migrating Framework from 2.0 to 4.5 introduced javascript runtime errors

查看:79
本文介绍了将Framework从2.0迁移到4.5引入了javascript运行时错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我们将目标更改为框架4.0之后,我得到很多运行时错误,而我没有在Framework 2.0中获得这些错误,我们没有更改任何代码只是改变了运行时


{exception} 无法获取未定义或空引用的属性"action"


JavaScript运行时错误:Array.prototype .slice:'this'不是JavaScript对象


任何想法如何解决这个问题,是否有javascript更新?



谢谢

解决方案

您能否进一步解释从VB.Net执行JS的上下文应用程序?


如果您正在使用ASP.Net Web应用程序,那么最好将问题发布在
https://forums.asp.net 而不是这里(此论坛适用于桌面应用程序和服务以及一般VB语言问题)。


I am getting alot of runtime errors that I did not get in Framework 2.0 after we changed the target to framework 4.0, we did not change any code just changed the runtime

{exception} Unable to get property 'action' of undefined or null reference

JavaScript runtime error: Array.prototype.slice: 'this' is not a JavaScript object

any ideas how to fix this, is there a javascript update?

Thanks

解决方案

Can you please further explain the context in which JS is being executing from a VB.Net application?

If you are working with an ASP.Net Web Application then it would be best to post the question at https://forums.asp.net instead of here (this forum is for desktop applications and services as well as general VB language questions).


这篇关于将Framework从2.0迁移到4.5引入了javascript运行时错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆