Why SSDT installation process stop with the error 0x80070001? - sql-server-data-tools

[3884:3870][2022-02-19T01:38:46]e000: Error 0x80070001: Process returned error: 0x1
[3884:3870][2022-02-19T01:38:46]e000: Error 0x80070001: Failed to execute EXE package.
[346C:3470][2022-02-19T01:38:46]e000: Error 0x80070001: Failed to configure per-machine EXE package.
How to solve this error?

One of the fast solutions is installing Visual Studio and reinstalling SSDT again

Solution at https://en.dirceuresende.com/blog/como-corrigir-erro-na-instalacao-do-sql-server-data-tools-ssdt-2017-setup-failed-incorrect-function-0x80070001/, using option "REPAIR".
Microsoft Windows [Version 10.0.22000.795]
(c) Microsoft Corporation. All rights reserved.
C:\WINDOWS\system32>cd Downloads
The system cannot find the path specified.
C:\WINDOWS\system32>cd C:\Users\jmont\Downloads
C:\Users\jmont\Downloads>dir
Volume in drive C is OS
Volume Serial Number is E6C1-BFB7
Directory of C:\Users\jmont\Downloads
08/08/2022 02:53 PM <DIR> .
08/08/2022 03:13 PM <DIR> ..
08/08/2022 02:30 PM 552,785,944 Microsoft.DataTools.IntegrationServices.exe
08/08/2022 02:53 PM 957,052,968 SSDT-Setup-ENU.exe
2 File(s) 1,509,838,912 bytes
3 Dir(s) 871,865,147,392 bytes free
C:\Users\jmont\Downloads>vs_sql.exe --layout C:\SSTD2017 --lang en-us
'vs_sql.exe' is not recognized as an internal or external command,
operable program or batch file.
C:\Users\jmont\Downloads>SSDT-Setup-ENU.exe --layout C:\SSTD2017 --lang en-us
For Visual Studio 2017, I had to go to https://learn.microsoft.com/en-us/sql/ssdt/previous-releases-of-sql-server-data-tools-ssdt-and-ssdt-bi?view=sql-server-ver16 and download it from the link below:
SSDT for VS 2017 (standalone installer)
Download SSDT for Visual Studio 2017 (15.9.10)
That was how I downloaded SSDT-Setup-ENU.exe.

Related

Azerothcore worldserver won't start win10

Worldserver crash after :
AC>worldserver process priority class set to HIGH
Starting up Auction House Listing thread...
Max allowed socket connections 1024
Calendar deletion of old events.
Guild Daily Cap reset.
AzerothCore rev. fcaf91b8b2af 2020-07-30 12:35:45 +0200 (master branch) (Win64, Debug) (worldserverdaemon) ready...
Calendar deletion of old events.
C:\Program Files (x86)\Microsoft Visual
Studio\2019\Community\VC\Tools\MSVC\14.26.28801\include\xtree(182) : Assertion failed: cannot dereference end map/set iterator
same problem in Visual studio 15/16 only different row xtree(222)/xtree(182) enter image description here
I had the same problem and managed to solve it by reconfiguring CMake CMAKE_AR from
C:/Program Files (x86)/Microsoft Visual
Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/**Hostx84**/x64/lib.exe
to
C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/**Hostx64**/x64/lib.exe
I then recompiled and everything worked like a charm. Hope this can help you.

Error on build command in .NET Core (no such host is known)

