Click here to Skip to main content
14,601,204 members
Rate this:
Please Sign up or sign in to vote.
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?
Rate this:
Please Sign up or sign in to vote.

Solution 1

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?
   
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
Rate this:
Please Sign up or sign in to vote.

Solution 2

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.
   
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, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100