Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Unable to create the store directory.[The system cannot find the file specified. ]

Reply
Thread Tools

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

 
 
SampathTangudu
Guest
Posts: n/a
 
      01-28-2005
Hi,

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.User
| 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(
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.as 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\productpage.as px.cs:293
WeddingWarehouse.OrderedProductHashStorage..ctor() in
c:\inetpub\wwwroot\weddingwarehouse\productpage.as 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)
System.Web.UI.Control.LoadRecursive()
System.Web.UI.Control.LoadRecursive()
System.Web.UI.Control.LoadRecursive()
System.Web.UI.Page.ProcessRequestMain()




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

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
System.IO.IOException: Cannot create a file when that file already exists. Chad Crowder ASP .Net 7 10-24-2009 06:39 AM
Parser Error Message: Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. The system cannot find the file specified. hifiger2004 ASP .Net Web Controls 1 08-30-2007 04:12 PM
The system cannot find the file specified =?Utf-8?B?TWljaGFlbCBAIFNHTVM=?= ASP .Net 8 09-13-2005 09:39 PM
Unable to see machines on the ethernet; Unable to find printers =?Utf-8?B?Sm9obiBN?= Wireless Networking 1 06-07-2005 03:32 AM
httphandler url rewriting not working : The system cannot find the file specified. Brian ASP .Net 0 06-19-2004 07:23 AM



Advertisments