Can't Deploy to Analysis Service Get Error

Cherise Woods 5 Reputation points
2025-06-25T22:26:07.1433333+00:00

Hello,

I have a new computer, new install of visual studio 2022 community and Analysis Services Project installed. I can't deploy my tabular project to SQL 2019 Analysis Services. I get the following error:

See the end of this message for details on invoking

just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************

System.Runtime.InteropServices.COMException (0x8001010E): OutputStringNoPump must be called on the UI thread.

at Microsoft.VisualStudio.Shell.ThreadHelper.ThrowIfNotOnUIThread(String callerMemberName)

at Microsoft.VisualStudio.CommonIDE.Solutions.ComExtensions.OutputStringNoPump(IVsOutputWindowPane outputWindowPane, String message)

at Microsoft.VisualStudio.CommonIDE.Solutions.BuildManager.SolutionBuildManager.UIBuilder.OutputStringNoPump(String pszOutputString)

at Microsoft.VisualStudio.CommonIDE.Solutions.BuildManager.SolutionBuildManager.UIBuilder.OutputStringThreadSafe(String pszOutputString)

at Microsoft.AnalysisServices.VSHost.Integration.DeployableProjectConfig.deployer_RunWorkerCompleted(Object sender, RunWorkerCompletedEventArgs e)

at System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e)

Developer technologies | Visual Studio | Debugging
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. Omkara Varshitha Kunapalli (INFOSYS LIMITED) 235 Reputation points Microsoft External Staff
    2025-08-07T09:17:20.1833333+00:00

    Hello Thanks for Reaching out.
    I hope you're having a great day! Let me assist you with your query regarding

     The error you're seeing is due to a threading issue—Visual Studio is trying to update the Output window from a background thread to fix that please follow below step by step process for better understand
    Run Visual Studio as Administrator – Right-click the shortcut and select “Run as administrator”.

    1. Update Visual Studio & SSDT – Ensure both Visual Studio 2022 and SQL Server Data Tools are fully updated. Get error deploying to analysis services via VS 2022 Community to SQL 2019 - Microsoft Q&A
    2. Check Compatibility – Confirm the tabular model is compatible with SQL Server 2019 SSAS.
    3. Reset Output Window – Go to (view > output) and ensure it’s properly configured.
    4. Rebuild Project – Clean and rebuild before deploying.
    5. Reset VS Settings – Use (Tools > Import and Export settings > Reset all settings) if needed.

     


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.