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

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)).

Related

Can't find procedure entry point _o__configure_narrow_argv

I was trying to use Codeblocks IDE 20.03 in Windows XP when I saw this error message:
The procedure entry point _o__configure_narrow_argv could not be located in the dynamic link library api-ms-win-crt-private-|l1-1-0.dll.
Is there a fix for this issue?
I am using Windows XP Service Pack 3 Build 2600.
Codeblocks IDE 20.03 works in Windows XP 32 Bit without complaining after the following changes,
Download and install Visual C++ Redistributable for Visual Studio 2015
Download all the 6 files from sourceforge.net
Extract the files from the downloaded codeblocks-code-r11196-trunk-src-exchndl-win32-bin.zip
Copy the files (addr2line.exe, dbghelp.dll, exchndl.dll, mgwhelp.dll, symsrv.dll, symsrv.yes) and replace them in the installation directory where codeblocks.exe is located. (Normally, C:\Program Files\CodeBlocks)

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

Opening visual studio solution from a linux drive

I just upgraded from Win7 to Win10 and I noticed the following change, that I don't explain for now.
I used to checkout my source code on in a mounted linux drive (\myremote\myaccount\ as X:)
before I was able to open visual studio 2008 solution (.sln file) and build but since the upgrade to Win10, devenv fails when I double click on a sln, saying that:
The following files were specified on the command line:
X:\blahblah\myproject\myproject.sln
These files could not be found and will not be loaded
but I can open and save that sln file using a text editor.
Note that my devenv run as Administrator.
Any idea ?

Register comdlg32.dll gets Regsvr32: DllRegisterServer entry point was not found

