.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

PEOPLE_DL_IMPORT Crawl issue - The directory property cannot be found in the cache.

Posted By:      Posted Date: May 22, 2011    Points: 0   Category :C#


We have a SharePoint 2007 farm with two web front ends, one app server and one db active passive cluster. We're at SP2 + Feb 2011 CU.

In the past few days, our user profile import and crawl has been working fine, but our Membership and BDC import and crawl has shown errors in the crawl log:

" Crawled: (The directory property cannot be found in the cache.) " 

This affects about 80% of our groups that are crawled. I can still select the AD groups in the people picker, assign permissions with them, etc. But I'd like to resolve that warning.

I believe I've figured out which (AD) directory property is no longer available, but I'm not 100% certain.

Is there a way to confirm which directory property cannot be found in the cache? If so, is there a way to change the PEOPLE_DL_IMPORT content source so that it doesn't throw that warning any more?


Kevin Worthington



View Complete Post

More Related Resource Links

Crawl Log - Error - Language database/cache file could not be found



I'm getting a lot of errors - Language database/cache file could not be found - in the Crawl Log. Does anyone know what they are and how to fix them?


Security Briefs: Active Directory Cache Dependencies


If you're not taking advantage of Active Directory, you should be. Learn the benefits from Keith Brown.

Keith Brown

MSDN Magazine July 2007

Server Cache Issue - .Net 2.0 / Oracle 11g / 2003 Server / IIS 6.0

Hi All,We are working on a web application developed in C#, nHibernate and with Oracle as back-end.WebServer and Database are on different machines.Application is more or less accessed by 500 users all the time.Recently we found that some of the controls within MultiView Tab contol were not working as expected. Basically, data is not getting saved.For instance, if there are 5 tabs and in the first tab if we change an option in the dropdownlist, in the autopostback event, the new value should get saved to database. If we navigate to another tab and visit the previous tab, the new option should remain there (reloading the data in the page_load, preRender events).But once we restart the IIS, all this functionality works as expected.Even if there is some database issue, like foreign key violation etc, application is behaving weirdly and once we fix the database issue, we still need to restart IIS to clear cache for the application to behave normally.I am not sure if any of you ever faced this issue but please let me know where to start analyzing this issue?Thanks in advance.ys

