"Data is invalid" error while installing device drivers

Hello there,
                   I cannot install any driver in my system. Whenever I try to install any driver it gives me following error.

Cannot install hardware.
An error occurred during the installation of the device.
The Data is invalid.

This time I'm trying to install Lexmark 4300 series printer on my desktop computer and I know that driver is ok for XP as i installed it on my Laptop. I'm using Windows XP Home Edition 2002 with Service Pack2.

I know that there is thread in this site which tells you to replace your Driver.cab file for sorting this problem. I have replaced the Driver.cab file but its still giving me the same error.

Any help will be appreciated.

Regards
Shani G
ShaniGAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Mark BradyPrincipal Data EngineerCommented:
Have you tried the following....

Unplug the printer from the PC.

Go to control panel and open system/device manager.  Find the printer and remove the driver/delete.  

Connect printer to pc and reboot so windows finds it again.  
This time, don't install your lexmark driver but choose a generic driver from the list.  XP will have the standard lexxmark drivers.  

If the generic driver installs then test the printer and if ok, then reboot and make sure no errors.
If all good, then go back to device manager and change the driver for the printer to your latest lexmark.  This should let you once the printer has been working.

Hope this helps.

Elvin
ShaniGAuthor Commented:
Dear Elvin
               Than you for your post. I tried your solution, it installed the printer with windows Lexmark 4300 series driver but when i tried to print something it given me error "Communication not Available". I reboot the system, plugged-out and plugged-in both power and data cable but nothing happened.
Then I tried to update driver and again "USB Composite Device" wizard came on the screen and given me same "Data Invalid Message". My printer is actuall three-in-one printer with scanning, copying and printing facilities. When I tried to scan a test document it given me error "Scan was not successful" and I think because the driver is not working properly.

Is there any other solution in your mind?

Hope to hear soon from you

Regards
Shahan
ShaniGAuthor Commented:
I'm still not able to install Lexmark P4350 printer, Whenever I try to install any driver xp gives me same error.

Cannot install hardware.
An error occurred during the installation of the device.
The Data is invalid.

Any help will be appreciated

Regards
Shahan
10 Tips to Protect Your Business from Ransomware

Did you know that ransomware is the most widespread, destructive malware in the world today? It accounts for 39% of all security breaches, with ransomware gangsters projected to make $11.5B in profits from online extortion by 2019.

Mark BradyPrincipal Data EngineerCommented:
Here is a similar problem and a resolution.
http://www.experts-exchange.com/Hardware/Printers/Q_21663933.html

They suggest a repair install of xp and it worked.  Maybe you should do that.  You won't loose any data.
If you want one more option then boot into safe mode and delete the driver again.  then while in safe mode go into regedit and search for 'lexmark'.  Delete any key with lexmark in it or any line with lexmark.  Reboot normal and try one more time.
Does windows find the fax and scanner drivers ?

elvin

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Mark BradyPrincipal Data EngineerCommented:
This link might also be helpfull.  Better to have several options !

http://www.experts-exchange.com/Hardware/Q_20922959.html

elvin
ShaniGAuthor Commented:
Thanx for help Elvin. I reinstalled whole wondows and problem is sorted now.

Regards
Shahan
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows XP

From novice to tech pro — start learning today.