question

ahmadzakaria-5492 avatar image
0 Votes"
ahmadzakaria-5492 asked EchoDu-MSFT commented

SharePoint 2016 - Sorry, we couldn't open 'http://.......doc'

Dear All,

I have sharepoint 2016 installed, everything was working just fine, but suddenly i got the following error:

Sorry, we couldn't open http://.....doc file.

After investigating, i found that the Sharepoint Search Host Controller Service is stopped, i was trying to start it, but it won't start.

it gives the following error when trying to start such service:

 **Windows Could not start the Sharepoint Search Host Controller service on Local Computer
 Error 2: The system cannot find the file specified.**

I have done several solutions found on the internet such as starting the service from the sharepoint central admin or by restarting services, but nothing worked.

i was also trying to change the user for the sharepoint search host controller service, it won't allow me, it gives the following error:

 **An object of the type Microsoft.SharePoint.Administration.SPWindowsServiceCredentialDeploymentJobDefinition named "windows-service-credentials-SPSearchHostController" already exists under the parent Microsoft.Office.Server.Search.Administration.SearchRuntimeService named "SPSearchHostController".  Rename your object or delete the existing object**

i deleted the timer job of windows-service-credentials and i was able to reassign the service account, but then the timer job windows-service-credentials was created automatically and i wasn't able to start the service.

Can someone please help?

Thanks in advance!






office-sharepoint-server-administrationoffice-sharepoint-server-search-itpro
· 8
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @ahmadzakaria-5492 ,

Would you tell me whether your issue has been resolved or have any update?
I am looking forward to your reply.

Have a nice day!

0 Votes 0 ·

@EchoDu-MSFT , oh it isn't solved yet, i have founded that the search host controller service is not found on the C drive, i think it was installed on a lun from a nas storage, the NAS had some issues 3 months ago and the LUN was deleted. But the wierd thing is that the sharepoint was working all the 3 months just all fine even after the NAS issue, how was it working normally while there is no path for search host controller, we just a week ago we got the issue that we can't start the service because the path is not found anymore?
and how can i solve this?, where i can get such service without reinstalling the sharepoint 2016 again

Thanks!

0 Votes 0 ·

Hi @ahmadzakaria-5492 ,

Thanks for your reply.

I have updated answer under initial My Answer. Hope this can help you to solve issue.

Have a nice day!

Thanks,
Echo Du

0 Votes 0 ·

Hi @ahmadzakaria-5492 ,

I added some information under my original answer to narrow down this program, please confirm.

Thanks

0 Votes 0 ·

Hi @ahmadzakaria-5492 ,

If the answer is helpful to you, you can accept it as answer. The behavior will help others who meet the similar issue in the future quickly find the correct answer.

Have a nice day!

0 Votes 0 ·

Hi @ahmadzakaria-5492 ,

Would you tell me whether your issue has been resolved or have any update?

Have a nice day!

0 Votes 0 ·

Hi @EchoDu-MSFT , no not yet, i have got the services from the test environment, but the search host controller services didnt start, it says: the process terminated unexpectedly, now i am trying to check what could be the issue concerning the site

0 Votes 0 ·

Hi @ahmadzakaria-5492 ,

Thanks for your reply.

Since the Search Host Controller Service will not cause the "couldn't open http://.......doc".

It is suggested that you can open a new post about Search Host Controller Service for better help.

Thanks,
Echo Du

0 Votes 0 ·

1 Answer

EchoDu-MSFT avatar image
0 Votes"
EchoDu-MSFT answered EchoDu-MSFT commented

Hello @ahmadzakaria-5492 ,

The error is because the ServiceName and the assembly name do not match, so the file cannot be found.

Please following steps:

1) Type "regedit" in the search box on the taskbar of Windows 10

2) Open Registry Editor as an admin

3) Navigation to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SPSearchHostController\ImagePath

4) Modify ImagePath Value: "C:\Program Files\Microsoft Office Servers\16.0\Search\HostController\hostcontrollerservice.exe"

5) Start SharePoint Search Host Controller service again

79977-editor.png


There is a similar post for reference:

Thanks,
Echo Du
================== Updated Answer ==================

Hi @ahmadzakaria-5492 ,

Search Host Controller Service: This service manages the search topology components. The service is automatically started on all servers that run search topology components.

Therefore, “we couldn't open http://.....doc file” has nothing to do with whether the Search Host Controller Service is turned on or not.

To fix cannot open file, I suggest you clear the Office cache.

1.Close all Office applications

2.Double click on the Microsoft Office Upload center, you can find this on your notification bar on the bottom right corner (default location):

82403-1.png

3.Go to Settings

4.And click “Delete cached files”

82299-2.png

Thanks,
Echo Du

=================== Updated Answer ================

Hi @ahmadzakaria-5492 ,

Please perform the following troubleshooting:

1)Is this error for all files or just this file? If there is error with only a few files, I suggest you delete files and upload it again.

2)Do other types of files have the same error (such as excel, ppt, etc)?

3)Will the error also occur when you use another sites or document libraries?

4)Check whether File length crossed 256 characters and try to rename the document from the original location and open the document.

5)Check if multiple versions of Office applications are installed on your machine? If yes, please uninstall other office related applications and test again.

Go to Control Panel >>Program>>Uninstall a program, check if there is other Office related application(like Office 2016 or other version, Excel, word, visio, or project) except Office 365.

6)In IE browser, please go to Internet Options >> Programs >> Manage add-ons, find "SharePoint OpenDocuments Class" and make sure it is enabled.

82519-2.png

Thanks,
Echo Du
===================
If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



editor.png (50.3 KiB)
1.png (3.6 KiB)
2.png (42.0 KiB)
· 14
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @EchoDu-MSFT, Thanks for your reply, but i couldn't find such path, where could it be located?

Thanks!

0 Votes 0 ·

Hi @ahmadzakaria-5492 ,

1) Open Registry Editor

2) HKEY_LOCAL_MACHINE >> SYSTEM >> CurrentControlSet >> Services >> SPSearchHostController >> find ImagePath parameter

3) The ImagePath value: "C:\Program Files\Microsoft Office Servers\16.0\Search\HostController\hostcontrollerservice.exe"

80486-10.png

Thanks,
Echo Du


0 Votes 0 ·
10.png (64.5 KiB)

Hi @EchoDu-MSFT , oh ok i understand, thanks for the reply, but i tried the following thing for the "sorry we couldn't open..." error, but it didn't work, is there any other solution

0 Votes 0 ·

Hi @ahmadzakaria-5492 ,

I added some information under my original answer to narrow down this program, please confirm.

Thanks,
Echo Du

0 Votes 0 ·

Hi @EchoDu-MSFT , Thanks for your reply, I have uploaded a test word document on other site and it worked, but i tried uploading the same document on the site giving the error, still the same error, what could be wrong on such site?

0 Votes 0 ·

@EchoDu-MSFT , i have also found another thing, when i access the site members and try to press on a member, it says: The trial period for this product has expired, although i checked the current license and it SharePoint Server with Standard Client Access License. I think this could be the problem why the site is having issues, right?

0 Votes 0 ·

Hi @ahmadzakaria-5492 ,

Thanks for your reply.

The expiration of the SharePoint Server license will not prevent you from being able to view files, but will only restrict some functions or services from being unavailable.

According to your statement, this may be some problems with your site or library. It is recommended that you use another sites or libraries.

Thanks,
Echo Du

0 Votes 0 ·
Show more comments