Apache 2.2 does not load custom module - c++

i build an custom apache module mod_spnego using visual studio 2015 and c++ sources, using apache 2.2.31 libs (apr, apr_util) and header files on testing machine. I loaded that module successfully in that apache 2.2.31 on testing machine, but after migrating module on production machine, it fails to load and apache 2.2.31 on that machine throws misleading error "The specified module cannot be found"
I believe, that underlying error is with some missing os .lib, or incompatible os lib, because apache 2.2.31 libs on production machine are the same as on testing machine.
One difference during compile was necessisty to add wss2tcip.header file. Linker then linked ws2_32.lib, but this library is not on production machine
I am really new to c++. Please help me find out the reason why apache on production machine does not load module.

I solved that issue. Production machine missed vc15 redistributables. After installing vc15, module loaded ok

Related

Amazon aws missing dlls (MSVCP140, VCRUNTIME140, CONCRT140)

I made an web server app, that should reside on amazon aws vitual machine with win10.
When i trying execute this app, it says that it missing dlls (MSVCP140, VCRUNTIME140, CONCRT140)
In the app i use cpprestsdk, cryptocpp, opencv.
I try to install various visual C++ redistributables, but its not gave the result.
Downloaded this dlls separately and put it into system32 foled ,but either no result.
When i put dlls in app folder it gave me the error that app was unable to start correctly (0xc0000007b).
Tryed to execute app builded with /MT flag (it actually dont remove all the dlls) and problem is still there
Amazon instance type is t2.micro

How to specify remote header files and libraries during remote development of C/C++ in Netbeans?

I am developing a C++ application using Netbeans remote development platform. I don't know how to specify the libraries that are on the remote server, in my local Netbeans IDE. If I go through the normal procedure of specifying them in the project properties, I am getting only the local files and not remote files. please help.
It's the first time that I heard such a "requirement". Why should you want to access files over the internet during development? Why don't you install the needed libraries on your local machine, develop your software and then build a proper installer with all the needed files?

Team Foundation Server Deployment error

I have setup my own Team Foundation Build server and I am using Visual Studio Online to host my project online. I have a django project which I am trying to deploy on windows azure cloud service. The project can be published from my dev machine without any errors however when the build server tries to build it, it gives the following error during uploading the package:
Exception Message: Could not load file or assembly 'Microsoft.WindowsAzure.Storage, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. (type FileNotFoundException)
I checked in .pyproj and found a reference to Microsoft.WindowsAzure.Storage but there the version is 2.1.0.0 and that is the version that is installed on the server as well.
Also there are no errors during the build process but only during the deployment stage. How do I make Msbuild use Storage version 2.1.0.0 instead of 2.0.0.0 . Also, which SDK version contains Storage version 2.0.0.0
I just had this problem. This is the same problem as TFS Build Controller : "Could not load file or assembly 'Microsoft.WindowsAzure.StorageClient, Version=1.7.0.0".
You'll need to copy Microsoft.WindowsAzure.Storage.dll version 2.0.0.0 to "C:\Program Files\Microsoft Team Foundation Server 12.0\Tools", and then restart the Visual Studio Team Foundation Build Service Host 2013 service.

CFX_ImageCR3 | Unable to Load Library on Windows Server 2008 R2 64-Bit running ColdFusion 10 64 Bit

We are attempting to migrate our old web server to a new web server. We are trying to install Effalre's CFX_ImageCR3 tag on our Windows Server 2008 R2 64 Bit server running ColdFusion 10 64-Bit.
We've installed the latest setup file from Efflare's website and have registered the CFX C++ Tag in the ColdFusion administrator just as the documentation describes, but when the code that uses the CFX_ImageCR3 tag executes, it says "Unable to load library."
After searching Google, one person recommended we run Dependency Walker to see what DLL's were missing. On the new server, it says the following 'delay-load dependency module was not found'
- GPSVC.DLL
- IESHIMS.DLL
- MF.DLL
- MFPLAT.DLL
- MFREADWRITE.DLL
- WLANAPI.DLL
For comparison, I ran the same program on the old server on which that CFX tag is working. It reported that GPSVC.DLL and IESHIMS.DLL could not load, but the other ones could.
Both of the servers are running the same Operation Systems and the only difference is Cold Fusion 10. Is it possible that I'm just missing some DLLs on the new server? Could it be that it is not compatible with ColdFusion 10 64-Bit? Can you load 32-bit DLL CFX C++ tags on a 64-bit install of CF?
Any help is greatly appreciated.
Thanks
Solution found. It appears that the C++ CFX tax is 32 bit and is compatible with ColdFusion 64-bit version. Effalre currently has a beta installer on their VIP download site, cfx_imagecr_3_service_beta_081030.exe, which is the Java tag.
This was a bit tricky to figure out at first, but once you install the beta make sure you follow these steps:
Install the beta installer to C:\efflare\ (Do not install to C:\Program Files (x86)!)
Start the windows service 'Efflare ImageCR 3 Service'
Open the CF Administrator then goto Java and JVM, in the ColdFusion Class Path add: {applicatino.home}/wwwroot/WEB-INF/lib,C:/Efflare/imagecr3.jar
Restart ColdFusion
NOTE: The class path if for the default ColdFusion 10 install. The first path must point to the directory where you have a cfx.jar file. If you get the error -java.lang.NoClassDefFoundError Exception com/allaire/cfx/CustomTag it is because the class path is not pointing to where the cfx.jar file is located at.

vs 2008 deployment project not working

I have a C++ console application that I want to deploy using a vs2008 setup project. When I create the setup project and add the output from my console app, the setup project detects that it needs MSVCP90.dll and MSVCR90.dll. When I build the project, those two dlls are included in the .msi file as expected.
When I download and launch the installer, everything goes as expected and the console app and the dlls are unpacked into the proper directory on the local machine.
When I try and run the app, I get the following error:
Error 1721. There is a problem with
this Windows Installer package. A
program required for this install to
complete could not be run. Contact
your support personnel or package
vendor.
I've tried compiling the app with /MT and /MD neither one works.
When I run a dependency walker against the app, it reports that it needs MSVCP90.dll and MSVCR90.dll as expected.
Finally, if I set the installer to require the Visual C++ runtime libraries, it downloads them and everything works fine.
Obviously, I would like to avoid downloading the CRT libraries.
Thanks for any help,
Jon
Check out this example on how to add the appropriate merge modules and deploy them to your target machine along with your setup.