S
SampathTangudu
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.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
scope, Type domainEvidenceType, Type assemblyEvidenceType) +66
WeddingWarehouse.OrderedProductHashStorage.LoadData() in
c:\inetpub\wwwroot\weddingwarehouse\productpage.aspx.cs:293
WeddingWarehouse.OrderedProductHashStorage..ctor() in
c:\inetpub\wwwroot\weddingwarehouse\productpage.aspx.cs:273
WeddingWarehouse.Controls.Catalog.ProductDetail.Page_Load(Object
sender, EventArgs e) in
c:\inetpub\wwwroot\weddingwarehouse\controls\catalog\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()
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.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
scope, Type domainEvidenceType, Type assemblyEvidenceType) +66
WeddingWarehouse.OrderedProductHashStorage.LoadData() in
c:\inetpub\wwwroot\weddingwarehouse\productpage.aspx.cs:293
WeddingWarehouse.OrderedProductHashStorage..ctor() in
c:\inetpub\wwwroot\weddingwarehouse\productpage.aspx.cs:273
WeddingWarehouse.Controls.Catalog.ProductDetail.Page_Load(Object
sender, EventArgs e) in
c:\inetpub\wwwroot\weddingwarehouse\controls\catalog\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()