Microsoft.CppCommon.targets(171,5): error MSB6006: "cmd.exe" exited with code 255 - visual-c++

I am migrating one project from VC2006 to VS2015.
In the project one of the module is giving below error while compilation.
Performing Custom Build Tools
preESQL LkDataStore.ecp LkDataStore_or.pc o
preESQL done!
C:\app\client\product\12.1.0\client_1\bin\proc LkDataStore_or.pc
Pro*C/C++: Release 12.1.0.2.0 - Production on Wed May 17 22:40:05 2017
Copyright (c) 1982, 2014, Oracle and/or its affiliates. All rights reserved.
System default option values taken from: C:\app\client\product\12.1.0\client_1\precomp\admin\pcscfg.cfg
Performing Custom Build Tools
The input line is too long.
The syntax of the command is incorrect.
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(171,5): error MSB6006: "cmd.exe" exited with code 255.
The project has 10 files and till 7th file no issues, after that I see the above error. I had removed the last 3 files from the project and compiled, build was success.
The module has .ecp files as it should support both ORACLE and INFORMIX databases
I am not able find out the root cause for the issue.
can anyone help me in the above issue.

Related

InstallShield - Error 429 and missing sabuild.dll

We've recently upgraded from InstallShield 2015 to 2016 SP2. I opened my existing Projects in 2016, and InstallShield upgraded them with no errors. But when I try to build in the GUI I get the following:
Error 429: ActiveX component can't create object
When I try to build using the commandline...
IsCmdBld.exe -p "C:\Path to IS Project file\ProjectFile.ism" -v
...I get the following:
InstallShield (R) Release Builder Copyright (c) 2016 Flexera Software
LLC.
All Rights Reserved.
-1131: Failed to load sabuild.dll.
We have several older versions of InstallShield on the particular machine. These Project files were working fine until I tried building them in 2016. I can open copies of the backed up Project files in 2015 and they still build without error. I have searched the entire computer for "sabuild.dll". None found.
This occurs when I try to build MSI or EXE.
We have InstallShield 2016 SP2 Professional and the update manager says we are on the latest. This is installed on Windows 10 Pro 32-bit (don't ask, I'm not operations and I inherited this setup).
Any thoughts?
Thanks in advance!
Install Microsoft Visual C++ 2013 Redistributable Package.
Also Installshield 2016 originally had an issue with detecting vc++ libraries, so you may need to update to SP2.
Refer IOJ-1742525 on http://helpnet.flexerasoftware.com/installshield23helplib/ReleaseNotes.htm

Error Copying Typescript files when packaging Azure project - Visual Studio 2015 Update1

After updating to VS 2015 Update 1 (including Typescript 1.7) and the Azure SDK 2.8, I am unable to package my Azure application for deployment because of an error in the path the packager is trying to copy the js output file to:
Error Unable to copy file "D:\X\XX\XXX\App\services\editor\ruler-manager.js" to "D:\X\XX\XXX\obj\Debug\PE.Web\D:\X\XX\XXX\App\services\editor\ruler-manager.js". The given path's format is not supported. PE.Architecture C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\Windows Azure Tools\2.8\Microsoft.WindowsAzure.targets 2787
Note that the directory has been included twice, causing an illegal colon in the middle of the output path.
It seems likely this is related to TFS Build error after installing Visual Studio 2015 Update 1 and https://social.msdn.microsoft.com/Forums/en-US/300a59bc-0f23-41a4-927a-05ae9978f3a4/unable-to-build-project-with-tyepscript-since-upgrading-to-vs-2015-update-1?forum=msbuild&prof=required and https://github.com/Microsoft/TypeScript/issues/5894
Update:
The following workaround has been suggested, but we were still unable to publish after implementing it:
We worked around it by manually adding ContinueOnError="WarnAndContinue" to the Copy task within the CopyWebRoleFiles target, within Microsoft.WindowsAzure.targets.
(Source: https://github.com/Microsoft/TypeScript/issues/5894#issuecomment-162261090)
Does anyone have any workarounds or fixes other than the ones suggested in the linked threads?
This was a bug in the Typescript 1.7 tooling. Fixes have been released:
For VS 2015 (TS 1.7.6)
For VS 2013 (TS 1.7.5)
Details here: https://github.com/Microsoft/TypeScript/issues/5894#issuecomment-163798025

Eazfuscator.NET v3.3/.NET 4.0 - Error occurred during processing of input file.

Eazfuscator.NET v3.3/.NET Framework 4.0 - I got the following error when I changed Target framework from 3.5 to 4.0. It compiles without errors with 3.5 framework.
Error occurred during processing of input file 'MyApp.exe' --> sn.exe: Copyright (c) Microsoft Corporation. All rights reserved.
I tried to delete files from AppData\Local\Temp, restarted computer and restarted VS2012 but no lock so far.
Please help.

IIS Express 10 (64 bit) errors when starting web project in Visual Studio 2015

Starting a web project in IIS Express 10 and Visual Studio 2015 results in the following error when running the 64 bit version of IIS Express but works fine with the 32 bit version.
Process with an Id of 9172 is not running.
These are the fixes I have tried, all have failed:
Rename/Delete the IISExpress folder under my documents.
Run Visual Studio as Administrator at all times.
Reboot...because turn it off and on again.
I checked the _CSRUN_DISABLE_WORKAROUNDS environment variable as indicated here but it was already set.
Repair IIS Express 10 in Programs and Features.
There already seems to be a Connect issue registered with Microsoft which is Active but this has been ongoing since VS 2010. I have also done some investigation.
Running C:\Program Files (x86)\IIS Express\iisexpress.exe, starts fine. This is presumably the 32 bit version.
Running C:\Program Files\IIS Express\iisexpress.exe (Which I assume is the 64 bit version) results in the following error:
Filename:
\?\C:\Windows\Microsoft.NET\Framework64\v4.0.30319\CONFIG\web.config
Line number: 519 Error: The configuration section
'microsoft.applicationServer' cannot be read because it is missing a
section declaration.
It seems that you have updated C:\Windows\Microsoft.NET\Framework\v4.0.30319\CONFIG\web.config but not updated C:\Windows\Microsoft.NET\Framework64\v4.0.30319\CONFIG\web.config. So, please compare the two files and sync them to solve the problem.
I had a similar problem - the key to solving it was to run iisexpress from the the command line and then look at the error. In my case it said the XML was malformed. I then tried to edit the web.config in XmlNotepad which told me exactly where the bad XML was. In this case - something had put a bad comment in the file - I removed it (IE, fixed the XML issue) and then iisexpress was able to run OK on the command line and in VS 2015.

Visual Studio 2012 Preparation - install warning?

I am getting warnings at the end of my VS2012Pro install that I do not understand and was wondering if anyone else had the same issue or knew of a reason/fix. I receive 2 warnings that are almost identical:
Microsoft Visual Studio Preparation
The system cannot find the file specified.
and
Microsoft Visual Studio 2012 Preparation
The system cannot find the file specified.
I'm installing from an ISO. I've tried mounting with Virtual Clone Drive and just extracting the files with 7-Zip and using the exe. Both scenarios give the warnings.
Any advice? Thanks.

Resources