473,404 Members | 2,137 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

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

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

Nov 19 '05 #1
0 3074

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Brad | last post by:
Error when opening a solution with a web services project in it: "Unable to open the Web project 'myproj'. The file path 'c:\code\myservice' does not correspond to the URL...
5
by: Bas Hendriks | last post by:
Has anyone any idea how asp.net find it's files back after compiling them to the temporary asp.net directory? I found on numerous webpages that the directorynames are chosen random but cannot find...
0
by: Yogesh Pancholi | last post by:
For some unexplained reason, I am suddenly unable to browse to a virtual directory on my laptop. I have a number of sample websites to which I could happliy browse up until last week. As of Monday,...
0
by: sello | last post by:
A solution to many unresolved posts I've seen. Hope this helps... Background. I have a visual studio 2003 solution with several projects including one asp.net project. After moving things...
2
by: Michael | last post by:
Running DB2 v7 UDB ("DB2 v7.1.0.93", "n031208" and "WR21333") on Windows XP, I am unable to find out why the "Build for Debug" option within Stored Procedure Builder is not enabled on Java stored...
23
by: sandy | last post by:
I need (okay, I want) to make a dynamic array of my class 'Directory', within my class Directory (Can you already smell disaster?) Each Directory can have subdirectories so I thought to put these...
0
by: Buddy Home | last post by:
Hello, I'm trying to upload a file programatically and occasionally I get the following error message. Unable to write data to the transport connection: An established connection was aborted...
3
by: Buddy Home | last post by:
Hello, I'm trying to upload a file programatically and occasionally I get the following error message. Unable to write data to the transport connection: An established connection was aborted...
15
by: lxyone | last post by:
Using a flat file containing table names, fields, values whats the best way of creating html pages? I want control over the html pages ie 1. layout 2. what data to show 3. what controls to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.