现在我自己在win7上搭建了一个测试网站,里面只有一个HTML页面和一个测试文档Test.docx
<a onclick='javascript: editDocument("Test.docx");' href='#'>Test.docx</a>
<script src="jquery-1.10.2.js" type="text/javascript"></script>
<script type="text/javascript">
function editDocument(doc) {
var strDocument = "http://localhost:8081/" + doc;
var EditDocumentButton = new ActiveXObject('SharePoint.OpenDocuments.2');
EditDocumentButton.EditDocument(strDocument);
}
</script>
现在我在IE下打开测试页面,点击下载链接,office2016可以打开这个Test.docx,但是在修改后保存时出现错误提示
UPLOAD FAILED. You are required to sign in to upload your changes to this location.
服务器权限配置如下图
请教各位如何配置iis或者office,使其可以正常的回存到服务器。