Wednesday, September 9, 2009

fatal error C1093: API call 'ImportFile' failed '0x80070003' : ErrorMessage: The system cannot find the path specified.

If you encounter this error when compiling a c++ source, then you probably moved you're project from one computer to another and you're using precompiled headers. To fix this problem, simply delete the stdafx.obj in the Release or Debug folder of your project.

EDIT:

You can also solve this problem by going to the Build Menu > Clean Solution.

14 comments:

Anonymous said...

thank you . great advise

Anonymous said...

Excellent. Don't know how you figured it out, but kudos to you! Thanks!

Anonymous said...

Thanks, this saved me a headache!

Anonymous said...

Thanks for sharing that tip. Saved me a bunch of time.

Anonymous said...

thank you!!

Anonymous said...

thx realy help me

Abaya Code said...

Awesome! I am quoting you here:http://www.abayacode.com/2010/07/importfile-failed-0x80070003/

Thanks again for sharing this.

Anonymous said...

Gracias gracias... ya no entendia q habia hecho mal...

Godchild said...

Thanks man. Much appreciated. You possibly saved me about 3 hours. lol

Anonymous said...

And i'm another one saved by this advice! Biiiig thanks!

Anonymous said...

Build->Clean Solution

Ray said...

Thank u sooooooo much. Almost a day lost on this :)

Anonymous said...

Thank you so much. It was really helpful to me !

Anonymous said...

nicce ...
reaaly super... thank you..

Post a Comment