"Access Denied" and RunwithElevatedPrivilages issue (Yes, I've found the other posts in the Forum)

I just *KNEW* I had found a fix for my issue in the forums at http://social.msdn.microsoft.com/Forums/en-US/sharepointdevelopment/thread/c3d2b304-7fcc-40d2-86ce-61d9b21b03d7/ However, I've tried every suggestion made in this thread and *still* get issues in that the 'normal' end user cannot see the form. I have any overly simple form in the layouts folder with a lable and a table. I can write the Site Title to the label, and need to add rows to the table, one for each Site Owner (Full Control user) found for the site. This form will be available to anyone with access to the site. However all I get is: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) I have confirmed the application pool identity is the correct service account for the farm.  Here is the code I'm using; can anyone advise where I'm stepping on my own toes? protected override void OnInit(EventArgs e) { try { SPSecurity.RunWithElevatedPrivileges( delegate() { using (SPSite site = SPContext.Current.Site) { site.AllowUnsafeUpdates = true; SPWeb web = SPContext.Current.Web; web.Site.CatchAccessDeniedException = false; thisSiteTitle.Text = web.Title.ToString(); //FindSO(web); //BEGINNING OF COPIED FINDSO CODE writeToEventLog(app, "2", "2"); ArrayList allOwner

LDAP - directory entry issue with out user and password using impersonate and windows authentication

Hi All I am using the below code to fetch the user information from LDAP             DirectoryEntry entry = new DirectoryEntry("LDAP://DEV");             DirectorySearcher searcher =  new DirectorySearcher(entry);             SearchResult result;             searcher.Filter = "samaccountname=testuser";             result = searcher.FindOne(); here i am using windows authentication always and along with that when i enable the impersonate = true ,  the code fails at "result = searcher.FindOne();" with message "object reference not set to instance of an object "  also with the same code if i give the username and password along with the impersonate tag >> it works  or if i am using the user and password along with the DirectoryEntry  object then also it will work  but it fails with same user that i gave in impersonate tag / directory entry object with windows authentication enabled  and the  user logged to the application and no username and password tag in directory entry / impersonate tag  Interesting thing is that  in our development server ,  i am able to execute the same code with out user name p

Issue with multi-valued crawled property

Hi, The problem is, we have a multi-valued crawled property (Managed Metadata type) which we are mapping to a managed property. The managed property has been created, setting MergeCrawledProperties to false.   On the page http://technet.microsoft.com/en-us/library/ff393811.aspx , it states that if MergeCrawledProperties is not set, only the first element is stored in the managed property. We are seeing this behaviour in our environment.   That is causing an issue with refinement results based on this managed property, because it is not including the second element as a result. For example, if we crawl the following content:   Doc1.doc           Property1;Property2 Doc2.doc           Property1;Property2 Doc3.doc           Property2   Refinement results look like this: Property 1           RefinementCount = 2 Property 2           RefinementCount = 1   Ideally we would like to see Property 2’s RefinementCount = 3 to accurately reflect our source data.   We also tried setting MergeCrawledProperties to true , however this merges results together.   For example, with our scenario above, refi

Issue - The report execution has expired or cannot be found. (rsExecutionNotFound)


Hello Experts,

I am running a huge SSRS 2008 report (that returns 2 million records) and it gets rendered sometimes and sometimes it gives me an error,

"The report execution <some string> has expired or cannot be found. (rsExecutionNotFound)”.

When I see SQL Server log after this issue comes I see following message there;

"A significant part of sql server memory has been paged out. This may result in performance degradation. Duration: 300 seconds. Working set(KB): 97672, memory utilization 42%"

IMPORTANT point to note here is when I am running reports with 1 million records or smaller than that, then I am able to execute them successfully without any issue.

I am using SSRS 2008 64 bit, Win Server 2003 64 bit. RAM is 8GB.

Please help me to know what are these issue, are these two issues related and how to fix it?


a toggle issue caused by cache


Hi all,

I've encountered a weird issue when i deploy one report on my report server. There is a tablix in my report, and it has two groups,

one is group1,the other is detail, i set the detail was toggled by the group1's head row. If i select the "Do not cache temporary copies of

this report" option  in execution tab in report manager, then it is ok ,the group1's head  row could toggle detail row correctly, but after i

select the "Cache a temporary copy of the report. Expire copy of report after a number of minutes:10" option, there a problem occured,

when i click the toggle icon at first time ,the detail row wouldn't show, but after that, the toggle works correctly, in other words, only the

first time the toggle can not work. In order to prove that, i reset the the cache option to do not cache the report, and the toggle works

fine no matter first time or after that.

Can anybody help me, any reply would be appreciated


The property 'Label' was not found in type 'RibbonCheckBox'




I am using the Ribbon (v3.5.31016.1) in one application and I was trying to use some checkboxes, however it says that the checkbox has not got the property LABEL?

 <r:RibbonCheckBox x:Name="chkBox" Label="My check box" Click="chkBox_Click"></r:RibbonCheckBox>

How should I display the text for the ribboncheckbox?


Order by property issue



I have a dimension called DimLocation which has this strucutre





I want to arrange the State members using the OrderBy property, if I select the Value  AttributeName and then try to precise the attribute according to which attribute members would be ordered using the next property OrderByAttribute then I didn't find any corresponding attributes in the OrderByAttribute drop own list, I tried to specify this by direct writing the name of the attribute on the property cell but it won't work if I hover the given attribute in the attributes zone (next to the hierarchy zone) a  tooltip tells me "The ordering criteria is set to 'Attribute Name', but the ordering attribute is not set "

The complexity resides in the simplicity

A field or property with the name 'FieldName' was not found on the selected data source


I'm attempting to load a GridView dynamically on a button is pressed.

The gridview has AutoGenerateColumns="True" (set in skin definition) and has a declarative column definitions as follows:

<asp:GridView runat="server"
        SkinID="GridViewDetail" ID="gvReport"
            <asp:TemplateField HeaderText="Date">
                        <asp:LinkButton  OnClick="

Listview Webpart "rootFolder" private property issue in sharepoint 2010


We have used listview webpart to display document library.

The ListViewWebPart contains a private variable called 'rootFolder' that contains the current folder the webpart is displaying.

Below code snippet is used to obtain the value of the private variable contained within the ListViewWebPart.

private static object GetPrivateFieldValue(object obj, string fieldName)


    FieldInfo fi = obj.GetType().GetField(fieldName,

                            System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.NonPublic);


    return fi.GetValue(obj);



However, This is

404 - File or directory not found



i created a site using asp.net, i got hosting space and uploaded my files, as per my process i ll send the Email verification link to users mail id with link to my site, if they click the link they will directly redirect to my site's registration page.
it's working fine in my local iis and in visual studio, but in the host i'm getting error as  

Server Error
404 - File or directory not found.
The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.

i don't know where the problem is the path is correct also i checked the spelling, could any one help how to fix the issue.


Issue with Size Property has an invalid size of 0


In my code I have:

SqlParameter param = new SqlParameter("ID", id);
                param.Direction = ParameterDirection.InputOutput;
                wrapper.ParameterCollection.Add("StudentObjectiveID", SqlDbType.Int).Value = objectiveid;
                wrapper.ParameterCollection.Add("SessionID", SqlDbType.Int).Value = sessionid;
                wrapper.ParameterCollection.Add("StaffID", SqlDbType.Int).Value = staffid;
                wrapper.ParameterCollection.Add("EnteredDate", SqlDbType.DateTime).Value = entereddate;
                wrapper.ParameterCollection.Add("Achievement", SqlDbType.NText).Value = Achievement;
                wrapper.ParameterCollection.Add("SessionStudentID", SqlDbType.Int).Value = session_student_id;
                wrapper.ParameterCollection.Add("ImageName", SqlDbType.NVarChar, 255).Value = imagename;
                wrapper.ParameterCollection.Add("ActualDate", SqlDbType.DateTime).Value = actualdate;
                wrapper.ParameterCollection.Add("FileType", SqlDbType.VarChar, 10).Value = filetype;

                int result = wrapper.ExecuteNonQuery();
                id = (int)param.Value;

And in the relevant stored procedure I

A field or property with the name 'User_x0020_Name' was not found on the selected data source.


I am trying to bind the XML data to a datagrid from an XML file.  I don't know why I am getting the message: "A field or property with the name 'User_x0020_Name' was not found on the selected data source."

The "User_x0020_Name" field does exist in the XML file.  This is a portion of the XML file.

<?xml version="1.0" encoding="utf-8" ?> 
<DataSet xmlns="http://www.----------.com">
 <xs:schema id="NewDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
 <xs:element name="NewDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true">
 <xs:choice minOccurs="0" maxOccurs="unbounded">
 <xs:element name="Table">
 <xs:element name="User_x0020_Name" msdata:ReadOnly="true" minOccurs="0">
 <xs:restriction base="xs:string">

Has anyone experienced filtering issue when the "OrderBy" property of linqdatasoure is set?


Hi all,

I came to know that when I set "OrderBy" in linqdatasource in .aspx, the filters do not properly filter data in DD?

I tried it in List.aspx screen.

Is it a known issue or am I missing something?

Best regards,

Cache object issue


On the difference between application variable and cache object, a post in a certain forum says:"the cached object is stored in process, which means it doesn't persist if the application domain is restarted and it can't be shared between computers in a web farm. "

Anything in .NET or other alternative would allow the object to persist after the application domain is restarted and be shared between computers in a web farm?


ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend