Running a Win32 executable on Amazon EC2 Windows 2008 image - windows

Has anyone tried to run a Win32 executable on Amazon's Windows 2008 Server image? I had tried but Amazon's Windows 2008 server image says the executable is not Win32.
I then tried the same executable on a local Windows XP and Windows 7 machine, and it could install fine.
Does anyone have similar experience?
Thanks!

If the error occurs at the opening of files, click Start / Run, then enter and confirm the following command:
regsvr32 / i SHELL32.DLL
For other causes please check this article:
.exe is not a valid Win32 application

Related

Installing dot net 1.x on Windows 2012

I'm trying unsuccessfully to install the "Windows Hosting Bundle" used by a legacy web application with dot net core 1.0.x on one of our server running Microsoft Windows 2012 R2 Standard.
I am using the installer found at this link here:
https://dotnet.microsoft.com/en-us/download/dotnet/1.0
The installer completes without any errors and I noticed that the bundle goes into the local folder:
C:\Program Files\dotnet\shared\Microsoft.NETCore.App
When I run the command "dotnet --list-runtimes" from the prompt, I don't see the runtime listed in the output (and the web application hosted on IIS fail to start).
I am assuming it is not "registered" correctly or?
Thank you all

httpd.exe - Application error while starting apache in xampp server in window 8.1

I got
httpd.exe - system error, The program can't start because
api-ms-win-crt-runtime-l1-1-0.dll is missing while starting Apache
server.
I'm using windows 8.1 machine.
To solve that problem i copy .dll files in window32 directory and when i restart the xampp, got new error.
httpd.exe - Application error The application was unable to start
correctly (0xc000007b). Click OK to close application
Port 80 is not actually being used. I have already reinstalled it many times but same error occurs.
I'm trying to install latest xampp version (7.1.1)
The api-ms-win-crt-runtime-l1-1-0.dll is part of the Visual C++ 2015 Redistrutable package.
You copied a wrong DLL (wrong CPU archtecture), which generates the error
0xc000007b - STATUS_INVALID_IMAGE_FORMAT - {Bad Image} %hs is either
not designed to run on Windows or it contains an error. Try
installing the program again using the original installation media or
contact your system administrator or the software vendor for support.
Delete the wrong DLL again, download and install the Microsoft Visual C++ 2015 Redistributable Update 3.
Run the program with compatibility for Windows Vista service pack 2

Error Installing VS.net 2003 on a Windows 2012 R2 Server

For various reasons, I have to install VS.Net 2003 on a 2012 R2 Server.
I was able to install the VS 2003 Pre-reqs when I tried to install the VS.net 2003 server itself, I am getting the following error:
Error 1309: Error reading from File D:............\adodb.dll.
Verify that the file exists and you have access to it.
I am able to see the file. I run the setup exe as administrator.Still getting this error.
If you have multiple CD-DVD ROM drives, you should turn off the extra drives and try again.
If you don't have a multiple CD-ROM system, try to copy the CD-DVD's contents to the Hard Disk Drive and run the installation from there.
you can try to download the file from internet and repleace the one from the folder, but first back up the old one
Download the file adodb.dll to your desktop.
Move the dll file to the program directory missing the file.
If step 2 doesn't work. Move adodb.dll to the system directory.
Windows XP,Vista, and Windows 7 - C:\Windows\System32
on 2012 R2 Server should be the same directory file
It seems under Win2K12 R2, the Installer of MSVS.Net 2003 does not pick up the short forms of the paths to the installation files... I even suspect that server doesn't support 8.3 forms of the paths.
For the case the 8.3 support is there, try to run the installer in Compatibility Mode (right-click on the setup executable and choose Properties, then tab "Compatibility", then either run the Compatibility Troubleshooter oder select the Checkbox "Run this program in compatibility mode for:" and choose from the dropdown Windows 7 oder Windows XP (SP 3)).

How to install Visual Studio Remote Tools on Server Core?

I'd like to install the Visual Studio 2013 Update 4 Remote Tools on a Windows 2012R2 Server running IIS 8.5. This is a pretty simple process outlined here: https://msdn.microsoft.com/en-us/library/bt727f1t.aspx
The problem I have is that the server I'm trying to installing this on is a Server Core, meaning, there is no GUI. The Remote Tools application is an exe that only installs via GUI.
I've tried to install it with PowerShell and it just hangs. I'm also not able to find the Remote Tools in Web Platform Installer to install it that way. Extensive Googling has turned up nothing.
Does anyone know how to install the Visual Studio Remote Tools on a Server Core so that I can debug on my DEV server? Any advice is appreciated.
Create a .bat file and enter the below. (not PowerShell) (Or just at the command line.)
rtools_setup_x64.exe" /install /quiet
word...
You don't have to install remote tools. Just copy msvsmon.exe, from your local Visual Studio installation. Then start it from remote powershell silently:
Start-Process -FilePath .\msvsmon.exe -ArgumentList '/nosecuritywarn /port:4022 /silent' -Verb runAs
Don't forget to open firewall port.
Turns out that you can simply remote into the Core server. When you do so, you'll get a command prompt only. From there, CD to the directory where the remote tools install file is. Execute the file by typing the file name at the command prompt, ie: rtools_setup_x64.exe.
This will run the installer, with a GUI, on the Core server. Its that simple, I didn't think you'd be able to get the install wizard on a Core server, however you do.

Nservicebus4 installation

I encountered with a problem when i installed the particular-nservicebus-4.0.2.exe on the Windows Server 2003 SP2(32bit,64bit). The error is:
A file that is required cannot be installed because the cabinet file C\document and settings\Administrator Data\Particular software Ltd\NServiceBus4.0.2\install\disk1.cab has an invalid digital signature. this may indicate the cabinet file is corrupt
But it is ok when i installed it on the windows server 2008R2, it seems that server 2003 and xp cannot support it.
How can I solve this problem?
You may see this message when installing under Windows XP or Windows Server 2003, typically with a cabinet file greater than 500MB. To correct this problem, install the following Windows update:
For Windows XP: http://support.microsoft.com/kb/960554/en-us
For Windows Server: http://support.microsoft.com/kb/888303/en-us

Resources