I'm making a basic console Application in .NET Core and when I try to run the command "dotnet build -c release -r win10-x64" I get this:
Microsoft (R) Build Engine version 16.5.0+d4cbfca49 for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.
Retrying 'FindPackagesByIdAsyncCore' for source 'http://packagesource/FindPackagesById()?id='Microsoft.NETCore.App.Runtime.win-x64'&semVerLevel=2.0.0'.
No such host is known.
Retrying 'FindPackagesByIdAsyncCore' for source 'http://packagesource/FindPackagesById()?id='Microsoft.WindowsDesktop.App.Runtime.win-x64'&semVerLevel=2.0.0'.
No such host is known.
Retrying 'FindPackagesByIdAsyncCore' for source 'http://packagesource/FindPackagesById()?id='Microsoft.AspNetCore.App.Runtime.win-x64'&semVerLevel=2.0.0'.
No such host is known.
Retrying 'FindPackagesByIdAsyncCore' for source 'http://packagesource/FindPackagesById()?id='Microsoft.NETCore.App.Runtime.win-x64'&semVerLevel=2.0.0'.
No such host is known.
Retrying 'FindPackagesByIdAsyncCore' for source 'http://packagesource/FindPackagesById()?id='Microsoft.WindowsDesktop.App.Runtime.win-x64'&semVerLevel=2.0.0'.
No such host is known.
Retrying 'FindPackagesByIdAsyncCore' for source 'http://packagesource/FindPackagesById()?id='Microsoft.AspNetCore.App.Runtime.win-x64'&semVerLevel=2.0.0'.
No such host is known.
C:\Program Files\dotnet\sdk\3.1.201\NuGet.targets(124,5): error : Failed to retrieve information about 'Microsoft.NETCore.App.Runtime.win-x64' from remote source 'http://packagesourc
e/FindPackagesById()?id='Microsoft.NETCore.App.Runtime.win-x64'&semVerLevel=2.0.0'. [C:\Users\steve\PlatziCSharp\PlatziCSharp.csproj]
C:\Program Files\dotnet\sdk\3.1.201\NuGet.targets(124,5): error : No such host is known. [C:\Users\steve\PlatziCSharp\PlatziCSharp.csproj]
Build FAILED.
C:\Program Files\dotnet\sdk\3.1.201\NuGet.targets(124,5): error : Failed to retrieve information about 'Microsoft.NETCore.App.Runtime.win-x64' from remote source 'http://packagesourc
e/FindPackagesById()?id='Microsoft.NETCore.App.Runtime.win-x64'&semVerLevel=2.0.0'. [C:\Users\steve\PlatziCSharp\PlatziCSharp.csproj]
C:\Program Files\dotnet\sdk\3.1.201\NuGet.targets(124,5): error : No such host is known. [C:\Users\steve\PlatziCSharp\PlatziCSharp.csproj]
0 Warning(s)
1 Error(s)
Time Elapsed 00:00:08.30## Heading ##
It seems that it missing some dependencies, I'm really new on this and I couldn't find any answer online
Anyone can help me how can I install what I'm missing?
In the past I tried to do another .NET Core project but this same error appeared and I drop it, this is so frustrating.
On Tools > Options... > NuGet Package Manager > package Sources,
add a package source by source https://api.nuget.org/v3/index.json
On tools > NuGet Package Manager > Package Manager Console enter dotnet restore command.
On Tools > Options... > NuGet Package Manager > package Sources, add
a package source by source https://api.nuget.org/v3/index.json
Restart Visual studio and reload your solution/project

IOException in Rhapsody FMI

I'm trying to generate an FMU of a block in IBM Rational Rhapsody using it's FMI profile, but everytime I generate de FMU I get the following error:
FMUPlugin.OnMenuItemSelect ("FMU\Generate FMU")
Export menu
All Checks Terminated Successfully
Checker Done
0 Error(s), 0 Warning(s)
Code generated to directory: C:\Documents and Settings\markel.sainz\workspace_FMI\FMI_test2\block_1_MSVCDLL\FMU
Generating file cash_calculator.h (unmodified)
Generating file cash_calculator.cpp (unmodified)
Generating make file block_1_MSVCDLL.mak (unmodified)
Code Generation Done
0 Error(s), 0 Warning(s), 0 Message(s)
Building ------------ block_1_MSVCDLL.dll ------------
Executing: ""C:\Archivos de programa\IBM\Rational\Rhapsody\8.1\Share"\etc\msvcmake.bat block_1_MSVCDLL.mak build x86 VC10 "
Value of the property MSVC::IDEVersion corresponds to the version of Visual Studio.
VC9 - Visual Studio 2008
VC10 - Visual Studio 2010
VC11 - Visual Studio 2012
Current value is "VC10", but no Visual Studio installation was not found in the directory "".
Build Done
FMU generation failed!
FMI plugin cause: IOException thrown: Failed to rename the target file: C:\Documents and Settings\markel.sainz\workspace_FMI\FMI_test2\block_1_MSVCDLL\FMU\cash_calculator.dll
Any ideas of what is going on?
Thanks in advance.
I got this problem many times and at the end solved it according to many resources.
First, go to
C:\ProgramData\IBM\Rational\Rhapsody\8.1.1x64\Share\etc\msvcmake.bat
Then open the file and change
if "%4"=="VC10" set VS_PATH=%VS_2010_PATH%
to
if "%4"=="VC10" set VS_PATH=C:\Program Files (x86)\Microsoft Visual Studio 10.0
The path is where you installed the Microsoft Visual Studio 10.0.
The last step (many answers missed this): go to IBM Rational Rhapsody and open your project, then click "Build Framework" at the bottom of "Code" menu.
Then you're free to go!

