title: Execute c# console application with Selenium from SSIS
body: <p>I have a C# console application that uses a Selenium NuGet package. This process opens some URLs and saves any data from the pages in a SQL Server.</p>
  
  <p>The question is when I execute only the c# app its works fine. </p>
  
  <p>Then I create an SSIS package and a script task in SSIS and call this c# app. </p>
  
  <p>Again when I execute from SSIS its works fine but when I schedule the SSIS package from SQL Agent the process shows that it's running but never start and never finish.</p>
  
  <p>Does anybody have an idea if I have to change anything?</p>
  
  <p>Regards!</p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>This is the detail of my development.</p>
  
  <p><a href="https://i.stack.imgur.com/6gUWV.png" rel="nofollow noreferrer">Solution image</a></p>
  
  <p>My SSIS solution contains only one dtsx in which I create 2 steps</p>
  
  <p><a href="https://i.stack.imgur.com/SDXby.jpg" rel="nofollow noreferrer">The blue step is the c# develop that use Selenium</a></p>
  
  <p>The first step is a script that sends a mail indicating the process is starting.</p>
  
  <p>The second step is a process task that executes "Scrap.exe". Scrap.exe is the c# develop that use Selenium to scrap some urls. When I run this solution from Visual Studio the result is successful.</p>
  
  <p>Then I create the job in the SQL Agent (SQL Server 2016). This job has only one step that executes the dtsx.</p>
  
  <p><a href="https://i.stack.imgur.com/6pqPy.png" rel="nofollow noreferrer">This is the job</a></p>
  
  <p>Finally, when I execute this job (right click -> start job at step) the job run correctly but never finish.</p>
  
  <p><a href="https://i.stack.imgur.com/YDLYg.png" rel="nofollow noreferrer">Like this</a></p>
  
  <p>Sorry for my English I'm from Argentina.</p>