I am developing a system where user interacts with WCF Service hosted in IIS server. The WCF application then have to fire-up winform application along with some parameters. This winform application do some processing and then load a application(software) installed in the server. This application will create some output documents and put it in the share-able folder where user has a access to. [Could not post descriptive picture because of low point :( ]
It is working fine in development environment i.e. output was being created but when I deployed it in IIS, it started throwing error:
System.UnauthorizedAccessException
I tried loading the WinForm using two methods:
- Winform is loaded creating a instance of WinForm from WCF host
- Instance of WinForm is loaded (.EXE) using System.Process.Start()
Both operation failed. How to achieve this using IIS.