473,382 Members | 1,665 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

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

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.SpecialFolde r.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

Jul 27 '06 #1
0 1053

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

Similar topics

1
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...
1
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...
7
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...
3
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...
0
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: ...
27
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...
4
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: ...
1
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...
3
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 >...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.