Reputation: 1298
I created an SSIS package using SQL Server Data Tools 2015 a week back. And today I opened the package and it just shows the blank screen.
I read about this issue here and it seems that was the defect in earlier versions and it is fixed.
Has anyone faced this issue in SQL Server Data Tools? How can I fix it and save my package?
Upvotes: 42
Views: 32810
Reputation: 21
Right click the package in solution explorer window, click view code, and the in code window , right click and select view designer.
Upvotes: 0
Reputation: 1226
While the package is opened with the white page, rename it in the solution.
Save the package and close.
Rename the package back original name (while package is closed). This rename will open the package and hopefully set it back so that you can edit it.
Upvotes: 121
Reputation: 11
The rename and reopen trick worked for me. I also tried another way. I closed Visual Studio and then located the .suo file under the .vs folder. I deleted that and then reopened and the file reloaded. I hope that isn't too dangerous an approach; it stops git changes being made when the rename is performed
Upvotes: 1
Reputation: 1
In the Solution Explorer right click on the .dtsx package file and then click on View Designer.
Upvotes: 0
Reputation: 1
I have just encountered this; solution opens but all blank and no sub folders or files in the Solution Explorer. Tried the above suggestions, but no luck. Right clicked on the solution name and selected 'Reload Project' and all good. Hope this helps someone.
Upvotes: 0
Reputation: 632
I have tried the trick to rename the package. It works as long as I keep a new name, but when I rename the package back to its old name, the problem returns. Importing a new copy of the .dtsx file into the same (broken) project did not fix the problem. [Referring to answer by @Joe]
Here is the only solution that always works for me:
This works, but if your deployed SSIS package(s) was not up to date you need to continue with these two actions:
I suspect this happens due to a problem in the .database or .dtproj file.
Upvotes: 0
Reputation: 51
Tim's answer above helped but didnt work for me. Instead this worked in Visual Studio 2015:
The .dtsx file should now be added in the solution correctly named - and open for editing.
Upvotes: 1
Reputation: 609
All white on open? Just happens from time to time, the stuff is there just close and reopen Visual Studio always makes it come back for me.
But if not you could always find the dtsx file under it all in your users folder:
C:\Users\<yourusernamehere>\Source\Workspaces\<Projectworkspace>
copy it and then pull it back in by right clicking the SSIS Packages folder in Solution Explorer and add existing package see if you can see it then.
Upvotes: 14