Problem with Win7

J

Joe Cool

I first did my .NET development on an XP system. Last year I got a new
laptop and it came with Vista and briefly did .NET development on it.
A few months later, I got VMWare Workstation and I now do all of
my .NET development on a Windows 7 VM.

A few of the applications I wrote for personal use keep an XML
configuration file in the application's startup path. But I found that
with Windows 7, even logged into an administrator account, those
applications did not have permission to update those files.

Any ideas why?
 
J

Jeff Gaines

A few of the applications I wrote for personal use keep an XML
configuration file in the application's startup path. But I found that
with Windows 7, even logged into an administrator account, those
applications did not have permission to update those files.

Any ideas why?

Because that's not where configuration files should be kept. MSFT enforced
the rule with Vista, and continue to enforce it with Win 7.
 
J

Joe Cool

Because that's not where configuration files should be kept. MSFT enforced
the rule with Vista, and continue to enforce it with Win 7.

Like I said, I didn't have this problem with Vista, it only appeared
when I started using Win7.

And, yes, I know these files should have been in the ApplicationData
folder, which is where I am moving them to. I was just wondering why
Microsoft appeared to suddenly not even let you store them there.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top