Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 28058

IIS cant open a shared folder in server

$
0
0

Hi guys

Well i have a issue here when deploying a web i did for my company. THe thing is that a web page has to open a shared folder. i did it in developer machine. i created the shared folder and open it. but the problem happen when i deploy it to the web server. it cant open the folder. the shared folder did get created when its in production server, but it doesnt open the folder 

this is the code:

if (!(Directory.Exists(@path)))
{
Directory.CreateDirectory(@path);
}

ProcessStartInfo si = new ProcessStartInfo("Explorer");
si.UseShellExecute = false;
si.Arguments = @path;
Process.Start(si);

as i said it creates the folder but itdoesnt show it. 

i have tried with 

Enabled checkbox in IIS Admin service ->logon Tab - Allow services to interact with desktop

Also

Set the application pool to local system.

but nothing happens. it creates the folder, and doesnt open and it doesnt show a error message or something.  

thanks in advance for your help . i really appreciate it :)  


Viewing all articles
Browse latest Browse all 28058

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>