twain_32.dll issue with vb6 application

Hi all,

Hopefully I'm posting this in the correct place.

A client has got a new Windows Server 2012 and they use a 32-bit VB6 application which makes a call to the twain_32.dll file. When it does, the error "Error 48 file not found" appears, suggesting a issue with the twain_32.dll file.  The DLL file (version 1.7.1.3) is present in the following folders:

C:\Windows\

C:\Windows\SysWOW64\

C:\Windows\

This is acting as a terminal server also, and the file is also present in the Windows folder under the users homedrive (H:\Windows)

It's not possible to register the file.

The Windows Desktop Experience feature has been enabled and the server rebooted, but still the error occurs.

I work for a company with many many clients running in this environment without the same error, so it must be an environment issue, but I'm unable to figure this out.

Does anybody have any suggestions at all?  Your thanks in advance.

Regards

Steve

April 27th, 2015 1:37pm

Hi,

According to your description, my understanding is that the 32-bit VB6 application (on Windows Server 2012) gets error "Error 48 file not found" when making a call to the twain_32.dll file.

Your question is mainly about the VB6 application. I recommend you to contact the application vendor/support for official support about this problem.

Best Regards,
Eve Wang

Free Windows Admin Tool Kit Click here and download it now
April 28th, 2015 7:26am

Hi. Thank you for the reply, but I work for the vendor and we have exhausted all software possibilities here.  This isn't an application issue as we have 1000s of users working in this same environment with no issue. It is only this particular client's terminal server that has the issue.  It therefore to me points to being an issue with Windows Server 2012.  I've found loads of forums online reporting a very similar issue on Windows Server 2008 R2 and the fix for that was to install/enable the Windows Desktop Experience feature.  But in this isntance, this has not worked :(

April 28th, 2015 8:01am

Hi,

Does this problem only happens on Windows Server 2012? Or a specific device running Windows Server 2012?

Is Twain_32.dll the component of TWAIN(reference: https://support.microsoft.com/en-us/kb/198263)?
If it is the case, you may reference link below about PUB98: How to Reinstall Scanner Software
https://support.microsoft.com/en-us/kb/kbview/179368

The error is prompt when the application loading specific DLL, I am not official on the application and also not sure how it works. My suggestion to you is to confirm that there is no problem about related system files(try sfc /scannow or DISM.exe to scan and repair corrupt system files). if re-install related files and the problem still exits, repair/clean install would be worth a try.

Best Regards,
Eve Wang

Free Windows Admin Tool Kit Click here and download it now
April 29th, 2015 10:54pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics