找不到文件自定义操作 SharePoint 2007
我用谷歌搜索了很多,但我无法了解这里发生的事情:
我在 ECB 中为 MOSS 2007 中的文档库开发了一个自定义操作,它使用公司标准更改了文档名称。
这是一个自定义操作功能,可重定向到自定义开发的页面, 该页面所做的唯一一件事就是更改文档的名称并将用户重定向回网站的主页。
它在除一个网站之外的所有网站中都运行良好,但我找不到原因。
它不断抛出以下“找不到文件”错误:
错误在加载页面之前出现,因此我无法对其进行调试。
我将不胜感激任何弄清楚发生了什么的想法
提前致谢
I've googled a lot, but I just can't get a clue of what's happening here:
I developed a Custom Action in the ECB for Document libraries in MOSS 2007, it changes the document name with the company standard.
It is a custom action feature that redirects to a custom developed page,
The only thing the page does, is to change the name of the document and redirect the user back to the site´s main page
It works quite good in all sites but one, and I cannot find why.
It keeps throwing the following "File not found" error:
The error comes out before it loads the page so I'm not able to debug it.
I will appreciate any idea of figuring out what's happening
Thanks in advance
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
当您的部分代码尝试根据 url 打开 SPweb 对象时,似乎会发生错误。
鉴于这种情况只发生在一个网站上,我首先会尝试找出该网站为何不同。也许它已被移动或重命名。
还可以尝试使用可能的 URL 进行几次 SPWeb.Open 调用,看看是否有任何问题。
Looks like the error is occuring when part of your code is trying to open an SPweb object based on a url.
Given it happens for just the one site, I would start by trying to figure why this site is different. Perhaps it has been moved or renamed.
Also try a few calls SPWeb.Open with likely Urls to see if anything stands out.