integrating 'Microsoft office project' Dcom with asp.net
-
Hi, I developed a webservice with a web method integrating with Microsoft office project and it reads all the tasks and resources inside it with the help of the DCOM 'Microsfot project basic'. It is working fine when i hosted it in IIS in XP but having the issue while hosting in IIS windows server 2003. I am getting the following error when i open the file and it get resolved after giving the enough permission in DCOM security and restart the server but it was avail only for the first time, when i tested it for the second time that shows me the same error. Given below the error, Kinldy help me out in this. System.Runtime.InteropServices.COMException: Call was rejected by callee. (Exception from HRESULT: 0x80010001 (RPC_E_CALL_REJECTED)) at System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData& msgData) at Microsoft.Office.Interop.MSProject.ApplicationClass.Quit(PjSaveType SaveChanges) at Service.CheckProject(String projectID) in C:\vcclient\App_Code\Service.vb:line 41 -- ---------- Private gobjProjectInstance1 As Microsoft.Office.Interop.MSProject.Application gobjProjectInstance1 = New Microsoft.Office.Interop.MSProject.ApplicationgobjProjectInstance.FileOpen(FileName) ---