Click here to Skip to main content
15,914,795 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I deployed ASP.Net ( Framework4) in iis6.0 on Windows2003 server.
Every thing in application is working fine except the following:
System.diagnostics.process.start("explorer.exe","D:\path")

Actually i want to open one folder on button click,
In my local system it was working fine.
but after deployment it is not working in iis
Can you please suggest me how to solve this problem?

Thanks,
Thirupathi Reddy .
Posted
Comments
Wannes Geysen 3-May-11 9:53am    
wouldn't that be a serious security leak?

It won't work at all. IIS runs under a different desktop than the web server you were running on your dev machine.

That code will only launch an explorer window on the server, not the client. That window will be on an invisible desktop that no user will ever see.
 
Share this answer
 
System.diagnostics.process , Generally it is not worked after publish.
 
Share this answer
 
How many times are uyou going to ask the same question? This makes at LEAST the third time.

IIS RUNS AS A WINDOWS SERVICE. YOU CAN'T RUN AN APPLICATION WITH A GUI FROM A WINDOWS SERVICE. PERIOD. THE END.

This is the SECOND time I've told you this.
 
Share this answer
 
I also System.diagnostics.process is run in local , Generally it is not worked after publish.Yea, I understand,but how i solve the same function work .. Plese show me guide .. :'(
 
Share this answer
 
hi,

i had the same issue once u published to iis it will not give anything in the current machine. you have only access to the server
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900