Solved

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

Posted on 2008-06-18
8
316 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

 
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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

The standard (non-Professional) edition of PaperPort (http://www.nuance.com/for-individuals/by-product/paperport/index.htm) from Nuance Communications (http://www.nuance.com/) (previously known as ScanSoft) is limited to five Scanning Profiles, but …
PaperPort is a popular document imaging/management product from Nuance Communications (http://www.nuance.com/). It is in widespread use by both individuals (http://www.nuance.com/for-individuals/by-product/paperport/index.htm) and businesses (http:/…
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) …
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…

749 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