PC Review


Reply
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average.

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

 
 
Johnny Drama
Guest
Posts: n/a
 
      27th Jul 2006
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



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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
.NET can't perform I/O under odd Group Policy scenario? Johnny Drama Microsoft C# .NET 0 27th Jul 2006 02:15 PM
Today's Group Policy Webcast (Group Policy Processing) Mark Williams [MSFT] Microsoft Windows 2000 Group Policy 0 10th Nov 2004 07:46 PM
Next Group Policy webcast (Applying Group Policy) Mark Williams [MSFT] Microsoft Windows 2000 Group Policy 0 11th Oct 2004 04:43 PM
group policy editors + other resources of group policy information ... Akhlaq Khan Microsoft Windows 2000 Active Directory 0 24th Jul 2003 11:29 AM
group policy editors + other resources of group policy information ... Akhlaq Khan Microsoft Windows 2000 Group Policy 0 24th Jul 2003 11:29 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:01 AM.