Problems with .NET 2 Dataset in Visual Studio 2010 RRS feed

  • Question

  • Hi

    I have a .NET 2.0 website, which I am upgrading in Visual Studio 2010.

    However, I am consistently having problems:

    • Run live: TableAdapter does not return any data.
    • Run in debug mode: TableAdapter does not return any data.
    • Using View in Browser: TableAdapter does not return any data
    • In dataset designer preview:TableAdapter returns an exception: xxx could not be previewed. Element not found (Exception from HResult 0x8002802B TYPE_E_ELEMENT_NOTFOUND).

    Out of curiosity, I opened the website in Visual Studio 2005, and the data preview works but not in debug or browse mode!

    I've tried cleaning the application, by removing all of the temporary files, and rebuilding to no avail.

    HOWEVER, in doing this I've noticed that the temporary files are being found in C:\Windows\Microsoft.NET\framework\v4.0.30319\Temporary ASP.NET Files\website folder, and I'm wondering if this is the root of my problem. The application properties confirm that the website is ASP.NET 2.0.

    Can anyone advise what I'm missing? cAny advice anyone can give will be very greatly appreciated.



    Tuesday, July 3, 2012 12:14 PM


All replies