In my ASP.Net application I'm generating a Excel file using MsExcel Object Libby (Com-InterOp) . The application worked fine in the VS dev. environment. But when I host it in the server I'm getting following error, if I'm no user is logged in to the server through Remote desktop Connection. [...] read more
I have an odd issue that I haven't been able to track down. We have a COM+ component on our Windows Server 2008 R2 (Windows 7 on our developer machines) that is called by an ASP.net application. At times the COM+ component will throw back the error: System.Runtime.InteropServices.COMException (0x8000401A): The [...] read more
I am getting the following error, while logging in to Tridion. Could you please help me. Error: Retrieving the COM class factory for component with CLSID {9926D1CF-F158-418F-A9A2-B653B497D982} failed due to the following error: 8000401a The server process could not be started because the configured identity is incorrect. Check the username [...] read more
I have written a Windows Service in C#. My service is meant to open an Excel macro-enabled workbook (this is in Excel 2010). I have installed this service on our server which is running Windows Server 2008 64-bit. My service seems to have a problem launching Excel when no one [...] read more
I've written an application which creates Word documents from a template. I had a bunch of issues getting that function to work, but I did it by editing permissions Component Services permissions. Now it works if I manually click the executable, or if the Task Scheduler runs it while I'm [...] read more
When I tried to open a word application on the server by Application ap = new Application(); I got this error > Retrieving the COM class factory for component with CLSID > {000209FF-0000-0000-C000-000000000046} failed due to the following error: > 8000401a The server process could not be started because the [...] read more
from last so many times I am getting the below error.As I am using the Microsoft Word dlls to create word files which further attached to the mail. Server Error in '/' Application. Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 8000401a. [...] read more
I have a ASP.NET application which uses Microsoft intrope assemblies to read, write and modify excel files and it uses Excel 2013 on server machine. Application works fine if i am logged in to server machine as administrator but when i am logged out the application is unable to to [...] read more
I have a website using asp.net with Excel 2010 Interop 64-bit (Microsoft.Office.Interop.Excel.dll). I deployed code to the Windows Server 64 bit. By using command: xelApp = new Microsoft.Office.Interop.Excel.Application(); I see there is no error on this own server. But from the other computer (same domain), sometimes (not always), I got [...] read more
I'm trying to use the office component to convert a excel file to a pdf file ,but I get the exception as blow <exception><![CDATA[System.Runtime.InteropServices.COMException (0x8000401A): Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 8000401a The server process could not be started because [...] read more
I have a Powershell script designed to automate the testing of some URLs. The script invokes an Internet Explorer session as such: $IEProcess = Start-Process -FilePAth 'C:\Program Files (x86)\Internet Explorer\iexplore.exe' -ArgumentList "-private $url" $Shell = New-Object -ComObject Shell.Application $IE = $Shell.Windows() It then proceeds to use the $IE object to [...] read more
I am trying to use the Visio API to convert Visio documents to another format by using NetOffice.VisioApi.InvisibleApp and the Export method. This works as an interactive user, but so far not from IIS. I am aware of the reasons given for why using Microsoft office automation is problematic from [...] read more
I work on a MVC web application. This application has quartz.net job that start along with the application on deployment. quartz(third party dlls) was only being used for scheduling. This scheduled job is coded on C#. This job generates excel reports and emails it to the stake holders. Inorder to [...] read more
I have an application hosted at Windows server 2008R2 with IIS7 with MS Excel2013 32bit. This application uses Excel application to convert excel sheets to webpages. It works fine until user keeps using it. but if no user uses application for an hour or two and use it again the [...] read more
in our application, i am convert ms office document to pdf in asp.net but when i am deploy code on server then the ms office document converted to pdf only when the server is remotely connected otherwise it won't be converted Please advice? Error exExcel2Pdf @ System.String[] : Retrieving the [...] read more
I have console program which uses DCOM to manipulate docx files on network (i.e. \\192.168.1.4\data) and then save to the same network place as pdf. It does this in a batch, so every time run it, it process about 10 files in a loop. If I run the exe manually, [...] read more
I have an SSIS package that takes an Excel document and refreshes the Queries and pivots within the document, then saves it and then sends it to a destination via "Send email task". So first of all the first issue was that the SSIS package runs perfectly (with no errors) [...] read more
I am implementing Export To Excel functionality in one of my asp.net application. I have two servers(QA and Development). In Development server it works fine but in QA server i am getting below error. An exception of type System.Runtime.InteropServices.COMException occurred and was caught. Source:mscorlib;Message:Retrieving the COM class factory for component [...] read more
the scheduled SQL job failed and it gave the first error message: "Cannot create object XXIRegistry.MachineRegistry" and while running it manually it runs successfully and after retrieving the HResult, I found 2 errors as below. Note:XXIRegistry is a library registered on the database server 1- 0x800407D1 86,XXIRegistryStore.RegistryStore Trying to create: [...] read more
I have Windows service which do not get connected to QuickBooks if I close 'X' machine RDP session.....if I reconnect to RDP and see error log it shows error as follows...System.Runtime.InteropServices.COMException 0x8000401A Retrieving the COM class factory for component with CLSID 730E6BC0 1941 44E2 9700 37BC9CE4A3DF failed due to the [...] read more
We get this error with a C# web application and deployed in multiple servers for load balancing. Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 8000401a The server process could not be started because the configured identity is incorrect. Check the username [...] read more