[Debug - SharePoint] Sys.InvalidOperationException: Object xxx already exists and is not a namespace
来源:互联网 发布:开淘宝店需要交钱吗 编辑:程序博客网 时间:2024/06/06 15:49
今天突然在浏览器中发现了这个js错误“Sys.InvalidOperationException: Object xxx already exist and is not a namespace”, 导致一个Ribbon Button不工作了。
非常奇怪,之前还是正常的,今天就出错了。然后发现这个错误是在一个嵌入的脚本中抛出的,这个脚本就是著名的“MicrosoftAjax.js”,但是奇怪的是,浏览器载入的是这个文件的debug版本“MicrosoftAjax.debug.js”。仔细想了一下才明白,昨天在调试代码的时候,改了web.config的配置了,把配置文件中的
<compilation debug="false">
改成了
<compilation debug="true">
所以解决办法是:
1. 找到web.config文件:C:\inetpub\wwwroot\wss\VirtualDirectories\80\ (80是端口号)
2. 将debug值改为false
- [Debug - SharePoint] Sys.InvalidOperationException: Object xxx already exists and is not a namespace
- android: 编译时候提示:xxx/gen already exists but is not a source folder
- already exists but is not a source folderalready exists but is not a source
- SharePoint debug : launchPoint given is already associated with a callout
- destination exists and is not a directory
- gen already exists but is not a source folder
- gen already exists but is not a source folder
- 【project】gen already exists but is not a source folder
- gen already exists but is not a source folder
- gen already exists but is not a source folder
- gen already exists but is not a source folder
- Android : gen already exists but is not a source folder
- gen already exists but is not a source folder
- gen already exists but is not a source folder
- There is not a header with name ServiceContext and namespace http://schemas.microsoft.com/sharepoint/servicecontext in the messa
- Rsa加密,提示 object is already exists.
- gen already exists but is not a source folder. Convert to a source folder or
- /gen already exists but is not a source folder. Convert to a source folder or rename
- 五、 作业
- Tomcat version
- 探索WebKit内核(二)------ IDL和Bindings
- 学习笔记(2.3) 新建android虚拟机
- Android中实现“程序前后台切换效果”和“返回正在运行的程序,而不是一个新Activity”
- [Debug - SharePoint] Sys.InvalidOperationException: Object xxx already exists and is not a namespace
- WTL7.0 CToolTipCtrl 不显示内容
- Objective-C 的“多继承”
- (挑战编程_3_4)Crypt Kicker II
- 开学倒数第十三周
- android studio 使用
- ubuntu下keepalived 和nginx配置主备切换
- mysql性能优化-慢查询分析、优化索引和配置
- (挑战编程_3_5)Automated Judge Script