473,545 Members | 1,878 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

.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.Get FolderPath(Envi ronment.Special Folder.Applicat ionData) +
@"MyAppName\MyD ataFile.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 1061

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

Similar topics

1
1906
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 designing a system that interacts with a third party external firm. Basically, they will send us an XML document (the quote request) via SOAP that...
1
1674
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 component and the policy-file. (The policy-file states a binding-redirect from 3.0 to 3.1.)
7
3917
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 Exception Management Application Block using installutil. Our Application uses impersonation and used to work fine on Windows 2000 Server. Now we...
3
2696
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 would like to do some tasks done in gpedit.msc through vb.net. Is this possible? Is there a namespace for this? jwc
0
892
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: Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + @"MyAppName\MyDataFile.dat" If the child folder "MyAppName" doesn't exist, it...
27
1817
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 directory. Does anyone have an idea how I can avoid that? Thanks in advance!
4
1364
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: "CALL "%systemroot%\microsoft.net\framework \v1.1.4322\caspol.exe" -pp off -machine -ag LocalIntranet_Zone -url file:k:/* FullTrust -name...
1
8548
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 OS of this syetsm is WIndows Server 2003. I'm trying to achieve this using LOCAL Group Policy Editor (i'm not worried abt domain right now). Now,...
3
4003
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 > Administrative template > System (double click) > Turn off Auto play (double click) > Enabled (Select) > Turn off Auto play > all drive (Select) > Apply...
0
7416
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7676
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7932
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7442
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7776
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5347
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
4965
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3473
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
1032
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.