VS2013 :'Error while trying to run project:Unable to start debugging.' - visual-studio-2013

'Failed to process configuration file. Try to restart this appliacation.If failures continue try to repair your installation.'
Hi !
So all the above is in the msgbox when I try to run any new project or existing sample in Visual Studio 2013 Community edition Update 4.
Thnx.

Related

TFS build giving error - The active Test Run was aborted because the execution process exited unexpectedly

We are using Visual Studio 2019 and TFS server 2015.
TFS build is giving below error:
Error: The active Test Run was aborted because the execution process exited unexpectedly. The test execution process crashed while running the tests. To investigate further, open file:///C:/Users/username/AppData/Local/CrashDumps/TE.ProcessHost.Managed.exe.11108.dmp file in Visual Studio and choose "Debug in mixed mode".
##[error]VSTest Test Run failed with exit code: 1
##[error] at Microsoft.TeamFoundation.DistributedTask.Task.Internal.PowerShell.InvokeVSTestCmdlet.ProcessRecord()
##[error] at System.Management.Automation.CommandProcessor.ProcessRecord()
If we uncheck Code coverage enable checkbox, then build gets successful, its failing when we enable that check box.
Observation: Recently on server, Visual Studio Build Tools 2022 (17.2.5) got updated. After that TFS builds not working.
Please someone help to solve this issue.

running powershell Script in Visual Studio pre build event

wrote a simple code by powershell
I am creating a file xml with some program settings
I want to run it before build desktop software
Get this error exited with code 1
in Visual Studio pre build event
powershell.exe $(ProjectDir)Script1.ps1
I thought it was from the wrong code. I simplified the code. However I get the same error
write-Host 'test'
exit 0
How can I solve this problem?

dtexec error "To run a SSIS package outside of SQL Server Data Tools you must install Standard Edition of Integration Services or higher."

I am having a really hard time with ssis lol. I have visual studio 2019 community and I installed ssis & data tools following this article. But when I try to run a package using dtexec, I get the error, To run a SSIS package outside of SQL Server Data Tools you must install Standard Edition of Integration Services or higher. But I thought that I did install ssis? Also I am confused as to what which dtexec I should be using I have it in the 110,120, & 130 folders?
: "C:\Program Files (x86)\Microsoft SQL Server\130\DTS\Binn\dtexec.exe" /f Package.dtsx
Microsoft (R) SQL Server Execute Package Utility
Version 13.0.4561.14 for 32-bit
Copyright (C) 2016 Microsoft. All rights reserved.
Started: 6:31:15 PM
Error: 2021-01-27 18:31:15.76
Code: 0xC000F427
Source: Expression Task
Description: To run a SSIS package outside of SQL Server Data Tools you must install Standard Edition of Integration Services or higher.
End Error
Warning: 2021-01-27 18:31:15.76
Code: 0x80019002
Source: Package
Description: SSIS Warning Code DTS_W_MAXIMUMERRORCOUNTREACHED. The Execution method succeeded, but the number of errors raised (2) reached the maximum allowed (1); resulting in failure. This occurs when the number of errors reaches the number specified in MaximumErrorCount. Change the MaximumErrorCount or fix the errors.
End Warning
DTExec: The package execution returned DTSER_FAILURE (1).
Started: 6:31:15 PM
Finished: 6:31:15 PM
Elapsed: 0.14 seconds
Error message is correct stating that you need SSIS Server to run dtsx package.
Article you quoted describes how to install Development Environment for SSIS; this development environment allows to create and edit packages and run packages inside Visual Studio for debug purposes only. Package executions other than inside Visual Studio have to be done under SSIS Server environment.
Conclusion -- to run package in "productive environment" i.e. without manual actions in Visual Studio, you have to install some version of SSIS Server or execute package on existing SSIS server.
Different versions of DTExec in "110,120, & 130 folders" refer to different versions of SSIS. In the Visual Studio you have ability to develop packages for different versions of SSIS. As you specify SSIS version in SSIS Project properties, VS in package debug run corresponding version of DTExec. 130 corresponds to SQL Server 2016, see SO answer on this with more info.

Failed to start process with commandline VSIISExeLauncher.exe

I just updated my project from ASP.Net Core from 2.1 to 2.2.
When I start debugging my application using visual studio.
My application compiled and run.
Suddenly, it stopped and exited debugging mode.
When I checked Event Viewer, there is an error displayed:
Application '/LM/W3SVC/2/ROOT' with physical root '(my project path)' failed to start process with commandline 'c:\program files (x86)\microsoft visual studio\2017\community\common7\ide\extensions\microsoft\web tools\projectsystem\VSIISExeLauncher.exe -argFile "(temp)\tmpED0C.tmp"' with multiple retries. The last try of listening port is '44386'. See previous warnings for details
Any helps ?
Thanks,

Playback.initialize() method failed in test Agent 2013 installed machine

I have created a Winform App to Run Coded UI test scripts recorded in VS2013. Its finely running in the VS2013[update 4] installed machine. But when try to run this in Test Agent 2013 installed machine, the exception has been thrown at Playback.Initialize() method , as "The following package failed to load: "C:\Program Files (x86)\Common Files\Microsoft Shared\VSTT\12.0\Microsoft.VisualStudio.TestTools.UITest.Extension.IE.dll"
I tried adding this dll in the reference but still the problem persists. I have added the following references. And I am sure that these dlls are available in the mentioned path.
Microsoft.VisualStudio.QualityTools.CodedUITestFramework.dll
Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll
Microsoft.VisualStudio.TestTools.UITest.Common.dll
Microsoft.VisualStudio.TestTools.UITest.Extension.dll
Microsoft.VisualStudio.TestTools.UITest.Extension.IE.dll
Microsoft.VisualStudio.TestTools.UITest.Framework.dll
Microsoft.VisualStudio.TestTools.UITest.Playback.dll
Microsoft.VisualStudio.TestTools.UITesting.dll*
In that machine, only Test agent 2013 is installed and Configured for "Interactive Process" . Neither Test Controller is installed nor configured with any other test Controller installed machine.
I tried to Run the scripts with MStest using Command Line. Its running.
I have tried a lot by adding/removing many Coded UI dlls. But still the problem persists. Did I miss something? Thanks in advance.

Resources