Code below works fine in debug from visual studio but when I publish it to IIS server doesn't work. Just nothing happens. I'm guessing some security issues. Question is if there are any alternatives for System.Diagnostics.Process.Start to open an url in new window or tab? Or how to make Process.Strat work in IIS? thanks
public void ProcessRequest(HttpContext context)
{
Context = context;
if (context.Request.QueryString["path"] == null)
{
return;
}
string path = Context.Server.UrlDecode(Context.Request.QueryString["path"]);
var item = DataServer.GetItem(path);
if (item == null) return;
System.Diagnostics.Process.Start(item["sourcePath"].ToString());
}