Skip to main content
12-Amethyst
October 22, 2024
Solved

excel file edit via office throw error: excel couldn't find file

  • October 22, 2024
  • 2 replies
  • 2181 views

Hello all,

user wants to edit excel file document using office and gets below error:

MM_10991077_0-1729581269838.png

Office editor is installed ver. 2.0

MM_10991077_0-1729583743373.png

 

Delete browser cache is not helping now (it helped one day ago).

Tried on Edge and Chrome browser.
No error visible in Codebeamer log.

any idea?

 

update:

after check of cboffice_launcher.log in C:\Users\<username>\AppData\Local\Temp\

I have realized that ":" is missing after https

 

22-Oct-24 9:44:33 AM - ----------------------------------
22-Oct-24 9:44:33 AM - Starting cbOffice Launcher - 1.03
22-Oct-24 9:44:33 AM - Original url: cboffice://https//Server-Name/cb/officeedit/C4iKYBjM8zG4bQPkoyks2fekME6LC0JlqSdZTboB7cQ/Trigger%5FMessages%5Ffor%5FInbound.xls
22-Oct-24 9:44:33 AM - Service Url: https//Server-Name/cb/officeedit/C4iKYBjM8zG4bQPkoyks2fekME6LC0JlqSdZTboB7cQ/Trigger%5FMessages%5Ffor%5FInbound.xls
22-Oct-24 9:44:33 AM - File type: .xls
22-Oct-24 9:44:33 AM - Command: %comspec% /c assoc .xls > "C:\Users\userXYZ\AppData\Local\Temp\radC7736.tmp"
22-Oct-24 9:44:33 AM - Command: %comspec% /c ftype Excel.Sheet.8 > "C:\Users\userXYZ\AppData\Local\Temp\radA7F62.tmp"
22-Oct-24 9:44:33 AM - Associated Program: C:\Program Files (x86)\Microsoft Office\Root\Office16\EXCEL.EXE
22-Oct-24 9:44:33 AM - Start associated command: %comspec% /c "C:\Program Files (x86)\Microsoft Office\Root\Office16\EXCEL.EXE" https//Server-Name/cb/officeedit/C4iKYBjM8zG4bQPkoyks2fekME6LC0JlqSdZTboB7cQ/Trigger%5FMessages%5Ffor%5FInbound.xls

 

any idea how to fix it ?

 

thank you

Best answer by alfonso_c

Thanks for sharing this possible approach, I can see this has been recently reported to our Engineering Team, more information is at this page: MS Excel file opened with "Edit Via Office" from Documents tab shows error "'Sorry, we couldn't find https/<hostname>:<port>/cb/officeedit/<some_hashcode>/<filename>.xlsx.Is it possible it was moved, renamed or deleted?'"

2 replies

14-Alexandrite
October 22, 2024

Hello @MM_10991077 , I can reproduce a similar issue on MS Edge: Word document opens, but it's blank. Local log:

10/22/2024 12:21:31 PM - ----------------------------------
10/22/2024 12:21:31 PM - Starting cbOffice Launcher - 1.03
10/22/2024 12:21:31 PM - Original url: cboffice://http//localhost:8080/officeedit/ciFjBQjnt6uPxTa%5Fv2kZhLwneoH2LPxor7bYp49dfBc/issue-desc-1099.docx
10/22/2024 12:21:31 PM - Service Url: http//localhost:8080/officeedit/ciFjBQjnt6uPxTa%5Fv2kZhLwneoH2LPxor7bYp49dfBc/issue-desc-1099.docx
10/22/2024 12:21:31 PM - File type: .docx
10/22/2024 12:21:31 PM - Command: %comspec% /c assoc .docx > "C:\Users\acrisci\AppData\Local\Temp\radC59CA.tmp"
10/22/2024 12:21:31 PM - Command: %comspec% /c ftype Word.Document.12 > "C:\Users\acrisci\AppData\Local\Temp\radBA0D6.tmp"
10/22/2024 12:21:31 PM - Associated Program: C:\Program Files\Microsoft Office\Root\Office16\WINWORD.EXE
10/22/2024 12:21:31 PM - Start associated command: %comspec% /c "C:\Program Files\Microsoft Office\Root\Office16\WINWORD.EXE" http//localhost:8080/officeedit/ciFjBQjnt6uPxTa%5Fv2kZhLwneoH2LPxor7bYp49dfBc/issue-desc-1099.docx

 

The Start associated command: %comspec% /c "C:\Program Files\Microsoft Office\Root\Office16\WINWORD.EXE" http//localhost:8080/ does not look correct.

 

I tested on Mozilla Firefox and Google Chrome and it worked well, the last line also correctly produced http:// instead of http//. I continue to investigate and will post updates if I have any. In the meantime, please feel free to raise a support ticket to get further assistance.

3-Newcomer
October 25, 2024

Hi All,

I think I found a solution for the problem the URL seems to be wrong.

I updated the "C:\Program Files\codebeamer Office Launcher\cboffice_launcher.vbs" file adding the following 2 lines.

to line 30 and 31

url = Replace(url, "https//", "https://")
url = Replace(url, "https/", "https://")

 

After this change office_launcher started working as before.

 

Kind Regards,

 Peter

alfonso_c14-AlexandriteAnswer
14-Alexandrite
October 31, 2024
4-Participant
October 25, 2024

Also on our system, recently users report same error that file cannot be found.