windows command prompt not opening some files - r

My command prompt is not working for some .exe files. I DO have the file in my path, I even can try opening the file directly and it does nothing. If I click on troubleshoot compatibility, it says incompatible application detected, but if I switch to other options, nothing works. I can open up other programs fine. I can open up Rgui and its fine, Rcmd works fine too. R.exe does nothing which prevents me from running certain things I need. I have tried other old versions of R too and nothing works.
operating system: Windows 7 64 bit (all updates installed)
program: RRO, R
C:\Windows\SysWOW64>which R
/c/Program Files/RRO/R-3.2.2/bin/x64/R
C:\Windows\SysWOW64>R
C:\Windows\SysWOW64>
C:\Windows\SysWOW64>R.exe
C:\Windows\SysWOW64>
C:\Windows\SysWOW64>cd C:\Program Files\RRO\R-3.2.2\bin\x64
C:\Program Files\RRO\R-3.2.2\bin\x64>R.exe
C:\Program Files\RRO\R-3.2.2\bin\x64>
C:\Program Files\RRO\R-3.2.2\bin\x64>python
Python 2.7.8 |Anaconda 2.1.0 (64-bit)| (default, Jul 2 2014, 15:12:11) [MSC v.1
500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
Anaconda is brought to you by Continuum Analytics.
Please check out: http://continuum.io/thanks and https://binstar.org
>>>
C:\Program Files\RRO\R-3.2.2\bin\x64>echo %path%
C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\Wind
owsPowerShell\v1.0\;C:\ProgramData\Oracle\Java\javapath;C:\Program Files\WIDCOMM
\Bluetooth Software\;C:\Program Files\WIDCOMM\Bluetooth Software\syswow64;C:\Pro
gram Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\Mic
rosoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tool
s\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x8
6)\MATLAB\R2013b\bin;C:\Program Files\MATLAB\R2013b\runtime\win64;C:\Program Fil
es\MATLAB\R2013b\bin;C:\Program Files\RRO\R-3.2.2\bin\x64;C:\Program Files (x86)
\Riverbed\Steelhead Mobile\;C:\Program Files (x86)\Microsoft SQL Server\100\Tool
s\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft Visual Studio 9.0\C
ommon7\IDE\PrivateAssemblies\;C:\Program Files (x86)\Microsoft SQL Server\100\DT
S\Binn\;C:\Program Files\TortoiseHg\;C:\Program Files\Microsoft SQL Server\110\T
ools\Binn\;C:\Program Files (x86)\Git\cmd;C:\Program Files (x86)\QuickTime\QTSys
tem\;C:\Anaconda;C:\Anaconda\Scripts;C:\TDM-GCC-64\bin;C:\tomlab\shared;C:\Progr
am Files\Microsoft Windows Performance Toolkit\;C:\Program Files (x86)\Windows K
its\8.1\Windows Performance Toolkit\;C:\Program Files (x86)\Microsoft SDKs\TypeS
cript\1.0\;C:\Program Files\Microsoft SQL Server\120\Tools\Bin\;C:\cygwin64\bin;
C:\Program Files (x86)\CMake\bin;C:\cygwin64\sbin;C:\opencv\build\x64\vc12\bin;C
:\Program Files (x86)\Skype\Phone\;c:\Rtools\bin;c:\Rtools\gcc-4.6.3\bin;;%CREAT
OOLS_DIRS%;C:\Program Files (x86)\CreaTools\crea_TPdlls-3.2.0\bin

try "C:\Program Files\RRO\R-3.2.2\bin\x64\Rgui.exe"

Related

How to get WebDev.WebServer40.exe installed on windows 10?

I have some old legacy code that requires:
C:\Program Files (x86)\Common Files\microsoft shared\DevServer\10.0\webdev.webserver40.exe
but how do I install that? From the above it seems I need to install VS 2010 so I tried to download VS 2010 Express:
en_visual_studio_2010_vb_express_web_installer_x86_516528
and install that, but that did not install anything in:
C:\Program Files (x86)\Common Files\microsoft shared\DevServer\10.0\webdev.webserver40.exe
Any suggestions?
That server is ASP.NET Development Server and your "legacy" code should not depend on it at all. Revise that to use other solutions please.
Besides, if you do insist installing it, you need to install Visual Studio Express for Web, not VB.

SSIS 2016 VS 2015 Error 0xC001700A Version number in the package is not valid. he version number cannot be greater than current version number

