File not found

Feb 24, 2010 at 12:20 PM

Hi,

Just installed your solution on both my development VPC as well as our testinstallation. It looks like just the thing we need to help our Notes users to relate to SharePoint so first of I would like to thank you.

But, in both environments I get the following message:

File Not Found.   at Microsoft.SharePoint.Library.SPRequestInternalClass.GetMetadataForUrl(String bstrUrl, Int32 METADATAFLAGS, Guid& pgListId, Int32& plItemId, Int32& plType, Object& pvarFileOrFolder)
   at Microsoft.SharePoint.Library.SPRequest.GetMetadataForUrl(String bstrUrl, Int32 METADATAFLAGS, Guid& pgListId, Int32& plItemId, Int32& plType, Object& pvarFileOrFolder)
   at Microsoft.SharePoint.SPWeb.GetMetadataForUrl(String relUrl, Int32 mondoProcHint, Guid& listId, Int32& itemId, Int32& typeOfObject, Object& fileOrFolder)
   at Microsoft.SharePoint.SPWeb.GetList(String strUrl)
   at Chaks.SharePoint.Docs.ILP.Utilities.Extensions.ILPExists(SPWeb rootWeb, String listId)
   at Chaks.SharePoint.Docs.ILP.ILPSettings.SetILPValues()
   at Chaks.SharePoint.Docs.ILP.ILPSettings.Page_Load(Object sender, EventArgs e)
   at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
   at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
   at System.Web.UI.Control.OnLoad(EventArgs e)
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

===

Installer ran successfully.

Features activated at both site collection and site level.

web.config set to display verbose messages.

Logged in as farm administrator and local admin.

I looked at your code and changed the following in Utilities.cs, line 17:

from:  SPList ilpList = rootWeb.GetList("/Lists/ILPSet/");

to:      SPList ilpList = rootWeb.GetList(rootWeb.ServerRelativeUrl.TrimEnd('/') + "/Lists/ILPSet/");

and everything works fine.

Hope this helps,

Björn