qwt cannot build Windows 8 64 bit

I have installed Qt5.5.1 on Windows 8 and the compiler is MSVC2013 64 bit, now I need to integrate qwt with Qt
I am following the instruction here, as a first step downloaded qwt source and extracted it, then opened Qt5.5 64bit(MASVC 2013) command prompt and run the command
C:\Qt\Qt5.5.1\5.5\msvc2013_64\bin\qmake.exe qwt.pro
Which end with no error.
Now I open Visual studio x64 Win64 Command prompt(2010) and run
nmake
Which give following error
Setting environment for using Microsoft Visual Studio 2010 x64 tools.
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC>E:
E:\>cd
E:\
E:\>cd Software\Qt\QWT\qwt-6.1.1
E:\Software\Qt\QWT\qwt-6.1.1>nmake
Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation. All rights reserved.
cd src\ && ( if not exist Makefile C:\Qt\Qt5.5.1\5.5\msvc2013_64\bin\qma
ke.exe E:\Software\Qt\QWT\qwt-6.1.1\src\src.pro -o Makefile ) && "C:\Program Fil
es (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\nmake.exe" -f Makefile
Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation. All rights reserved.
"C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\nmake.
exe" -f Makefile.Release all
Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation. All rights reserved.
compiling .\qwt_abstract_scale_draw.cpp .\qwt_clipper.cpp .\qwt_color_map.cpp .\
qwt_column_symbol.cpp .\qwt_date.cpp .\qwt_date_scale_draw.cpp .\qwt_date_scale_
engine.cpp .\qwt_dyngrid_layout.cpp .\qwt_event_pattern.cpp .\qwt_graphic.cpp .\
qwt_interval.cpp .\qwt_interval_symbol.cpp .\qwt_math.cpp .\qwt_magnifier.cpp .\
qwt_null_paintdevice.cpp .\qwt_painter.cpp .\qwt_painter_command.cpp .\qwt_panne
r.cpp .\qwt_picker.cpp .\qwt_picker_machine.cpp .\qwt_pixel_matrix.cpp .\qwt_poi
nt_3d.cpp .\qwt_point_polar.cpp .\qwt_round_scale_draw.cpp .\qwt_scale_div.cpp .
\qwt_scale_draw.cpp .\qwt_scale_map.cpp .\qwt_spline.cpp .\qwt_scale_engine.cpp
.\qwt_symbol.cpp .\qwt_system_clock.cpp .\qwt_text_engine.cpp .\qwt_text_label.c
pp .\qwt_text.cpp .\qwt_transform.cpp .\qwt_widget_overlay.cpp .\qwt_curve_fitte
r.cpp .\qwt_abstract_legend.cpp .\qwt_legend.cpp .\qwt_legend_data.cpp .\qwt_leg
end_label.cpp .\qwt_plot.cpp .\qwt_plot_renderer.cpp .\qwt_plot_xml.cpp .\qwt_pl
ot_axis.cpp .\qwt_plot_curve.cpp .\qwt_plot_dict.cpp .\qwt_plot_directpainter.cp
p .\qwt_plot_grid.cpp .\qwt_plot_histogram.cpp .\qwt_plot_item.cpp .\qwt_plot_ab
stract_barchart.cpp .\qwt_plot_barchart.cpp .\qwt_plot_multi_barchart.cpp .\qwt_
plot_intervalcurve.cpp .\qwt_plot_zoneitem.cpp .\qwt_plot_tradingcurve.cpp .\qwt
_plot_spectrogram.cpp .\qwt_plot_spectrocurve.cpp .\qwt_plot_scaleitem.cpp .\qwt
_plot_legenditem.cpp .\qwt_plot_seriesitem.cpp .\qwt_plot_shapeitem.cpp .\qwt_pl
ot_marker.cpp .\qwt_plot_textlabel.cpp .\qwt_plot_layout.cpp .\qwt_plot_canvas.c
pp .\qwt_plot_panner.cpp .\qwt_plot_rasteritem.cpp .\qwt_plot_picker.cpp .\qwt_p
lot_zoomer.cpp .\qwt_plot_magnifier.cpp .\qwt_plot_rescaler.cpp .\qwt_point_mapp
er.cpp .\qwt_raster_data.cpp .\qwt_matrix_raster_data.cpp .\qwt_sampling_thread.
cpp .\qwt_series_data.cpp .\qwt_point_data.cpp .\qwt_scale_widget.cpp .\qwt_plot
_svgitem.cpp .\qwt_plot_glcanvas.cpp .\qwt_abstract_slider.cpp .\qwt_abstract_sc
ale.cpp .\qwt_arrow_button.cpp .\qwt_analog_clock.cpp .\qwt_compass.cpp .\qwt_co
mpass_rose.cpp .\qwt_counter.cpp .\qwt_dial.cpp .\qwt_dial_needle.cpp .\qwt_knob
.cpp .\qwt_slider.cpp .\qwt_thermo.cpp .\qwt_wheel.cpp
cl : Command line error D8021 : invalid numeric argument '/FS'
NMAKE : fatal error U1077: 'echo' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0
\VC\BIN\amd64\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
E:\Software\Qt\QWT\qwt-6.1.1>
What could be the issue, my Qt using MSVC2013 64 bit compiler and where as I running nmake using visual studio 2010 command prompt. Could that be the issue?
If so do I need to install Visual studio 2013?
I also tried jom using the command
C:\Qt\Qt5.5.1\Tools\QtCreator\bin\jom.exe -j12
Which also end up with some error.
Any help will be appreciated,
Thanks
Haris
you need to open the command prompt like administrator.
And for be available to use the plugins, need to compile qwt in the same compiler that Qt Creator.

Microsoft Visual Studio 2010 IDE is not opening

When I am opening the IDE Visual Studio 2010, it's showing the error
"Microsoft Visual Studio has encounter a problem and needs to close."
If you had files open contained unsaved changes, these changes might
be lost.
Check online for a solution and close the program
Close the program
Debug the program
Details
Problem signature:
Problem Event Name: CLR20r3
Problem Signature 01: devenv.exe
Problem Signature 02: 10.0.30319.1
Problem Signature 03: 4ba1fab3
Problem Signature 04: Microsoft.TeamFoundation.Common
Problem Signature 05: 10.0.0.0
Problem Signature 06: 5140b069
Problem Signature 07: 4b6
Problem Signature 08: 45
Problem Signature 09: System.MissingMethodException
OS Version: 6.0.6002.2.2.0.272.7
Locale ID: 1033
Additional information about the problem: LCID: 1033
Read our privacy statement:
http://go.microsoft.com/fwlink/?linkid=50163&clcid=0x0409
I'm using Windows Server 2008 R2.
Run your visual studio from command prompt with /safemode parameter.
Then disable every extension you've installed before, then re-run visual studio.
For example:
"D:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe" /safemode
It would be nice if you run you cmd as an admin.
Good luck

Resources