roncri

I'm using Desktop Search to index not only my personal machine but also my home file server where backups, documents and photos are stored by adding UNC locations to the index path.

While indexing I keep having a "Problem with Shortcut" dialog box popping up. The message is "The drive or network connection that the shortcut 'target.lnk' refers to is unavailable. Make sure that the disk is properly inserted or the network resource is available, and then try again."

This halts the index process and is seriously annoying. How do I stop it


Re: Windows Desktop Search Help Problem with Shortcut

Allen Kim

Are you able to determine and locate the problem shortcut From what you described, it sounds like the indexer is reading the target of the shortcut and trying to access it for some reason. Does that sound about right

I've indexed invalid shortcuts (target of the shortcut is invalid) on UNC locations before, and I haven't seen the error you're getting. After I index the invalid shortcut on the UNC location, I can even search for it just fine. However, when I try to access the shortcut, it cannot find the target (this is expected).

Maybe you can further clarify your setup and when the error occurs e.g. you get the error after backing up your computer's documents to the server, etc.

Thanks,

Allen





Re: Windows Desktop Search Help Problem with Shortcut

Eric Hanson - IPS Upland

We are seeing the same problem at a client site. They are upgrading to Office 2007, and following the installation of Windows Search, this error begins appearing without the user "doing anything". It looks like the Windows Search Service is the source. If we disable the Search Service, all is well. (except that the serch in office does not work anymore)

Any help appreciated.





Re: Windows Desktop Search Help Problem with Shortcut

Allen Kim - MSFT

Please verify that the following is what your clients are doing that is causing this error:

1. Install Office 2003

2. Upgrade to Office 2007

3. Install WDS 3.01

I included step 1 because you said they were "upgrading" to Office 2007. Also, is there anything else special to note

I wonder where the shortcut error is occurring. Does the error message specify exactly which shortcut is erroring out

Thanks,

Allen





Re: Windows Desktop Search Help Problem with Shortcut

Eric Hanson - IPS Upland

Your set of steps is correct. Nothing other special to note. I am having their IT staff go through an impactred machine tomorrow looking for any non functional short cuts. There are no obvoius ones at this point.

No the error message just indicates target.lnk. Is there an error log that Windows Search create that might shed some light on the problem





Re: Windows Desktop Search Help Problem with Shortcut

Allen Kim - MSFT

You should be able to find search errors and messages in the Event Viewer. Navigate to:

Control Panel -> Administrative Tools -> Event Viewer

Then look in the "Application" logs. The messages with "Windows Search Service" as the "Source" are the ones you should look at. Please let me know if you find anything interesting.

Thanks,

Allen





Re: Windows Desktop Search Help Problem with Shortcut

roncri

I'm sure that's problem since the backup server I'm indexing via UNC is where I hold my machine backups. For backups I use a command line tool called XXCOPY to back up a couple of specific directories like my "Data" directory and also the "C:\Documents and Settings". Here's a line from my batch script.

Code Snippet

XXCOPY "C:\Documents and Settings" "\\maxstorage\backups\BlueIce\Documents and Settings" /Q/KS/H/E/R/Y/BI/FF/ZE/EX"C:\Bin\exclusion.txt"

Becuase of the way I backup my machines I'm sure there are quite a few invalid shortcuts since the "Desktop" is one of the things backed up.

Either way, still a bug with WDS.

-Ron





Re: Windows Desktop Search Help Problem with Shortcut

Allen Kim - MSFT

roncri wrote:

I'm sure that's problem since the backup server I'm indexing via UNC is where I hold my machine backups. For backups I use a command line tool called XXCOPY to back up a couple of specific directories like my "Data" directory and also the "C:\Documents and Settings". Here's a line from my batch script.

Code Snippet

XXCOPY "C:\Documents and Settings" "\\maxstorage\backups\BlueIce\Documents and Settings" /Q/KS/H/E/R/Y/BI/FF/ZE/EX"C:\Bin\exclusion.txt"

Becuase of the way I backup my machines I'm sure there are quite a few invalid shortcuts since the "Desktop" is one of the things backed up.

Either way, still a bug with WDS.

-Ron

Okay, let me look into your situation a little furhter. I'll keep you posted.

Thanks,

Allen





Re: Windows Desktop Search Help Problem with Shortcut

roncri

No problem, I found three warnings and two errors. That said, I know the error box popped up close to 50 times. Here's a copy of the relevant warnings and errors.

Code Snippet

Event Type: Warning
Event Source: Windows Search Service
Event Category: Gatherer
Event ID: 3036
Date: 6/3/2007
Time: 5:41:07 PM
User: N/A
Computer: BLACK-XP
Description:
The content source cannot be accessed.

