Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SSIS/SSDT Warnings Don't Appear in Error List

Tags:

Essentially, I encounter the same problem as the question below, except that the accepted answer does not resolve it. I have neither warnings nor errors in the Error List:

See complete tooltip error message for Data Flow SSIS element in Visual Studio

Similar to the question noted above I can see a truncated warning message on the Data Flow design surface.

enter image description here

However, no corresponding warning is visible in Visual Studio's Error List view.

enter image description here

How can I view the entire warning?

like image 809
Trevor Reid Avatar asked Apr 17 '19 20:04

Trevor Reid


People also ask

How do I see warnings in SSIS?

1 Answer. Show activity on this post. Design-time errors, warnings, and informational messages show up in the Error List pane, which can be shown by going to View | Error List.

How to see warnings in Visual Studio 2019?

To display the Error List, choose View > Error List, or press Ctrl+\+E.

How can I see errors in SSIS package?

In the Solution Explorer, Right-click on the SSIS package and click on Execute. The Red-Cross icon on the execute SQL Task shows that the package execution failed. Click on the Progress tab for the detailed error message. By looking at the following screenshot, we can identify the error message.


1 Answers

This is a bit misleading from Visual Studio and could have been handled better. The long and the short of it is that the Error List window lists only messages that are related to build issues.

The warnings and errors that you see in design time are related to the execution flow. In other words, a package can be built correctly but is designed in such a way that it will generate an error. For more reading:

MSDN: Cannot see errors or warnings in SSIS - why ?

SQLServerCentral: Cannot see errors or warnings in SSIS – why ?

You will need to run the package in debug mode and then go to the Progress window. From there, you can see all messages (e.g., information, warnings, errors, etc.). Some messages may be so long that they cannot be seen. For those messages, you can click on them and paste them into your favorite text editor.

enter image description here

Note: when you stop debugging, the Progress window changes its name to Execution Results and the error List window becomes available.

enter image description here

Update

Per Hadi's follow-up comment, I was initially able to re-create the OPs problem by just modifying an existing package to create the warning message. I then built and ran the project with without receiving any error messages.

Now, after having left the office and shutting down Visual Studio, I am unable to recreate the error. The Error List window now populates with the messages. I tried building a new package from scratch without any luck either. My best recommendation at this point would be to, as with all Microsoft products, restart the application if it is not working as it should be.

like image 171
J Weezy Avatar answered Sep 27 '22 18:09

J Weezy