Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. .NET (Core and Framework)
  4. Hash Storage Problem

Hash Storage Problem

Scheduled Pinned Locked Moved .NET (Core and Framework)
helpsysadmindata-structurescryptographydebugging
2 Posts 2 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    SusmithaC
    wrote on last edited by
    #1

    Hi All, Am creating a hash storage on the system using the following code. The following line actually creates the virtual directory with the guid name in the Documents and Settings/Administrators/LocalSettings/ApplicationData/IsolatedStorage directory... IsolatedStorageFile isoStore = IsolatedStorageFile.GetStore( IsolatedStorageScope.User | IsolatedStorageScope.Assembly, null, null ); Further, I create a hash.dat file in the above directory. This was working fine in the previous server. Currently, the server is changed and am facing this. Must have something to do with the system / machine settings. Have pasted the error below. Please help! Many thanks in advance, Susmitha. ERROR: Server Error in '/WeddingWarehouse' Application. -------------------------------------------------------------------------------- Unable to create the store directory.[The system cannot find the file specified. ] Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.IO.IsolatedStorage.IsolatedStorageException: Unable to create the store directory.[The system cannot find the file specified. ] Source Error: Line 291: private void LoadData() Line 292: { Line 293: IsolatedStorageFile isoStore = IsolatedStorageFile.GetStore( IsolatedStorageScope.User Line 294: | IsolatedStorageScope.Assembly |IsolatedStorageScope.Domain , null, null ); Line 295: if ( isoStore.GetFileNames( settingsFileName ).Length == 0 ) Source File: c:\inetpub\wwwroot\weddingwarehouse\productpage.aspx.cs Line: 293 Stack Trace: [IsolatedStorageException: Unable to create the store directory.[The system cannot find the file specified. ]] System.IO.IsolatedStorage.IsolatedStorageFile.nGetRootDir(IsolatedStorageScope scope) +0 System.IO.IsolatedStorage.IsolatedStorageFile.InitGlobalsNonRoaming(IsolatedStorageScope scope) +42 System.IO.IsolatedStorage.IsolatedStorageFile.GetRootDir(IsolatedStorageScope scope) +98 System.IO.IsolatedStorage.IsolatedStorageFile.GetGlobalFileIOPerm(IsolatedStorageScope scope) +208 System.IO.IsolatedStorage.IsolatedStorageFile.Init(IsolatedStorageScope scope) +37 System.IO.IsolatedStorage.IsolatedStorageFile.GetStore(IsolatedStorageScope s

    P 1 Reply Last reply
    0
    • S SusmithaC

      Hi All, Am creating a hash storage on the system using the following code. The following line actually creates the virtual directory with the guid name in the Documents and Settings/Administrators/LocalSettings/ApplicationData/IsolatedStorage directory... IsolatedStorageFile isoStore = IsolatedStorageFile.GetStore( IsolatedStorageScope.User | IsolatedStorageScope.Assembly, null, null ); Further, I create a hash.dat file in the above directory. This was working fine in the previous server. Currently, the server is changed and am facing this. Must have something to do with the system / machine settings. Have pasted the error below. Please help! Many thanks in advance, Susmitha. ERROR: Server Error in '/WeddingWarehouse' Application. -------------------------------------------------------------------------------- Unable to create the store directory.[The system cannot find the file specified. ] Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.IO.IsolatedStorage.IsolatedStorageException: Unable to create the store directory.[The system cannot find the file specified. ] Source Error: Line 291: private void LoadData() Line 292: { Line 293: IsolatedStorageFile isoStore = IsolatedStorageFile.GetStore( IsolatedStorageScope.User Line 294: | IsolatedStorageScope.Assembly |IsolatedStorageScope.Domain , null, null ); Line 295: if ( isoStore.GetFileNames( settingsFileName ).Length == 0 ) Source File: c:\inetpub\wwwroot\weddingwarehouse\productpage.aspx.cs Line: 293 Stack Trace: [IsolatedStorageException: Unable to create the store directory.[The system cannot find the file specified. ]] System.IO.IsolatedStorage.IsolatedStorageFile.nGetRootDir(IsolatedStorageScope scope) +0 System.IO.IsolatedStorage.IsolatedStorageFile.InitGlobalsNonRoaming(IsolatedStorageScope scope) +42 System.IO.IsolatedStorage.IsolatedStorageFile.GetRootDir(IsolatedStorageScope scope) +98 System.IO.IsolatedStorage.IsolatedStorageFile.GetGlobalFileIOPerm(IsolatedStorageScope scope) +208 System.IO.IsolatedStorage.IsolatedStorageFile.Init(IsolatedStorageScope scope) +37 System.IO.IsolatedStorage.IsolatedStorageFile.GetStore(IsolatedStorageScope s

      P Offline
      P Offline
      Philip Fitzsimons
      wrote on last edited by
      #2

      your problem is prob. related to permissions - applicatations don't get IsolatedStorage by default http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vbconsecurefiledataaccessinwindowsforms.asp[^]


      "When the only tool you have is a hammer, a sore thumb you will have."

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups