I am trying to import the MS Project.mpp file as a data table into my project here i am using 'Microsoft.Office.Interop.MSProject' dll while opening a file i am getting error while creating the instance of application class
Microsoft.Office.Interop.MSProject.ApplicationClass appclass = new Microsoft.Office.Interop.MSProject.ApplicationClass();
The error is : System.Runtime.InteropServices.COMException: 'Retrieving the COM class factory for component with CLSID {36D27C48-A1E8-11D3-BA55-00C04F72F325} failed due to the following error: 80010001 Call was rejected by callee. (Exception from HRESULT: 0x80010001 (RPC_E_CALL_REJECTED)).'
User contributions licensed under CC BY-SA 3.0