title: Open word document from ASP.NET application
body: <p>I use the following code snippet to open a local docx file and it runs fine when I press Ctrl+F5 in Visual Studio. I just click the button and the Word2007 on my machine is opened and the docx is displayed there. But after I publish the application to the production server, it didn't work. After I click the same button, nothing happened. Could someone tell me why? </p>
  
  <p>What I want is to open a local stored docx in client side's Word 2007 from asp.net application. I don't want to use office COM object.</p>
  
  <p>My code:</p>
  
  <pre><code>    ProcessStartInfo psi = new ProcessStartInfo(@"winword.exe",@"/test.docx");
      Process.Start(psi);  
  </code></pre>
  
  <p>Many thanks.</p>