FastCards Posted July 25, 2015 Posted July 25, 2015 We have a simple app running on IIS 7.5 under Win Server 2008. Single DLL. Has worked fine for months. Tried to install new version with some added features (which worked fine on development and test servers) When first called, it crashes IIS. Debug Diag shows that the dll (RRV2) is trying to create a temp file en0.tmp and this seems to be the cause. Any pointers or suggestions gladly received. (Old DLL was 9Mb, new one is 11Mb, could that have anything to do with it) [25/07/2015 21:15:34] \\?\D:\Websites\RRV\rrv2.dll loaded at 0x03b90000 C:\Windows\TEMP\en0.tmp loaded at 0x10000000 [25/07/2015 21:15:35] C:\Windows\TEMP\en0.tmp Unloaded from 0x10000000 Exception 0X0EEDFADE on thread 1484. DetailID = 1 [25/07/2015 21:15:36]
Administrators Farshad Mohajeri Posted July 26, 2015 Administrators Posted July 26, 2015 Are you using same unigui version to compile both old and new versions?
FastCards Posted July 26, 2015 Author Posted July 26, 2015 The file C:\Windows\TEMP\en0.tmp which is created when the DLL is first loaded by IIS turns out to be what looks like a freeimage DLL? Confused..
FastCards Posted July 26, 2015 Author Posted July 26, 2015 All fixed, temp file was a red herring. Problem was caused by missing DLL files msvcr100 and msvcp100. Lesson learned: check event viewer logs thoroughly!!
Administrators Farshad Mohajeri Posted July 28, 2015 Administrators Posted July 28, 2015 Thank you for update. It is an exception which occurs right before uniGUI dll can start handling it so it can not be handled by uniGUI. It is good to run the EXE version of your app on a new system to see if everything works.
FastCards Posted August 2, 2015 Author Posted August 2, 2015 Thanks for the tip Farshad, I didn't even consider running the EXE on the server, will do next time.... I learnt a lot whilst trying to track the problem down using tools from sysinternals.
Recommended Posts