Not able to connect TFS from Asp,net web application hosted in IIS?-Collection of common programming errors

Hi All, I have created web application and used the TFS API to connect to tfs live site and it works fine in development environment. But when tried to deploy application in iis and run it then application not able to connect to TFS site. Application shows the just in time debugger with .net framework issue. My system configurations and application installed on my systems are as following    Operating System: Windows 7    Visual Studio 2010    Asp.net Framework 4.0

   Team Foundation Exploerer 2012

Visual Studio/Team Foundation Server/.NET Framework Tooling Version: .NET Framework 4.0

Steps to reproduce:Application works fine in development environment but when tried from iis then its not able to connect to Tfs site it will display the just in time debugger.

Also i have enable te option “Enable 32 bit applications” in IIS for the hosted web application.

Operating System:Windows 7

Operating System Language:English

Actual results: Shows just in time debugger with Unhandled exception in .net framework.

Expected results:Display the Live id login panel popup for user authentication.

Please help me to resolve this issue.

Thanks, Pranil Yambal |[email protected]