Simple Question re: ASP.NET is not authorized to access the requested resource

M

Mike McCann

With the following code :

Line 72: 'Get a StreamReader class that can be used to read the file
Line 73: Dim objStreamWriter As StreamWriter
Line 74: objStreamWriter = File.AppendText(FILENAME)




I get :

Access to the path "c:\inetpub\wwwroot\CMM\Reports\Output.txt" is denied.

Can some one please direct me where I can find short concise info on setting
correct security settings

Thanks

Mike McCann
 
T

Tyro

go to iis

look at the report folder and set write permission on it

usually you want to write stuff in a folder that is not accessible via www
 

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

Members online

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,902
Latest member
Elena68X5

Latest Threads

Top