.NET can't perform I/O under odd Group Policy scenario?

Discussion in 'Microsoft Dot NET' started by Johnny Drama, Jul 27, 2006.

  1. Johnny Drama

    Johnny Drama Guest

    Hi,

    My WinForms-based application occasionally reads/writes data from/to the
    user's profile directory. I use the following logic to determine where the
    user's profile directory is located:

    Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) +
    @"MyAppName\MyDataFile.dat"

    If the child folder "MyAppName" doesn't exist, it is created first.

    This logic has worked well for many months and many users. A few days
    ago we received a tech support call from a user claiming that my app was
    crashing on startup. We determined that the error took place when attempting
    to access the data file above.

    What makes this particular user unique is that his corporation is using
    Group Policy based "file redirection" to send all files in the user's
    profile directory to a centralized server. I don't know anything about Group
    Policy or "file redirection," but apparently this is all supposed to happen
    transparently to the calling program.

    When this group policy setting is disabled on his machine, my
    application works properly. The user claims that my application is the only
    one that exhibits the problem. My app is also happens to be the only .NET
    application he's using.

    Any recommendations? Any known-issues with writing files to the user's
    profile folder with this Group Policy setting enabled?

    Thanks bro,

    Johnny
     
    Johnny Drama, Jul 27, 2006
    #1
    1. Advertisements

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. Guest

    Validation on web page - Either Or scenario

    Guest, Nov 15, 2004, in forum: Microsoft Dot NET
    Replies:
    0
    Views:
    206
    Guest
    Nov 15, 2004
  2. Gustavo L. Fabro

    Odd error under VS2005 - 2GB ProjectAssemblies directory related

    Gustavo L. Fabro, Jun 8, 2005, in forum: Microsoft Dot NET
    Replies:
    2
    Views:
    922
    Boris Jabes [MSFT]
    Jun 16, 2005
  3. DKode

    App Deployment scenario

    DKode, Sep 28, 2005, in forum: Microsoft Dot NET
    Replies:
    2
    Views:
    140
    DKode
    Sep 29, 2005
  4. Guest
    Replies:
    1
    Views:
    144
    Guest
    Oct 25, 2005
  5. DKode

    Multiple Inheritance scenario

    DKode, Nov 29, 2005, in forum: Microsoft Dot NET
    Replies:
    6
    Views:
    223
    DKode
    Dec 1, 2005
Loading...

Share This Page