I have an Excel document stored in a document library in SP2010. I provided a link to the document in a CEWP on a page. When clicking the link on the page, Excel throws the erorr "Two documents with the same name cannot be opened" error.
When clicking the link in the document library, the Excel workbook opens fine. When hovering over both links, the URL in the status bar is identical. Here is the link in the page:
<span style="width:120px; padding-right:50px;"><a class="ms-addnew" href="https://mydomain.com/sys/groups/ermcg/RA/Shared%20Documents/RA1.xlsm"><img src="https://mydomain.com/sys/groups/ermcg/RA/SiteAssets/excelsmall.jpg" style="border:none;vertical-align:middle;"></img> Download to Excel</a> </span>
Thanks in advance,