Visual studio is waiting for internal operation to complete

后端 未结 18 1034
名媛妹妹
名媛妹妹 2021-01-31 16:00

I have problem with my Visual studio 2013 Ultimate from few days. I\'m trying to open even simplest console application and VS hangs and when I click something else in Visual st

相关标签:
18条回答
  • 2021-01-31 16:11

    For VS2015 users who are dealing with this problem: close everything, delete the ".vs" folder on the project root and reopen it.

    0 讨论(0)
  • 2021-01-31 16:11

    The problem

    This issue arises when the Data-source is a View that SELECTs from the results of other Views.

    What happens is that the routine that calculates which columns supplied by the View gets confused.

    The solution to the problem

    Create a stored procedure that:

    • Creates a temporary table
    • INSERTs the View results into the temporary table
    • SELECTs from the temporary table

    This enables the Data-flow routine to calculate which columns are supplied by the View.

    How I found the solution

    I found this answer while creating a new data flow task using Visual Studio 2010's data-source assistant.

    I ensured I would not experience network issues between the database and the application by hosting them on the same server.

    The view in question was based on 2 other views, which were pointing to multiple tables over multiple databases.

    The SSIS pkg was created by a windows account that is also server admin in Sql, but I think SSIS is just incapable of validating the data from such a complex View.

    0 讨论(0)
  • 2021-01-31 16:13

    I got similar error when I installed Wix Extension, so while opening wix type of project I was getting this error. I just restarted the machine and opened the solution again and the problem is gone.

    0 讨论(0)
  • 2021-01-31 16:15

    This problem happened with me because the large number of code lines in one function (more than two thousand line ) I divided my code to many function then every thing worked correctly.

    0 讨论(0)
  • 2021-01-31 16:17

    I've had two things cause this beside the suo/vs folder thing:

    1. A project is checked in with references to files that aren't checked in. For example, a code generator project with T4 templates that spit out 1000 poco's. The .cs files were never meant to be source controlled, but someone accidentally checks in the project with the file includes.
    2. A .csproj merges funny and instead of failing to load the individual project, the entire solution hangs
    0 讨论(0)
  • 2021-01-31 16:25

    From this superuser post, delete the .suo (.vs12.suo for me) file from the solution directory. Worked for me in VS2013.

    0 讨论(0)
提交回复
热议问题