title: UserInteractive=True while running on IIS
body: <p>I am using a library in my web project that behaves normally while debugging through Visual Studio having the Server parameter set to IIS Express. When I switch to Local IIS, the module in the library returns an exception that it cannot start. 
  From what I can extract so far, it must have something to do with property UserInteractive being false in local IIS. I also get the Exception </p>
  
  <pre><code> System.InvalidOperationException: Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation.
  </code></pre>
  
  <p>when trying to show a form in Local IIS mode. The constructor of the external library module takes a window handle as one of its arguments. While I never use the parts of the library that demand user interaction, it crashes.</p>
  
  <p>How can I maintain the execution environment in Local IIS the same as in IIS Express?</p>