I am a fresher and working on a web application using ASP.Net C# 4.5, VS 2012. I want to open "ixo-global" folder at another server \10.23.23.23\ixo-global\ (Just this folder). I did this using following code:
Code 1
ProcessStartInfo startInfo = new ProcessStartInfo(FolderPath);
startInfo.WindowStyle = ProcessWindowStyle.Normal;
Process.Start(startInfo);
Code 2
System.Diagnostics.Process.Start(new System.Diagnostics.ProcessStartInfo()
{
FileName = FolderPath,
UseShellExecute = true,
Verb = "open"
});
Each works when I ran this code on Localhost. But after publishing this on IIS, it does not open folder at Client's browser. This may be due to security measure. I am able to access this folder using Run on server where IIS is installed. I referred this link, code runs but folder does not open at client browser.
What can I do? TIA.