ackl456456 0 Posted September 5, 2012 Report Share Posted September 5, 2012 Why?i set permission ady. security even advanced [An error occurred on the server when processing the URL. Please contact the system administrator.If you are the system administrator please click here to find out more about this error.] <html> <head><title>Reading from 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 is fun!" Set f = fso.OpenTextFile(filespec,1)Response.write f.ReadLine f.Close%> </body></html> Quote Link to post Share on other sites
justsomeguy 1,135 Posted September 5, 2012 Report Share Posted September 5, 2012 You should set up IIS to display error message in the browser while you're testing, there's an article here about it: http://www.iis.net/learn/application-frameworks/running-classic-asp-applications-on-iis-7-and-iis-8/classic-asp-script-error-messages-no-longer-shown-in-web-browser-by-default 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.