Hosting Webservice in Windows server 2003 IIS
-
Hi, I have webservice which internally communicates with Microsoft office project using Com component. I retrieve all the tasks from the .mpp file and updates in the database. when i tested in xp, it works fine by running in visual studio and iis but have issue while hosting in windows server 2003. I google out and found i been shortage of giving permissions in dcom, so i gave the permissions for network service account in DCOM but is of no use. 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.Application gobjProjectInstance.FileOpen(FileName) --- Thanks mahe21.tri