MOSS 2007 problem with search results

Hello all,

I am having a problem with my SharePoint 2007 site.

The problem occurs when I am searching within a document library.  The search results look like this:

Document Name (links to document)
Text that includes highlighted search terms...
clickable hyperlink to the document properties

etc…

The first strange thing that is happening, is that when I hover over the document name link, the link that shows up in the tooltip is different from the link that you are taken to if you click.

The tooltip link says:  http://intranet.company.org/mysite/mydocumentlibrary/documentname.pptx  (in this case a powerpoint presentation)  This is correct!

The link you go to if you click is: http://intranet.company.org/mysite/mydocumentlibrary/Forms/DisplayForm.aspx?ID=1888

Here is the problem:

In some cases this second link above is broken and you are taken to: http://servername/mysite/mydocumentlibrary/Forms/DisplayForm.aspx?ID=1888

So when you click this link you get an error message "servername server not found."

So, my question is, do I have something wrong in my alternate access mappings, or do I need to go into the code behind the search results page and figure out what is going wrong there?  Or, do I need a DNS entry for SERVERNAME?

Any thoughts or resources will be greatly appreciated.
LVL 1
brl8Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Justin SmithSr. System EngineerCommented:
1. In your content sources in Search, what URL's are being crawled?
2. Do you have any crawl rules set up?
3. What do your Alternate Access Mappings look like?  
0
brl8Author Commented:
Hi ACH1LLES,

1.  Content sources:  
http://servername:4444   (this is mysites, I think, which we don't use)
http://servername:5555   (this is CA)
http://servername:6666   (this is the SSP)

2.  We don't have any crawl rules set up.

3.  Alternate access mappings:
http://servername             Default   http://servername
http://<ip address of server> Intranet  http://<ip address of server>
http://intranet                    Custom   http://intranet.company.org
http://servername:3333    Default   http://servername:3333  (don't know what this is)

Thanks!!!  BRL
0
Justin SmithSr. System EngineerCommented:
tHe line that has intranet in one column and intranet.company.org in the other is throwing it off.  Why do you have this entry?  Are you using an ISA server or TMG server?
0
Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

brl8Author Commented:
I don't know why we have this line.  It was set up by a consultant this way.  We are not using a TMG or ISA server.  

Regarding the content sources:  do I need to have both intranet.company.org and servername?  Could that be causing a problem?

0
Justin SmithSr. System EngineerCommented:
If they go to the same web app, then yes.
0
Justin SmithSr. System EngineerCommented:
I mean, you could remove servername from the content source.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
brl8Author Commented:
Thanks, I'm going to try that soon and let you know what happens
0
brl8Author Commented:
Hi ACH1LLES,

In my test environment, I removed the servername from the content source, then ran a full crawl.

I then remembered that my search scopes were set up as follows:

http://servername/site/document library

(this was the only way I could get them to work)

Since my search scopes were pointing to servername, I re-created my scopes like this:

http://intranet.company.org/site/document library

I then ran a full crawl and all my scopes now say "Item count 0" and "Total: error"

I'm going to research this a bit and see if I can figure out what is going on, but if anyone has any insights I'd love to hear them!
0
brl8Author Commented:
Getting somewhere.  

I set up my AAM correctly with http://intranet.company.org/ as default.

I set up my content sources as follows:
http://intranet.company.org/
http://servername/

Scopes and search are working perfectly in my test environment with this setup.  In my production environment, when I look at crawled content status for http://intranet.company.org, I am getting this error message:

"Access is denied.  Check that the Default Content Access Account has access to this content, or add a crawl rule to crawl this content. (The item was deleted because it was either not found or the crawler was denied access to it.)"

More googling...

0
Justin SmithSr. System EngineerCommented:
verify your crawl account has read access on the web application through a user policy
0
brl8Author Commented:
Yep, did that - it does.  Just to make sure I logged in as that account and made sure I could look at the content.  

Next I am going to try disabling loopback check...probably Monday morning when everyone's out.

http://support.microsoft.com/kb/896861
0
brl8Author Commented:
After I disabled the loopback check as described here: http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/MS-SharePoint/Q_24576410.html?sfQueryTermInfo=1+10+30+disabl+loopback+sharepoint

then ran a full crawl, and updated my search scopes, everything is working as expected!

Thanks so much for pointing me in the right direction.

brl
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SharePoint

From novice to tech pro — start learning today.