We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Process the file accessing

i am using aspose to convert from doc file html.

when i am trying convert some test.doc file to test.html (if i alredy open that test.doc in my local system) i am not able to access that doc file saying that process can not access the file .it is used by another process.
how can i overcome this without closing doc file manually?
i am using asp.net code as below

Document doc = new Document(c:\test.doc);
MemoryStream stream = new MemoryStream();
doc.Save(stream, SaveFormat.Html );

do u have any idea regarding this.

thanks in advance

Thanks for your inquiry. MS Word locks document when it is opened by MS Word so you cannot open it by Aspose.Words. The only way to resolve this is closing the document in MS Word.
Best regards.