Visual studio is waiting for internal operation to complete

后端 未结 18 1015
名媛妹妹
名媛妹妹 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

    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.

提交回复
热议问题