I want to open a folder on the server where my application is hosted. the same is opened at the design time, but when the application is published it generates an error saying access is denied from the client machine. i am using the following code for opening the desired folder in the webserver
protected void LinkButton5_Click(object sender, EventArgs e)
{
string myPath = ("D:\\myfolder\\addresses");
Process prc = new Process();
prc.StartInfo.FileName = myPath;
prc.Start();
}
please can anyone help me. how to resolve the issue. do i need to assign permissions to the folder. I am using windows 7OS and IIS7 services and has written the code in asp.net/c#
thanks in advance