SilverLight应用程序代码中的未处理错误:2014 [英] Unhandled Error in SilverLight Application Code:2014

查看:222
本文介绍了SilverLight应用程序代码中的未处理错误:2014的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我正在使用Silverlight开发SharePoint应用程序.我的可视Web部件包含对.xap文件的引用.当我尝试使用IE浏览网站时,状态栏中出现错误"SilverLight Application Code:2014 ...中的未处理错误",看起来像是javascript错误.

我在google上搜索过,大多数网站建议IIS不包含.xap,.bap或.xaml的MIME类型.我已经检查了IIS 7.0.它包含所有描述扩展.还有什么可能呢?

我想知道是否有人在这方面帮助我

预先感谢

Hi all,

I am working on SharePoint application, with silverlight. My visual webpart containing reference of .xap file. When I try to browse site with IE, I am getting error in status bar "Unhandled Error in SilverLight Application Code:2014...", looks like javascript error.

I have searched on google, mostly sites suggest that IIS does not contain MIME type for .xap, .bap, or .xaml. I have checked with my IIS 7.0. It contains all describe extension. What could be other possibility?

I am wonder, if someone help me on this

Thanks in advance

推荐答案

0)有时,如果在服务器上升级.Net,MIME类型将从IIS中消失.验证它们是否确实存在,并且是否正确.

1)验证加载Silverlight应用程序的aspx文件中的路径是否正确.如果您缺少波浪号,它将失败.应该是这样的:

~/ClientBin/MySilverlightModule.xap
0) Sometimes MIME types disappear from IIS if you upgrade .Net on the server. Verify that they are in fact there, and ythat they ware correct.

1) Verify that the path is correct in the aspx file that loads the silverlight app. If you''re missing the tilde, it will fail. It should be something like this:

~/ClientBin/MySilverlightModule.xap


这篇关于SilverLight应用程序代码中的未处理错误:2014的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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