By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,812 Members | 1,324 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,812 IT Pros & Developers. It's quick & easy.

Unable to create the store directory.[The system cannot find the file specified. ]

P: n/a

We are trying to use the Hash Tables for passing information from one aspx
page to another aspx page. We are using the below code.

IsolatedStorageFile isoStore = IsolatedStorageFile.GetStore(
| IsolatedStorageScope.Assembly |IsolatedStorageScope.Domain , null, null

This code has worked properly on one web server but this is not working on
another web server. Can you help us in resolving this error. Below is the
total error message thrown on the screen.

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(
Line 294: | IsolatedStorageScope.Assembly |IsolatedStorageScope.Domain
, null, null );
Line 295: if ( isoStore.GetFileNames( settingsFileName ).Length == 0 )
Source File: c:\inetpub\wwwroot\weddingwarehouse\ px.cs
Line: 293

Stack Trace:
[IsolatedStorageException: Unable to create the store directory.[The
system cannot find the file specified.

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
WeddingWarehouse.OrderedProductHashStorage.LoadDat a() in
c:\inetpub\wwwroot\weddingwarehouse\ px.cs:293
WeddingWarehouse.OrderedProductHashStorage..ctor() in
c:\inetpub\wwwroot\weddingwarehouse\ px.cs:273
WeddingWarehouse.Controls.Catalog.ProductDetail.Pa ge_Load(Object
sender, EventArgs e) in
c:\inetpub\wwwroot\weddingwarehouse\controls\catal og\productdetail.ascx.cs:98
System.Web.UI.Control.OnLoad(EventArgs e)

Version Information: Microsoft .NET Framework Version:1.1.4322.573;
ASP.NET Version:1.1.4322.573

Nov 19 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.