ASP - Permission denied

juliandog

New Member
before I start, I'm a PHP programmer, not an ASP programmer, but at my job, they use ASP and I don't have acces to the server, but I can contact the person in charge.I'm working on an ASP function for work and I alway hit this "Permission denied" error. I made some search and I found that the account need permission to run the script. It's maybe just me, but I don't understand that ASP check the user before run a script, I mean, it's a public website, obviously they will not have acces if I don't.Can I change the file so anyone can run it ?EDIT : My script is trying to edit a file on the server\[code\]dim fs,fset fs=Server.CreateObject("Scripting.FileSystemObject")set f=fs.OpenTextFile(Server.MapPath("test.txt"),8,true)f.WriteLine("This text will be added to the end of file")f.Closeset f=Nothingset fs=Nothing\[/code\]Thanks
 
Back
Top