I upgraded an SSIS 2008R2 package to SSIS 2016 using the upgrade wizard. It upgraded successfully. I do have both 2008R2 and 2016 SQL Server loaded on my server. I am executing a batch file that calls the upgraded package. The batch file is calling DTEXEC.exe from "C:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn\". I receive these errors:
0xC001700A The version number in the package is not valid. The version number cannot be greater than current version number.
0xC0016020 Package migration from version 8 to version 6 failed with error 0xC001700A.
0xC0010018 Error loading value ",DTS:Property xmlns:DTS="www.microsoft.com/SqlServer/Dts" DTS:Name="PackageFormatVersion">8" from node "DTS:Property".
Any suggestions on what I can try next?
Try changing the path to DTEXEC.exe in your batch file to the following
C:\Program Files (x86)\Microsoft SQL Server\130\DTS\Binn\
Detailed Explanation
The error is likely from you running the DTEXEC.exe from the SSIS 2008 installation folder i.e. from C:\Program Files (x86)\Microsoft SQL Server\110\DTS.
The equivalent folder for SSIS 2016, if you had done the default installation, is as follows
32-bit SSIS: C:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn\
64-bit SSIS: C:\Program Files\Microsoft SQL Server\110\DTS\Binn\
From your question, it looks like you are trying to execute the 32-bit version of DTEXEC.exe, so the right path to call it from, in your batch file is
C:\Program Files (x86)\Microsoft SQL Server\130\DTS\Binn\
References:
File Locations for Default and Named Instances of SQL Server
dtexec Utility - Considerations on Computers with Side-by-Side Installations

Visual Studio Bower error

I'm going through some ASP.NET tutorials and I've encountered an error I don't know how to resolve. I just added a Bower pacakge(?) and Visual Studio (Enterprise 2015) placed it under a Dependencies branch. Under that is the Bower branch and in that the package appears. Both Dependencies and Bower say "- not installed" after them. I've right-clicked and selected the "Restore" option. Viusal Studio works for a while and then says an error occured. The following error appears in the Output window:
PATH=.\node_modules\.bin;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft\Web Tools\External;%PATH%;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft\Web Tools\External\git
"C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft\Web Tools\External\Bower.cmd" install --force-latest
bower underscore#~1.83 not-cached git://github.com/jashkenas/underscore.git#~1.83
bower underscore#~1.83 resolve git://github.com/jashkenas/underscore.git#~1.83
bower underscore#~1.83 ECMDERR Failed to execute "git ls-remote --tags --heads git://github.com/jashkenas/underscore.git", exit code of #-532462766
I'm not terribly familiar with Git, but I know I shouldn't have to have it installed in my workstation. Anyone know what's going on?
I believe bower uses Git client to pull packages directly from GitHub using entries in the packages bower.json file.
Specific to your problem, Git (and therefore bower) is unable to connect to GitHub due to firewall issues. Similar issue here
You can set global git variables (e.g. git config --global xxx) to set proxy etc. to hopefully work around this problem.
According to the error your Git Client is installed locally at C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft\Web Tools\External\git

How to build a project in qt 5.2.1 for amd64 (setup cl.exe and missing mspdb110.dll file)?

I have installed qt 5.2.1 and Visual Studio 2012 in Windows 7 x64 (I have codepage 1251 if it matters). I use vs11 compiler.
Firstly I tried to run 'Rebuild all' action and I have received an error connected with cl.exe.
Then I added the path to vs11/bin to PATH variable (where cl.exe file is located; strange but it is in Program Files x86 folder) and have received the error: mspdb110.dll is missing. What should I do next? How to build the project?
Add to PATH path of directory with this dll. It's in something like C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\amd64. If you have not such file in entire system, I guess you should reinstall Visual Studio.

QT Creator Build Error: failure during conversion to COFF

error: LNK1123: failure during conversion to COFF: file invalid or corrupt
I'am getting this error every time I try to build any project on my Qt Creator.
I have VS2010 installed and the compiler version set to MSVC C++ compiler 10.0(x86).
I have Qt 5.2.1 MSVC2010 32bit OpenGL.
This error appears because you have installed VS 2012 after you have actually installed VS 2010 in your system.
It can be solved if you install SP1 for VS2010.
An other solution is to go to
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\cvtres.exe
and check the version of cvtres.exe. If the date is 03/18/2010 go to
C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\cvtres.exe
and copy cvtres.exe then replace it On
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\cvtres.exe
This error may occur when.Net Framework updated to 4.5.x. To resolve this error
You can change project properties as "Enable Incremental Linking -> "No (/INCREMENTAL:NO)".
Or, uninstall the .Net Framework 4.5.x and install .NET Framework 4.

Resources