Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Errors while searching (answer)

  Asked By: Damien    Date: Jan 05    Category: Sharepoint    Views: 1113

We have started to have a strange problem. When we search for anything we get the following error.

Unable to display document list. An internal server error
has occurred.

I have found two possible solutions on Technet but neither
seem to fix the problem. Any ideas?

Share: 

 

2 Answers Found

 
Answer #1    Answered By: Jayme Raymond     Answered On: Jan 05

I just started  having the same problem  with some of my users. The two symptoms are "Failed to get subscription results for ..." and the same error  as you describe.

For me, a coordinator, I get no problems. Other users can't. There are users who are just in "Domain Users" and nothing else that do work.

The W3SVC logs don't help much -- and there's nothing in the event logs. Anybody care to shed some light on why some people can't get subscriptions or search  and others can?

 
Answer #2    Answered By: Devika Bellad     Answered On: Jan 05

Result: users in "Reader" role get both errors  -- "failed to get
subscription results" and "internal server  error" on searches. Anyone know
why a "Reader" can't do searches or subscriptions? Seems silly.

Here are some of the troubleshooting steps I've taken:

found  that perhaps the cachesizemin and cachesizemax in the Search
registry settings (found in the optimizing white paper) can cause this.
Although it says that it will cause problems for ALL users, and I'm only
finding problems for SOME users, I thought I'd back it out. No change.

- I checked the users' groups and permissions. I can't find a correlation
between people who work and people who don't. There's one user
who's only in "Domain Users" who works and another who doesn't.

- The two errors definitely go hand-in-hand. If someone gets the
"failed to get subscription results" message, then they also get the
Search "internal server error" message.

- I loaded the Username.dip web part on a dashboard so I could see
What the server thought they were logged in as. They do show normal
NT credentials.

- I checked the web part vbscript. The interesting part is:

Set sm = CreateObject("PKM.SubscriptionManager")
If Err.Number <> 0 Then
GetContent = L_SubscriptionFailedToGetResults_TEXT & strUserName

So for some reason the PKM.SubscriptionManager piece isn't working.
Or at least that's what it looks like to me.

What is interesting is that the error  in the HTML displayed to the
user is "Failed to get subscription results for" and it doesn't list
the name. Perhaps strUserName isn't getting set?

It's getting set with
strUserName = Request.QueryString( "Username" )

The Username web part I'm using to identify the user uses
UserName = request.servervariables("Logon_User")
instead.

- I did some more testing, and found that on machines where the
user wasn't in the local administrators group, the IE status bar
listed "The Digital Dashboard component could not be loaded
due to insufficient access rights to this machine."

started  thinking maybe it's IE security or their local security.
I added them to the local administrators group, and that got rid
of the above message, but it still caused the subscriptions to not
fire.

- I then tested putting a test user (test-km) into the Coordinators
group. Had the user log out and back in, and BAM, they no
longer get the subscription failed message -- it now says
"You do not have any subscriptions", AND search  works correctly.

Now for the big question -- can't reader roles have subscriptions? Why
would I be having this problem?

I went ahead and bumped them out of coordinators group, put them in the
author's role, sync'ed the domain, logged off the user and back on, and it
still works. Then, sure enough I removed them from author and just made
them reader and it failed again.

 
Didn't find what you were looking for? Find more on Errors while searching (answer) Or get search suggestion and latest updates.




Tagged: