Jump to content
  • Advertisement
Sign in to follow this  
zhebincong

[.net] timeout to NTD winform

This topic is 5405 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hello i write a simple winform app to test the NTD(no-touch deployment) feature of dot net,after deploy it to the iis server,it works well,i can invoke it from either commandline or ie browser. but i found that after it is started up ,i IGNORE it,that means i don't operate it,after a wile,it is automatically closed.why,are there some .net configuration to incharge the timeout? how can i make the winform app that start from the GAC keep PERMANENTLY running in the client side,even no body touch it. thank you!!

Share this post


Link to post
Share on other sites
Advertisement
i have tried several ways,and found it depand on how i deploy the project:

1 if i deploy the "debug" directory of the visual studio as "web share"(right click the directory,and select "web share" tab,select appropriate radio button..........),then from client side,i can lauch it,but it will shutdown spontaneously after a while if i don't touch it.then a windows debug windows pop up ,it saild that the "FileNotFound" occur to the "ieexec.exe"and ask me to select a debug tools.
otherwise,if i close the form MANUALLY , the same debug windows pop up too.

2 if i copy the "*.exe" file from the debug directory to the subdirectory of wwwroot,it works well,NO spontaneous shutting down and NO pop up debug form.

according to the two scenario,it seem like that if i deploy it WITHIN the iis box,it woiks well.

why ?i wonder what is the difference between the iis in-box delpoyment and web share directory deployment?

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!