The problem of generating Word files in Asp.net.

Source: Internet
Author: User
As we all know, the Word file generated in Asp.net is tuned to the word component for implementation. I found some information online, mostly for single-host users. If multiple users operate simultaneously in a B/S environment, some errors may often occur.
Recently, I want to create a project on word, requiring users to define their own Word Templates. The program generates Word files by template and data for users to download. It is not difficult to implement the Program. Call the word object and define bookmarker in the template. Then, the bookmarker of the template is filled with data in the program to generate a new file. However, during the test, I often see the error "system. runtime. interopservices. comexception: the message filter shows that the application is in use. After this error occurs, the word process cannot be automatically cleared. In this way, many word processes can be seen in system process management, so you have to manually clear them. However, if a similar error occurs during running after the program is published to the server, it cannot be cleared manually.
I wonder whether you have done similar development and how to deal with similar problems. Is this solution unavailable for B/S programs? Please advise.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.