We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now

x

the ordinal 6648 could not be located in the dynamic link library MFC42.dll

johnhardy
johnhardy asked
on
Medium Priority
1,237 Views
Last Modified: 2007-12-19
When I try to open WS-FTP I am getting an error message
the ordinal 6648 could not be located in the dynamic link library MFC42.dll

This has just happened.
Yesterday I installed a trial version of some software from a site
www.netstudio.com

Some of the help links at netstudio.com are not working.

I thought perhaps this may be causing a problem so I decided to unistall it.
However I cannot see it as available for unistalling.

I cannot find netstudio within Program Files where I thought it was installed although
there are two icons there
Net Studio Easy Web Graphics.GID and
Unistall Net Studio easy Web Graphics

If I try to open Unistall Net Studio easy Web Graphics I get error message
the following file does not exist e\program files\uninstal.log

I cannot open Net Studio Easy Web Graphics.GID either

Can anyone please advise me how to unistall the program and get WS_FTP going again.

Many thanks

John
Comment
Watch Question

Commented:
If you are running Windows XP you could see if the installation of Net Studio
created a System Restore point, then it is easy to restore you computer to the
state it was before the installation of Net Studio.

Start->Run, Open: %SystemRoot%\system32\restore\rstrui.exe, OK

"Restore my computer to an earlier time", Next
In the calendar, select a system restore point from day that you installed Net Studio,
or a day or so earlier, next.

This does not mess with you files in "My Document" only Windows och Program Files

Author

Commented:
I did that and received ths message
System restore has been turned off.

**!!xxx!!

Commented:
ok, that is to bad...

Restart the computer and try downloading and installing a fresh copy of  Net Studio,
and check for a uninstall entry in "Add o Remove Programs" in control panel,
or a uninstall shortcut in the Start menu, under Programs, Netstudio or so.

MFC42.dll is a common Microsoft file used by many programs,
it is updated by Sp2 for Windows XP, try installing that (again)

Author

Commented:
A little good news is that I re installed the netstudio and this time it appeared for removing.
So thats done.

How is it best to reinstall MFC42.dll?
I have a windows XP disc which I think includes SP2 but knowing very little of installing the OS am a bit reluctant to start.
Are there instructions for this anywhere?

Thanks John

Commented:
download it
copy it to windows system32 folder


http://www.dll-files.com/dllindex/dll-files.shtml?mfc42

Author

Commented:
Thanks,
I downloaded the file mfc42.dll and replaced the original.
I tried to run ws-ftp but still am getting the same error message.

I did a search on my C: drive for this file and found 3

MCF42.DLL in C:\Program Files\NavNT          not replaced
mfc42.dll in C:\Wndows\system32  (which I have replaced)
mfc42.dll in C:\Windows\WinSxS\x83_Microsoft.Tools.VisualCPlusPlus etc etc           not replaced

I have also found one in e:\Program Files or more is still looking

Should I replace the other two.
I also notice the first file has it name in Uppercase, is this significant?

Many Thanks
John

Commented:
Try to register the file again using the command "regsvr32 MFC42.dll" in Start->Run.

I would not replace the MFC42.dll located in C:\Program Files\NavNT,
that could mess upp Norton AntiVirus and it should not affect WS-FTP

The file name in uppercase is not significant in Windows.

Start->Run, type in "winver" ok, the window will tell you what service pack version you have
(none, Sp1 or Sp2) my computer says "Version 5.1 (Build 2600.xxxxxx: Service Pack 2)

If you do not have Service Pack 2 use the shortcut on you Start Menu, Windows Update, to update.

Commented:
Confirm that by downloading and replacing the file, the file actually got replaced.  In other words, compare the date and filesize of the file you downloaded with what is in c:\windows\system32 and confirm they match exactly.

WFP (Windows File Protection) should prevent you from making changes to many protected system files, and I believe MFC42.dll is one of them.  You can boot in safe mode and change it, if you do discover that the two files don't match exactly.

Author

Commented:
Thanks
I notice that when ws-ftp fails to open it names the file in uppercase MFC42.DLL so does that make it likely that this is the faulty file?

Commented:
I think it is better that you let Microsofts utilitys put in a good version of the file.

either install Service Pack 2 or you could try the file checker utility,
Start->Run, "sfc /scannow" (requires XP CD)

or perhaps you have the installation media for WS-FTP,
and you could reinstall it?

Author

Commented:
Thanks,
Quote
"WFP (Windows File Protection) should prevent you from making changes to many protected system files, and I believe MFC42.dll is one of them.  You can boot in safe mode and change it, if you do discover that the two files don't match exactly."

I reckon your right here C:\WINDOWS\system32\mfc42.dll shows at 1.004KB
and the downloaded file is 919KB
In safe mode, do I copy the files and paste it into C:\WINDOWS\system32
John

Commented:
Yes.  Then reboot in normal mode and try again.

Author

Commented:
Seems like thats made it worse.

I now get errors from
monitor.exe
ppActiveDetection.exe
SideAct.exe
Act.exe
as well as WS-ftp
All comiing up with the error
The ordinal 6680 could not be located in the dynamic link library MFC42.DLL

Commented:
OK, so what is the version of MFC42.dll, both the one you downloaded and the one that was originally present?  It's found in Properties/Version tab.

6.2.4131.0 is what I'm running with a modern XPSP2 machine; I suspect that's what you should run also.

Author

Commented:
Thanks
The version I downloaded is 4.21.0.7160

The version I replaced is 6.2.4131.0
Where would I get th latest version again please?
Commented:
...

either install Service Pack 2 or you could try the file checker utility,
Start->Run, "sfc /scannow" (requires XP CD)

This utility will check that you have the correct version of system files,
and if not it will copy them from the XP CD

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Author

Commented:
Thanks the scannow run well and it replaced the down loaded MFC42.dll to the original one.

However I still cannot open ws_ftp, same message

I did check the winver and it is SP2

Commented:
http://support.ipswitch.com/kb/VT-20010816-DM01.htm

Delete the MFC file, then reinstall the application.  

Worth a quick try...

You'll probably have to delete the file from within safe mode, then reboot, then uninstall & reinstall the app.

Author

Commented:
Thank you very much for all your enormous help.

I eventually got all the problems sorted out although I now have all the connections to recreate.

The last comment helped me to put this one to bed but it was still a bit complicatedhaving to re install ws-ftp before I could uninstall to re inistall.

I had looked on the ipswitch search and never found the above link.

I will split the points.

Thanks so much again.

Regards

John
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.