File not found Custom Action SharePoint 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
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.
精彩评论