By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,948 Members | 1,595 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,948 IT Pros & Developers. It's quick & easy.

Very easy question about writing to files

P: n/a
Hi all,

I am trying to do something incredibly simple, but unforunately the
Naziesque Security won't let me do it. All I want to do is write text to a
file. That's it! But everytime I do I keep getting an error that says
Access is Denied to that path, regardless of which path I choose.

So I did some searchin on the net and the solution seems to be simply to
write click on the file or folder select security and makes sure that .Net
has rights to it.

Piece of cake, huh? Except for this little snag ....

When I right click on either a file or folder there is NO SECURITY TAB!!!!!
The best I can do is to write click on a folder and select sharing. Then I
have two options Local Sharing or Network Sharing. Neither says anything
about ASP.Net or allowing write rights.

So my question is ...
1) Why is my version of Windows XP Pro different than everyone elses?

2) How do I make the security happy so I can actually write files.
Thanks

Dan
Nov 18 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
I'm not 100% sure, but I think you might have simple file sharing enabled.

http://support.microsoft.com/default...b;EN-US;307874

"Dano" <dt*********@rogers.com> wrote in message
news:Hv******************@twister01.bloor.is.net.c able.rogers.com...
Hi all,

I am trying to do something incredibly simple, but unforunately the
Naziesque Security won't let me do it. All I want to do is write text to a file. That's it! But everytime I do I keep getting an error that says
Access is Denied to that path, regardless of which path I choose.

So I did some searchin on the net and the solution seems to be simply to
write click on the file or folder select security and makes sure that .Net
has rights to it.

Piece of cake, huh? Except for this little snag ....

When I right click on either a file or folder there is NO SECURITY TAB!!!!! The best I can do is to write click on a folder and select sharing. Then I have two options Local Sharing or Network Sharing. Neither says anything
about ASP.Net or allowing write rights.

So my question is ...
1) Why is my version of Windows XP Pro different than everyone elses?

2) How do I make the security happy so I can actually write files.
Thanks

Dan

Nov 18 '05 #2

P: n/a
You're the MAN! That was the problem! Thank you so much!!!!!!

Dano

"Andy Gaskell" <pubb AT hotmail DOT com> wrote in message
news:uI**************@TK2MSFTNGP12.phx.gbl...
I'm not 100% sure, but I think you might have simple file sharing enabled.

http://support.microsoft.com/default...b;EN-US;307874

"Dano" <dt*********@rogers.com> wrote in message
news:Hv******************@twister01.bloor.is.net.c able.rogers.com...
Hi all,

I am trying to do something incredibly simple, but unforunately the
Naziesque Security won't let me do it. All I want to do is write text to
a
file. That's it! But everytime I do I keep getting an error that says
Access is Denied to that path, regardless of which path I choose.

So I did some searchin on the net and the solution seems to be simply to
write click on the file or folder select security and makes sure that
..Net has rights to it.

Piece of cake, huh? Except for this little snag ....

When I right click on either a file or folder there is NO SECURITY

TAB!!!!!
The best I can do is to write click on a folder and select sharing. Then I
have two options Local Sharing or Network Sharing. Neither says

anything about ASP.Net or allowing write rights.

So my question is ...
1) Why is my version of Windows XP Pro different than everyone elses?

2) How do I make the security happy so I can actually write files.
Thanks

Dan


Nov 18 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.