You installed Office and you are always logged in when you test.Ĥ.
Your development PC using Visual Studio this error will never happen because
The Word DCOM component while this user is not logged in.
You will get errors once the backend code (such as ASP.NET) tries to invoke Who installed Office onto this server/PC. "The launching user" and "This user", select the last one, and put in the user Go to "Identity" tab page, among the three radio buttons "The interactive user", Right-click "Microsoft Word 97 - 2003 Document" and select "Properties".ģ. Go to "Component Services | Computers | My Computer | DCOM Config", Windows "Start | Run | dcomcnfg" to start DCOM configuration.Ģ. If not, please try to configure the Word DCOM as bellow steps:ġ. Please try to check whether your application pool identity has the permission to open Microsoft Word. In most scenarios that application works fine in Visual Studio but not on IIS is permission related. Convert Word-Documents to PDF on an ASP.NET Server.Convert a MS Word document into PDF from ASP.NET.How do I convert Word files to PDF programmatically?.Convert Word documents to PDF and XPS documents in .Net.U.ConvertFile(path, + filename, _to_PDF) SautinSoft.UseOffice u = new SautinSoft.UseOffice() Public void ConvertTopdf(string path,string filename) Label1.Text = "Please Select the word file only" String path = System.IO.Path.GetFullPath() If (extention.ToLower() = ".doc" || extention.ToLower() = ".docx") Protected void Button1_Click(object sender, EventArgs e) Protected void Page_Load(object sender, EventArgs e) 2.Extract the download file copy the useOffice.dll and paste it in the bin folder in solution file 3.open the visual studio 2010 and 4.add aspx form and drag and drop one Fileupload comtrol ,button and one label 5.write the following code in code behind using System
Free Word to PDF Converter does not put a limit to the number of files you convert so you can use this when converting multiple text documents.1.First we need to download the UseOffice.dll from. The program will automatically store the PDF version to the folder you selected. Once you’ve loaded your document, click Convert. Input files are the DOC or DOCX files you want to convert, while the output directory is where you want the file to be saved. The software’s functions are as follows: Select Input Files, Select Output directory, Open Output directory, and Convert. Its handful of features help you to easily navigate through the program. This allows the program to render the document faster than its full-featured counterparts. It can also be an alternative to Adobe Acrobat as it has fewer icons, buttons, and tabs. Stable productivity softwareĬonverting to PDF decreases the size of the Word document and protects its contents This makes Free Word to PDF Converter necessary for users who send large bodies of text on a regular basis. The features are presented on a plain interface, allowing you to access its functions immediately once the program is launched.
At 7.5 MB, it is a lightweight software that you can install in your Windows device running Windows XP, Vista, 7 and 8. This includes files with special elements such as tables, fonts, graphics, etc. Free Word to PDF Converter is a productivity tool developed by Free PDF Solutions that can convert all your plain text files into PDFs.