Compatibility of .NET 4.0 DLLs with SQL Server 2008 R2 RRS feed

  • Question

  • I recently upgraded the .NET framework of DLLs to v4.0 ( earlier it was v3.5). I am using SQL Server 2008 r2 as well for my application. But, when I build it on server (TFS2010), it fails with following error: 

    TF246018: The database operation exceeded the timeout limit and has been cancelled. Verify that the parameters of the operation are correct.

    Can anyone help me to understand if there is any compatibilty issue between .NET framework version and SQL Server?

    Thursday, July 26, 2018 12:12 PM

All replies

  • As long as you installed both v3.5 and v4.X (They installs side-by-side), it shouldn't matter. I have once setup such system and it runs fine.

    Although on the IIS settings, you may want to set the application pool running tfs to a seperate one running .NET v3.5. However not doing it shouldn't cause timeout error.

    Re-examine your hardware to see if it meets the minimum requirement, and if it runs on VM, adequate resource is allocated to it.

    • Edited by cheong00 Friday, July 27, 2018 2:00 AM
    Friday, July 27, 2018 1:56 AM
  • Hi _amar,

    Thank you for posting here.

    Since your question is more related to TFS, you could post a new thread in StackOverFlow.


    The CLR Forum discuss and ask questions about .NET Framework Base Classes (BCL) such as Collections, I/O, Regigistry, Globalization, Reflection. Also discuss all the other Microsoft libraries that are built on or extend the .NET Framework, including Managed Extensibility Framework (MEF), Charting Controls, CardSpace, Windows Identity Foundation (WIF), Point of Sale (POS), Transactions.

    Best Regards,


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Friday, July 27, 2018 7:53 AM