404访问布局文件夹时。
问题描述:
我在sharepoint 2013的layouts文件夹中有一个aspx页面,我试图通过提供url从webpart访问该页面。但是,我收到404页面未找到错误。但是,当我看到该文件存在于该位置时。
I have an aspx page inside the layouts folder in sharepoint 2013 and I am trying to access that page from a webpart by providing the url. However, I am getting a 404 - page not found error. But when the file, I can see, physically exists in that location.
答
嗯,根据错误404 - 形成的URL指向文件夹的位置不在场。
确保URL实际上指向您期望的相同位置。相对URL有时候很棘手。
Well, based on error 404 - the URL formed is pointing to a location where the folder is not present.
Make sure that the URL is actually pointing to the same location where you expect it too. Relative URL''s at times are little tricky.