Context: Windows Application, SystemIndex Catalog

Details:
(0x81270005)

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.


Code Snippet

Event Type: Error
Event Source: Windows Search Service
Event Category: Gatherer
Event ID: 3024
Date: 6/3/2007
Time: 5:41:07 PM
User: N/A
Computer: BLACK-XP
Description:
The update cannot be started because the content sources cannot be accessed. Fix the errors and try the update again.

Context: Windows Application, SystemIndex Catalog


For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

Code Snippet

Event Type: Warning
Event Source: Windows Search Service
Event Category: Gatherer
Event ID: 3036
Date: 6/3/2007
Time: 5:42:28 PM
User: N/A
Computer: BLACK-XP
Description:
The content source cannot be accessed.

Context: Windows Application, SystemIndex Catalog

Details:
A server error occurred. Check that the server is available. (0x80041206)


For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.


Code Snippet

Event Type: Error
Event Source: Windows Search Service
Event Category: Gatherer
Event ID: 3024
Date: 6/3/2007
Time: 5:42:28 PM
User: N/A
Computer: BLACK-XP
Description:
The update cannot be started because the content sources cannot be accessed. Fix the errors and try the update again.

Context: Windows Application, SystemIndex Catalog


For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.


Code Snippet

Event Type: Warning
Event Source: Windows Search Service
Event Category: Gatherer
Event ID: 3036
Date: 6/3/2007
Time: 5:46:02 PM
User: N/A
Computer: BLACK-XP
Description:
The content source cannot be accessed.

Context: Windows Application, SystemIndex Catalog

Details:
A server error occurred. Check that the server is available. (0x80041206)


For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.






Re: Windows Desktop Search Help Problem with Shortcut

Allen Kim - MSFT

Thank you both for taking the time to provide all of this useful information. With both of your help, I was able to successfully reproduce this issue. A new bug has been filed and we are now aware of this issue. It will be taken into consideration for our next release.

Everytime a user accesses a network location's file (e.g. to read/edit a shared file), the link to that share is saved as "C:\Documents and Settings\<user>\NetHood\<share path>\target.lnk" (note that "NetHood" is a hidden folder). In Explorer if you were to navigate to "C:\Documents and Settings\<user>\NetHood\<share path>", the contents of the <share path> would end up being shown (assuming that the <share path> is accessible). I'm not exactly sure how the "NetHood" folder works, but it looks like it is set up in such a way that accessing any folder under "NetHood" automatically tries to redirect you to the <share path>. We kind of see this automatic "redirection-on-access" when the WDS tries to index it. Note that I just made up the "redirection-on-access" term Smile

In any case, the work-around to this issue would be to remove any <share path> under "NetHood" that no longer exists. Also, you may want to consider excluding "NetHood" in the backup script.

Eric, I'm not really sure why your clients are seeing this error. Are your clients doing anything like what roncri was doing (backing up "Documents and Settings")

I have a feeling that most of what I wrote doesn't make much sense. Please let me know if this is the case.

Thanks,

Allen





Re: Windows Desktop Search Help Problem with Shortcut

Eric Hanson - IPS Upland

No. They were not. We are checking to see if the proposed workaround works for them though.



Re: Windows Desktop Search Help Problem with Shortcut

roncri

Unfortulantly WDS doesn't allow you to setup a directory exclusion list. If I setup WDS to not index "lnk" files in advanced options would that correct the problem or is NetHood still going to mess me up



Re: Windows Desktop Search Help Problem with Shortcut

Allen Kim - MSFT

roncri wrote:
Unfortulantly WDS doesn't allow you to setup a directory exclusion list. If I setup WDS to not index "lnk" files in advanced options would that correct the problem or is NetHood still going to mess me up

I just tried excluding the .LNK extension from the "Control Panel -> Indexing Options -> Advanced -> File Types" tab, and the error message still pops up. I made sure to update the bug with this information as well.

I'm not sure what the easiest work-around would be. I suppose trying to edit your backup script to skip copying the NetHood folder would be the easiest. Can you do this using the /EX"C:\Bin\exclusion.txt" flag and file





Re: Windows Desktop Search Help Problem with Shortcut

roncri

Allen, any word on this I probably could exclude Nethood but I hate the idea of excluding whole directories from my backup process just because Windows Desktop Search can't index it correctly. Right now, all that is in my exclusion.txt file is *.tmp.

Thanks,

-Ron





Re: Windows Desktop Search Help Problem with Shortcut

Allen Kim - MSFT

I'll have to do some investigation to try and find out if there is a different work-around for this issue. I'll try to get back to you soon.

-Allen