Jump to content

Unbelivable. why still like thatT,T


ackl456456

Recommended Posts

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>

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...