ackl456456 0 Posted September 4, 2012 Report Share Posted September 4, 2012 Hey guys.i got a little problem here. Anyone Error at this test?why i can't Open it by IIS?<html> <head><title>Writing form a text files</title></head><body> <%Dim fso, f, filespec Set fso = CreateObject("Scripting.FileSystemObject")filespec = Server.Mappath("/tutorials/asp/textfile.txt")Set f= fso.OpenTextFile(filespec,2) f.WriteLine("VBscript and ASP are fun!") f.close %></body></html> Quote Link to post Share on other sites
justsomeguy 1,135 Posted September 4, 2012 Report Share Posted September 4, 2012 Maybe IIS doesn't have permission to write to that file. Quote Link to post Share on other sites
ackl456456 0 Posted September 4, 2012 Author Report Share Posted September 4, 2012 oo.Yeah.At the frist Tq "JustSomeGuy" Sir Now i was using administrator.Still wan to Set?? Set from the folder/properties?? Quote Link to post Share on other sites
ackl456456 0 Posted September 4, 2012 Author Report Share Posted September 4, 2012 it that Share??? Quote Link to post Share on other sites
justsomeguy 1,135 Posted September 4, 2012 Report Share Posted September 4, 2012 It's the security tab, and the user account for IIS typically starts with IUSR. http://www.google.com/search?client=opera&rls=en&q=set+permissions+for+iis Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.