Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 321
  • Last Modified:

Windows Server 2003 - DLL file works on workstations but not server

Hi,

Summary:
A dll file is working on workstations (XP) but not on the server (Server 2003), why?

Full details:
I have this software developed by ProSolv and it reads measurement by performing an OCR scan on a DICOM (Medical standard format) image and read clinical measurements from the image.

For some reason, the DLL file is giving me an error message "import_image failed" on the server. I know it's the DLL file because the software has a debug feature and the error pops up as it calls and execute the DLL.

Strangely, on the workstations, my workstation and laptop, my colleagues workstation, the DLL file was executed just fine on the same image. I tested this using the exact same copy of the software. So the problem is most likely isolated to the server environment. The server's OS is Server 2003 standard edition SP1 and the workstations are using XP with all the latest service packs and patches.

At first, I thought it is .Net Framework, because it was a prerequisite of the software and I found it was not installed. However, I installed .Net Framework 2.0 and 1.1 as recommended but to no avail.

I tried to disassemble the dll file. All other DLL files that this DLL makes a reference to is available on the workstations and the servers. (at least from the Imported functions)

Anyone has any idea what other factor might have affected the execution of a DLL file? I really think it's the server environment, runtime or anything.

I'm currently awaiting a response from the developer, but while waiting if anyone has any idea that I can try out before they get back to me, that'd be great.

Cheers,
Dirga
0
vision_staff
Asked:
vision_staff
  • 4
  • 4
1 Solution
 
r-kCommented:
Can you check with Dependency Walker?

Start -> Run -> depends.exe -> OK
File -> Open -> open the dll in question.
0
 
vision_staffAuthor Commented:
Hi r-k

thanks for the response.
just tried it, it found one of the DLL is missing, msjava.dll.
I downloaded msjava.dll and registered it.
I restarted the application and it still giving me error message that the import failed.
0
 
vision_staffAuthor Commented:
just an update, now i'm trying to install java runtime, maybe it's what missing.
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
r-kCommented:
Possible there's something loaded at run-time. Check this page:

 http://www.dependencywalker.com/help/html/application_profiling.htm

0
 
vision_staffAuthor Commented:
no unfortunately java failed to help too.

The profiling seems like the way to go, but might take time.
I'll try it first thing tomorrow.

Thanks,
0
 
r-kCommented:
This is a bit of a long shot, but you could add your application to the list excluded from Data Execution Prevention checks.

Control Panel -> System -> Advanced -> Performance Settings -> Data Execution Prevention.

0
 
vision_staffAuthor Commented:
The boss has decided that this is a very low priority because it is working fine in the workstations anyway, we don't need it to be fully functional on the server.  But when we do get the time, we'll definitely run the profiling.

Thanks r-k
0
 
r-kCommented:
Thanks and good luck!
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 4
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now