Solved

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

Posted on 2008-06-18
8
313 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
 
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
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This video Micro Tutorial is the first in a two-part series that shows how to create and use custom scanning profiles in Nuance's PaperPort 14.5 (http://www.experts-exchange.com/articles/17490/). But the ability to create custom scanning profiles al…
This video Micro Tutorial is the second in a two-part series that shows how to create and use custom scanning profiles in Nuance's PaperPort 14.5 (http://www.experts-exchange.com/articles/17490/). But the ability to create custom scanning profiles a…

747 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now