8
Vote

OnPreRender: Ambiguous match found

description

MOSS April Update [968850] is causing compatibility issues.

comments

StianKirkeberg wrote Sep 15, 2009 at 11:54 AM

Try updating the Common.cs file GetUserListPermissions(..) method:
replace line 136 -142:
MethodInfo getPermissions =
typeof(SPUtility).GetMethod("GetPermissions",
    BindingFlags.NonPublic |
    BindingFlags.Public |
    BindingFlags.Instance |
    BindingFlags.InvokeMethod |
    BindingFlags.Static);
With:
MethodInfo getPermissions =
typeof(SPUtility).GetMethod("GetPermissions",
    BindingFlags.NonPublic |
    BindingFlags.Public |
    BindingFlags.Instance |
    BindingFlags.InvokeMethod |
    BindingFlags.Static,
    null,
    new Type[] {typeof(SPUserToken), typeof( ISecurableObject)},
    null);


wrote Sep 15, 2009 at 7:25 PM

Konami2k wrote Sep 17, 2009 at 2:51 PM

works for me, thank you

wrote Oct 7, 2009 at 4:14 PM

wrote Mar 8, 2010 at 8:03 PM

wrote Jan 5, 2011 at 3:06 PM

wrote May 6, 2011 at 7:26 PM

wrote Aug 25, 2011 at 10:05 AM

trodrigue wrote Mar 5, 2012 at 4:53 PM

Just recently updated to MOSS SP3 and I have received this error. PreRender: Ambiguous match found. How do I correct? Your assitance is appreciated.

wrote Feb 14, 2013 at 7:25 PM

tlecander wrote Jul 16, 2014 at 10:27 PM

When StianKirkeberg wrote Sep 15, 2009 at 6:54 AM


Try updating the Common.cs file GetUserListPermissions(..) method:
replace line 136 -142:
MethodInfo getPermissions =


Where is this "Common.cs" file found? I'm not familiar enough with SharePoint to know if this file is part of SharePoint or is part of something else.

Please help!