Problem Description: The path or file name is invalid
You browse to a SharePoint document library and when you click on the Name of a Microsoft Office PowerPoint file stored in the library, you receive following error: The path or file name for http://servername/libraryurl/filename.pptx is invalid. Please check that the path and file name are correct. Your PowerPoint application starts automatically up on your desktop, but the file isn’t opened: however, yesterday everything worked fine…
What is even weirder, if you do a search for the document and you click on its name in the search results, your PowerPoint application starts and the file opens without problem.
What is also remarkable: if you go to your document library and you choose Edit in Microsoft Office PowerPoint, your PowerPoint application starts, the file gets checked out automatically and opens without error.
Solution: open the document via PowerPoint directly
- Start Microsoft Office PowerPoint 2007 on your desktop.
- Click the Microsoft Office Button in the upper left of the screen.
- Choose Open.
- Enter the url of the SharePoint document library in the File name box. (Remark: make sure it is the url of the library and not the url of the PowerPoint filename which fails to open, because this won’t fix the problem)
- All files stored in the document library will be shown in the right part of the Open file pop-up window.
- Choose the PowerPoint file: it will open in your PowerPoint application.
- Close your PowerPoint application.
If you now go back to the SharePoint document libary with Internet Explorer, you’ll be able to open PowerPoint files stored in it, by merely clicking their Name in Internet Explorer.
I really don’t know why the problem suddenly arises, nor why it is solved by following the procedure described above, but it solves the problem…
I experienced also that you have to do this procedure for each SharePoint document library having the problem. But you have to do it only once per library: if you do it for one PowerPoint slideshow in the library, all others will open again without error.
Continue reading......