wrod文件被使用asp.Net webforms显示此错误的当前用户锁定以进行编辑 [英] wrod file is locked for editing by the current user showing this error using asp.Net webforms

查看:61
本文介绍了wrod文件被使用asp.Net webforms显示此错误的当前用户锁定以进行编辑的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在浏览器上查看word文件时,一个窗口正在打开,并且它的显示像wrod文件被锁定以供ASP.NET中的当前用户编辑。

我正在使用Microsoft.Office。 Interop.Word

任何人都有解决方案?

When i am viewing word file on browser one window is opening and its showing like wrod file is locked for editing by the current user in ASP.NET.
And i am using Microsoft.Office.Interop.Word
Anyone have solution for this?

推荐答案

你期望发生什么?

你正在服务器上使用Word打开文件:这意味着Word已将其锁定。在Word实例关闭之前,文件很忙。



要修复它,你必须找到一个不涉及Word的解决方案......但是因为我们有不知道你在做什么或你是怎么做的,我们没有任何建议。
What did you expect to happen?
You are using Word on the server to open a file: which means that Word has locked it. Until the Word instance closes, the file is busy.

To fix it, you will have to find a solution where Word is not involved...but since we have no idea what you are doing or how you are doing it, there isn't really anything we can suggest.


这篇关于wrod文件被使用asp.Net webforms显示此错误的当前用户锁定以进行编辑的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