Click here to Skip to main content
15,893,381 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\user5\AppData\Local\Temp\extract\xl\styles.xml
Posted
Comments
[no name] 20-Jul-12 7:29am    
And?

So, did you open Windows explorer, navigate along that path until you found that file? Does it exist? If so, can it be read by the user also under whose account the web server is running?
 
Share this answer
 
Comments
ravijain03 20-Jul-12 7:28am    
navigate to that path when i run my application after \temp\extract\xl\styles.xml create dynamically & through the error
ravijain03 20-Jul-12 7:35am    
I found that file C:\Users\user5\AppData\Local\Temp\extract\styles.xml but when run application path appeared as :C:\Users\user5\AppData\Local\Temp\extract\xl\styles.xml
This path is not valid and either of the folders before the file is missing.

Like: extract or xl in C:\Users\user5\AppData\Local\Temp\extract\xl\
Make sure it exists.
 
Share this answer
 
Comments
ravijain03 20-Jul-12 7:48am    
yes sandeep path valid upto C:\Users\user5\AppData\Local\Temp\extract but not found xl in that path. style.xml found at C:\Users\user5\AppData\Local\Temp\extract\style.xml

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900