I have developed a aspx page to upload msi file to server ( by using fileupload control ) and install msi in the server. When i acess the web page in the server itself the msi installation takeplace. But when i access from a different machine installation will not start. i have the following code ( c#) to start installation.

msiFilePath = Server.MapPath("MSIFileFolder") + "\\" + filename;
 fileUploadMSI.PostedFile.SaveAs(msiFilePath);
              installProcess = new Process();
              installProcess.StartInfo.FileName = msiFilePath;
              installProcess.Start();
            installProcess.WaitForExit()

rajani_sp,
It's a security issue. Use bb code tags. Source code must be wrap with bb code tags.

Read: How to use code tags?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.