title: Mvc application being redirected to login page when accessing third party dll function
body: <p>I'm using a third party dll in my MVC3 application. When using the dll at localhost(my PC) it works great. But when I upload it to web server(shared hosting) I encounter a problem.
  The application works fine when not using the functions in the dll. But when any function of the third party dll is called upon the page is redirected to the login page.</p>
  
  <p><strong>NOTE:</strong> I'm using Forms Authentication. <br>
  I had set folder properties and set <code>&lt;identity impersonate="true"&gt;</code> for the application to access files and folder in the web server.</p>