Delphi Rio application doesn't start on Windows 2003 Server (Missing d2d1.dll) - windows

Since the Delphi Rio 10.3.3 update (before: Delphi Seattle) my application has not been started on a Windows 2003 server.
Error message like: The application could not be started because d2d1.dll was not found. Reinstalling the application can fix the problem.
I have copied the file d2d1.dll from my PC to the Windows 2003 Server. The following error message appears: The application or DLL d2d1.dll is not a valid Windows file. Check this with the installation chain.
Then I tried to register the DLL via CMD as follows: regscr32 / i d2d1.dll
Error message: d2d1.dll is not an executable file and is not a registration tool that is registered for this file type.
Any ideas? (I know that Windows 2003 Server is very old and nasty but I need any solution)
EDIT: A simple Hello World Application works.

Related

vb6 Windows Service Issue

I have a vb6 Windows Service which i am trying to migrate it to 2008 from 2003 server and getting the below error,
"Windows could not start the Service-03 service on Local Computer.
Error 1053: The service did not respond to the start or control request in a timely fashion."
Is that i have to install anything to run vb6 windows service applications on windows server 2008 ?
If you start the executable directly by doubleclicking the EXE (bypassing the Windows service handling) you will get popups if there's some ressources missing.
There can be many reasons for this, your service should hace a log where you can investigate further.
Take a look at windows events, there could be more information about the problem.

Console Application Error on Windows 2012 server R2 standard application

I have created a console application in visual studio 2013 on windows server 2012 standard version and the exe file seems to run ok but when I copy it to the windows server 2012 R2 standard version it come up with the following error when I try to run it - Application erro - The application was unable to start correctly (0xc000007b). Click ok to close the aplication. Can anyone help me fix this issue?
It's look like your 32-bit application tried to load some 64-bit "dll".
Try to check by Dependency Walker

Visual FoxPro (9.0) issue on Microsoft Windows Server 2003 R2

We have been running a Visual FoxPro (version 9) application on a Server under Microsoft Windows Server 2003 Operating system for a number of years now. We are now trying to migrate it to a different Server running under Microsoft Windows Server 2003 R2 and the application crashes. The problem occurs when it is trying to create HTML files from the FoxPro reports it has just created. To do this is uses the system variable _ReportOutput and aborts with the message “ox is not an object”. The application resides on the Network in a directory accessible to both Servers. Since hitting this problem I have changed the program to use the Htmllistener class within _ReportListener and get the same problem (works on one not on the other (R2)). Wait windows have been inserted to gain additional information but they only show that the object has not been created returning a data type of .Logical. It appears to me the problem is with the R2 version of the operating system, has anybody any ideas.
Have you installed ReportOutput.APP in the same folder as the application?

"The specified module could not be found" asp.net mvc app on IIS 7, windows server 2008

We have an ASP.NET MVC application working on a 32bit Windows Server 2003 with IIS 6.
After deploying it on a 64bit Windows Server 2008 R2 with IIS 7.5 it stopped working. We get the following error:
"Could not load file or assembly '###.dll' or one of its dependencies. The specified module could not be found"
The dll is a 3rd party dll, and we can not re-compile it.
We tried putting it in every possible directory but nothing helped. It appears in the Fusion log and the last line of this files log contains "IL assembly loaded from C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary .....".
The application pool runs in Integrated mode and "Enable 32-bit applications" is set to True.
Any help would be appreciated.
Thank you,
Katie D.
Do you have MVC3 installed? It is a separate install.
Maybe check your 3rd party dll with a tool like reflector to see what it relies on.

Deploying Datasnap Service

Using C++ Builder under Rad Studio XE I have created a simple Datasnap server service from scratch. I wanted to test the service installation process before adding any functionality, and found that while it will install successfully on a range of Windows machines, I haven't been able to get it to Start under a clean installation of Windows 7 x64.
The error message trying to start the service is: Windows could not start the service on Local Computer. Error 2: The system cannot find the specified file.
I have turned off both dynamic linking and run-time libraries. It starts fine under Windows XP and 2003 operating systems, just not this single Win7 machine that I have. I have opened the firewall for the specified ports, and confirmed no other app is using them as well. The service was installed under Administrator, and logs on as Local System account.
Is there a problem with a C++ Builder compiled service under Windows 7, or maybe 64 bit? Hopefully someone can point me in the right direction so I don't have to bang my head against the wall too many more time.
Thanks!
Since C++ Builder creates 32bit applications only, make sure you install the service in the c:\Windows\SysWOW64 folder on 64bit Win7 systems. Windows 7 x64 expects to find only 64bit files/services in the system32 folder.

Resources