scott.ferguson
New member
Hi,
I have created a WinForms app that needs to save a file to my hard
drive.
Whenever I try to save a file I recieve an "access to the path <my
path> is denied" error.
I have used the .Net configuration wizard to check the permissions
granted to my assembly. The wizard reports the assemble has
"unrestricted" rights.
I have tried to save to "My Documents", Desktop and the bin of the apps
directory with the same results.
I have checked the permissions on c drive and "Everyone" is set to full
access.
I have tried other applications and i have created a new application
and I recieve the same error message.
Something has changed as I used to be able to write to the c: drive
with no problems. I do not know what I have done to cause this.
I have found plenty of topics about this error for Asp.Net but not for
Windows Forms. I don't think the Asp.Net issue applies to me.
What do you think? Any ideas on whats going on?
I have created a WinForms app that needs to save a file to my hard
drive.
Whenever I try to save a file I recieve an "access to the path <my
path> is denied" error.
I have used the .Net configuration wizard to check the permissions
granted to my assembly. The wizard reports the assemble has
"unrestricted" rights.
I have tried to save to "My Documents", Desktop and the bin of the apps
directory with the same results.
I have checked the permissions on c drive and "Everyone" is set to full
access.
I have tried other applications and i have created a new application
and I recieve the same error message.
Something has changed as I used to be able to write to the c: drive
with no problems. I do not know what I have done to cause this.
I have found plenty of topics about this error for Asp.Net but not for
Windows Forms. I don't think the Asp.Net issue applies to me.
What do you think? Any ideas on whats going on?