I have Windows 7, 64-bit.
I'm trying to register a .dll (comdlg32.dll) using regsvr32. But I get an error that says the dll is read but the DLLRegistryServer entry point is not found.
I have run the command under both System32 and SysWOW64 and I have run my commands with "Run As Administrator".
My old MSComDlg.CommonDialog component is no longer working with 64-bit.
comdlg32.dll is not a COM DLL and cannot be registered.
One way to confirm this for yourself is to run this command:
dumpbin /exports comdlg32.dll
You'll see that comdlg32.dll doesn't contain a DllRegisterServer method. Hence RegSvr32.exe won't work.
That's your answer.
ComDlg32.dll is a a system component. (exists in both c:\windows\system32 and c:\windows\syswow64) Trying to replace it or override any registration with an older version could corrupt the rest of Windows.
I can help more, but I need to know what MSComDlg.CommonDialog is. What does it do and how is it supposed to work? And what version of ComDlg32.dll are you trying to register (and where did you get it)?
comdlg32.dll is not really a COM dll (you can't register it).
What you need is comdlg32.ocx which contains the MSComDlg.CommonDialog COM class (and indeed relies on comdlg32.dll to work). Once you get ahold on a comdlg32.ocx, then you will be able to do regsvr32 comdlg32.ocx.
Registering DLL for Fundsite
Outdated or missing comdlg32.ocx runtime library can be the problem of causing this error.
Make sure comdlg32.ocx file is not corrupted otherwise Download the File comdlg32.ocx (~60 Kb Zip).
Download the file and extract the comdlg32.ocx to your the Windows\System32 folder or Windows\SysWOW64. In my case i started with Windows\System32 but it didn’t work at my end, so I again saved in Windows\SysWOW64.
Type following command from Start, Run dialog:“c:\windows>System32\regsvr32 Comdlg32.ocx “ or “c:\windows>SysWOW64\regsvr32 Comdlg32.ocx ”
Now Comdlg.ocx File is register and next step is to register the DLL
Copy the Fundsite.Text.Encoding. dll into .Net Framework folder for 64bit on below path
C:\Windows\Microsoft.NET\Framework64\v2.0.50727
Then on command prompt and go to directory C:\Windows\Microsoft.NET\Framework64\v2.0.50727 and then run the following command as shown below.
This will register the dll successfully.
C:\Windows\Microsoft.net\framework64\v2.0.50727>regasm "Dll Name".dll
Have you unistalled your Internet Explorer?
I did, and I had the same issues, if so, you have to:
Reactivate IE (Control Panel -- Programs and Features -- Turn Windows features on or off).
restarting the computer
(important!) running Windows Update to get all available updates for Microsoft Explorer
restarting the computer (again)
Finally it works!
I have faced the same issue with COMDLG32.OCX and MSFLXGRD.OCX in Windows 10 and Visual Studio 2010. It's an MFC application.
Then I downloaded its zip file from the google after extracting copy them at following paths:
C:\Windows\System32 (*For 32-bit machine*)
C:\Windows\SysWOW64 (*For 64-bit machine*)
Then run Command Prompt as an Administrator then run the following commands:
For Windows 64-bit systems c:\windows\SysWOW64\ regsvr32 comdlg32.ocx
c:\windows\SysWOW64\regsvr32 msflxgrd.ocx (My machine is 64-bit configuration)
For Windows 32-bit systems c:\windows\System32\ regsvr32 comdlg32.ocx
c:\windows\System32\regsvr32 msflxgrd.ocx
On successfully updation of the above cmds it shows succeed message.
Information about missing entry point error installing legacy VB6 compiled applications on Windows 10 which I hope could be useful to someone.
Missing OCX files can be found in the "OS\System folder" of the Visual Basic 6.0 installer package.
Today I copied the relevant OCX file (from our network) to the local computer
And then I typed the commands below, as administrator, which normally work to register it.
cd \windows\syswow64
regsvr32.exe /u mscomctl.ocx
regsvr32.exe /i mscomctl.ocx
(add the path to the locally copied file for the /i command)
However today I got errors from both these regsvr32.exe commands.
The second error was giving the DllImport missing entry point error which is similar to the error mentioned by the original poster.
To resolve, one of the things I tried was leaving out the switch -
regsvr32.exe mscomctl.ocx
To my surprise it then said it was successful.
To confirm, the application started up properly afterwards.
SOLUTION OF Regsvr32: DllRegisterServer entry point was not found,
Go to systemdrive(generally c:)\system32 and search file "Regsvr32.exe"
Right click and click in properties and go to security tab and click in advanced button.
Click in owner tab and click edit and select administrators and click ok.
Click in permissions
Click in change permissions.
Choose administrators and click edit and put tick on full control and click ok.
Similarly, choose SYSTEM and edit and put tick on full control and click ok and click in other dialog box which are opened.
Now .dll files can be registered and error don't come, you should re-install any software whose dll files was not registered during installation.
I also had the similar problem while registering myinfo.dll file in windows 7. Following work for me:
Create a short cut on your desktop
C:\Windows\System32\regsvr32.exe c:\windows\system32\myinfo.dll
right click on the short cut just created and select as Run as administrator.

Error 1926 on setup created by InstallShield 2008

I'm compiling the setup with InstallShield 2008 - Professional and I have a problem that occurred only in some Win 7 Ultimate systems.
My setup is suppose (among others) to copy files to the "Program Files" & "System32" directories.
The problem occurred when the setup try to copy files to the "System32" directory.
The install shield raise this error message box:
"Error 1926. Could not set file security for file C:\Windows\system32\, Error: 0. Verify that you have sufficient privileges to modify the security permissions for this file. "
I run the setup "As Administrator", run it when logged on as the user administrator, and still get this error every time I ran the setup (UAC on and off).
As I wrote in the beginning this is only happens in some Windows 7 ultimate 32-bit system, on other system (xp, server 2003,vista,server 2008 including on most win 7 systems) it works fine.
Which type of project you are using Basic MSI or Installscript?
I think during file copy to the System32 folder, sometimes Installer will raise exception, because maybe the file already present with higher version and that file may in use by the O.S. Make sure that if files are not present then only copy else do not.

Resources