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

Discussion in 'ASP .Net' started by SampathTangudu, Jan 28, 2005.

  1. 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()




    --------------------------------------------------------------------------------
    Version Information: Microsoft .NET Framework Version:1.1.4322.573;
    ASP.NET Version:1.1.4322.573
     
    SampathTangudu, Jan 28, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Brian
    Replies:
    0
    Views:
    1,793
    Brian
    Jun 19, 2004
  2. =?Utf-8?B?TWljaGFlbCBAIFNHTVM=?=

    The system cannot find the file specified

    =?Utf-8?B?TWljaGFlbCBAIFNHTVM=?=, Sep 13, 2005, in forum: ASP .Net
    Replies:
    8
    Views:
    4,270
    =?Utf-8?B?TWljaGFlbCBAIFNHTVM=?=
    Sep 13, 2005
  3. chanmm
    Replies:
    6
    Views:
    35,508
    Damien
    Nov 25, 2005
  4. Steven Cheng[MSFT]
    Replies:
    4
    Views:
    4,846
    Steven Cheng[MSFT]
    Jan 12, 2006
  5. =?Utf-8?B?TXVydGF6YQ==?=

    RE: Error: "The system cannot find the file specified"

    =?Utf-8?B?TXVydGF6YQ==?=, Jul 24, 2006, in forum: ASP .Net
    Replies:
    2
    Views:
    5,988
    =?Utf-8?B?TXVydGF6YQ==?=
    Jul 25, 2006
Loading...

Share This Page