472,983 Members | 2,619 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

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


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.SpecialFolde r.ApplicationData) +

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,


Jul 27 '06 #1
0 1037

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

Similar topics

by: Neil | last post by:
Folks, I've got a problem at work, and I'm hoping that someone out there may have had something similar (although I doubt it!) or may be able to offer some advice. I'm in the process of...
by: cmrchs | last post by:
Hi, I'm having problems using publisher policy in .NET 2.0. whereas I didn't in .NET 1.1 Scenario : I have a version3.0 component against which a client is compiled. Then creating version3.1...
by: Lucas | last post by:
Hi, I have an ASP.Net application written with VS.Net 2002 (Net FWK 1.0). This Web Application uses Exception Management Application Block to log Events to Windows Event Log. We registered the...
by: Jim Bob | last post by:
I have a mix environment where most of my user PC are not part of a domain. They use Term Serv & Citrix to do their work. I want to push som Group Policy settings to these non domaoin PCs. I...
by: Johnny Drama | last post by:
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: ...
by: HKSHK | last post by:
Hello, I have this problem: I wrote some DLLs with VB.Net 2003 which I use with my programs. But I want to avoid that I have to go down to "DLL hell" and to copy all used dlls into each program...
by: Noob | last post by:
They want me to: "Please research an AD setting that would allow us to have .net programs on a network drive but not have to run the caspol or gack commands, as we have done before" They run: ...
by: rrangaprasad | last post by:
i'm trying to create a 'kiosk' type of workstation, based on a particular login (where the desktop is pretty much locked and the user won't have access to run commands, change taskbar, etc). Now, the...
monirul arfin
by: monirul arfin | last post by:
Hi, I was just tried to turn off auto play flash drive , cd, dvd from group policy and I was tried to this way.... start > Run > gpedit.msc > Group Policy > Computer configuration >...
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

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.