Solved

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

Posted on 2008-06-18
8
314 Views
Last Modified: 2008-06-23
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
Comment
Question by:vision_staff
  • 4
  • 4
8 Comments
 
LVL 32

Expert Comment

by:r-k
ID: 21819299
Can you check with Dependency Walker?

Start -> Run -> depends.exe -> OK
File -> Open -> open the dll in question.
0
 

Author Comment

by:vision_staff
ID: 21819483
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
 

Author Comment

by:vision_staff
ID: 21819508
just an update, now i'm trying to install java runtime, maybe it's what missing.
0
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 
LVL 32

Accepted Solution

by:
r-k earned 500 total points
ID: 21819537
Possible there's something loaded at run-time. Check this page:

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

0
 

Author Comment

by:vision_staff
ID: 21819595
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
 
LVL 32

Expert Comment

by:r-k
ID: 21819690
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
 

Author Comment

by:vision_staff
ID: 21852623
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
 
LVL 32

Expert Comment

by:r-k
ID: 21852865
Thanks and good luck!
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article discusses the PaperPort 14 Scanner Connection Tool, which Nuance provides at no charge in order to fix scanning problems in Windows 8. Furthermore, users of PaperPort 14 in Windows 7 and Windows 10 have reported that the tool works in t…
PaperPort 14.5 Patch 1 update is often not detected or downloaded automatically. This article provides direct download links to solve the problem for retail (non-bundled) versions of the Standard and Professional editions, as well as the Professiona…
In this video, we show how to convert an image-only PDF file into a PDF Searchable Image file, that is, a file with both the image (typically from scanning) and text, which is created in an automated fashion with Optical Character Recognition (OCR) …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question