c# - Running an exe from Windows Service in Windows Server 2008 R2? -
i trying automate(not fully, part of) website using watin library in c#. followed different strategies , applications has own limitations. , far haven't found complete solution yet. have gone through threads related these approaches on stackoverflow, msdn , codeproject.
my application needs running on windows server 2008 r2 , ie10(if matters watin).
i developed following applications.
1-windows service : developed windows service , installed on development machine(win7) , worked fine. communicated watin ie. no problem didn't work on server 2008 r2. solve problem, moved in windows application(exe) , tried run windows service. , didn't help.
2-system tray application: developed ui less system tray application , installed on win7 , windows server 2008 r2 using remote desktop. worked. when logged out server. tray application exits itself. because there no session available run it.
3- webservice: developed web service run exe(tray application). , windows service consumed webservice. didn't work either.
so looking solution to execute watin ie , browse website. after every 15 minutes updates website. website not on same windows server 2008r2.
looking of these solutions 1-windows application independent of windows session keep running. 2-windows service 3-webservice windows service can consume.
a nice work around highly appreciated.
Comments
Post a Comment