Quantcast
Channel: Project Customization and Programming forum
Viewing all articles
Browse latest Browse all 5347

The server threw an exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT))

$
0
0

I am facing the Error: 

I have also refer to this thread but without any luck :( 

http://social.technet.microsoft.com/Forums/en-US/project2010custprog/thread/1cf951cc-56ac-4ffd-99b0-b5a8c73a2c67/

 //Make the string for opening project file from server
          string sProjectName = @"<>\" + ds.Tables["Rep"].Rows[i]["PROJECTNAME"].ToString() + "";
          
          object oMissing = System.Reflection.Missing.Value;
          
          //Set the properties to avoid message prompt on server side
          app.DisplayAlerts = false;
          app.DisplayScheduleMessages = false;
          app.DisplayWizardErrors = false;
          app.Visible = false;
          
          app.FileOpenEx(sProjectName, false, oMissing, oMissing, oMissing, oMissing, oMissing, oMissing, oMissing,
                  "MSProject.PSI.12", oMissing, Microsoft.Office.Interop.MSProject.PjPoolOpen.pjPoolReadWrite, oMissing, oMissing, oMissing, oMissing, oMissing);

Note that i am using the PS 2010 with MSP 2010  


Thanks, Parth

Viewing all articles
Browse latest Browse all 5347

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>