![]() |
IsolatedStorage with impersonation in ASP.NET problem
Hi,
I have an ASP.NET application. I want to use IsolatedStorage in this application. When I run this application with anonymous access set in IIS (user set to IUSR_<machine>) and impersonation set to false in web.config, IsolatedStorage works fine. But when I try to set impersonation to true via the web.config, calling IsolatedStorageFile.GetUserStoreForDomain() get me an IsolatedStorageException with this call stack: System.IO.IsolatedStorage.IsolatedStorageFile.nGet RootDir(IsolatedStorageScope scope) +0 System.IO.IsolatedStorage.IsolatedStorageFile.Init GlobalsNonRoaming(IsolatedStorageScope scope) +42 System.IO.IsolatedStorage.IsolatedStorageFile.GetR ootDir(IsolatedStorageScope scope) +98 System.IO.IsolatedStorage.IsolatedStorageFile.GetG lobalFileIOPerm(IsolatedStorageScope scope) +208 System.IO.IsolatedStorage.IsolatedStorageFile.Init (IsolatedStorageScope scope) +37 System.IO.IsolatedStorage.IsolatedStorageFile.GetS tore(IsolatedStorageScope scope, Type domainEvidenceType, Type assemblyEvidenceType) +66 System.IO.IsolatedStorage.IsolatedStorageFile.GetU serStoreForDomain() +12 and tells me that storage directory cannot be created (System could not find specified file). Does anybody know what's wrong, or how to use IsolatedStorage with impersonation in ASP.NET? Thanks Zdenek Drlik |
| All times are GMT. The time now is 04:27 PM. |
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.