ackl456456 Posted September 4, 2012 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> Link to comment Share on other sites More sharing options...
justsomeguy Posted September 4, 2012 Share Posted September 4, 2012 Maybe IIS doesn't have permission to write to that file. Link to comment Share on other sites More sharing options...
ackl456456 Posted September 4, 2012 Author 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?? Link to comment Share on other sites More sharing options...
ackl456456 Posted September 4, 2012 Author Share Posted September 4, 2012 it that Share??? Link to comment Share on other sites More sharing options...
justsomeguy Posted September 4, 2012 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 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now