Help with Isolated Storage path length

J

Jeff Connelly

I'm using IsolatedStorageFile.GetUserStoreForDomain(), and then using this
object to create IsolatedStorageFileStream. The problem is the path
generated is too long (it throws an exception). It insists on a max of 260
characters, even though it is eating over 200 of that with its crazy path.
The path includes the domain user name, so you don't even know how many
characters you might have. I'm trying to create file names that include a
Guid and they're too long. Anyone know a way around this *($*%(@!!!!
problem?
 
J

Jeff Connelly

Jeff Connelly said:
I'm using IsolatedStorageFile.GetUserStoreForDomain(), and then using this
object to create IsolatedStorageFileStream. The problem is the path
generated is too long (it throws an exception).

Specifically it is a System.IO.PathTooLongException, message text being "The
path is too long after being fully qualified. Make sure path is less than
260 characters."
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top