Click here to Skip to main content
15,896,348 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am using Threading concept for open notepad or pdf file. My local machine opened well ,but after deploy notepad window didnt work..

any suggestions about my problem....


Tahnks in advance
Posted
Updated 10-Feb-11 23:35pm
v2

Do you mean that your code behind code opened Notepad or a PDF file okay when you were testing on your local machine, but when you deploy the site to a remote webserver you no longer see Notepad or the PDF viewer?

If so, then I am not surprised.

Presumably, you are using Process.Start to open the file?

That will open the file on the server: not the user machine. (and probably annoy the heck out of teh webserver admin.)

You cannot run programs on a user machine from the server: that is called "probably virus activity" and rightly blocked.
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 11-Feb-11 17:24pm    
My 5.
The situation is just funny, and OP probably is not getting it...
--SA
Make sure the paths to these files are correct. Use relative URLS.
 
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