Otvorih word doc ovako
private void btnUredi_Click(object sender, System.EventArgs e)
{
docsPath = ConfigurationSettings.AppSettings["Dokumenti"];
object fileName = docsPath + lbDocs.SelectedValue;
object readOnly = false;
object isVisible = true;
object missing = System.Reflection.Missing.Value;
WordApp.Visible = true;
Word.Document aDoc = WordApp.Documents.Open(ref fileName, ref missing,ref readOnly, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref isVisible);
}
Sve je OK ako ga otvaram, međutim ako zatvorim WORD i pokušam opet otvoriti file dobijem grešku:
{"The RPC server is unavailable." }
?
Ideje?