Jump to content

foukin2

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by foukin2

  1. Its a good thing that you can't see your sourcecode (you wouldn't want users to be able to right-click on your .asp page and steal all your source code), because that means you've got your IIS set up correctly. So, most likely the problem doesn't have anything to do with your IIS or your code, but its just that you aren't writing any text to the screen.However, its easier to diagnose problems with code when we can actually read it, so can you post the ASP script that you're trying to test?

    <%@ Language = "VBScript" %><% Option Explicit %><html><body><% Response.Write("Test")%></body></html>
  2. Go to your ASP page, right click and view source. If you can see the sourcecode that you typed, that means the server where your ASP page is sitting doesn't support ASP. The server is just processing the page as regular HTML, not as ASP. The reason why you get a blank page when it processes as HTML is because greaterthan / lessthan signs have a special meaning in HTML, and when you type "<% ... %>" the browser thinks you're trying to write an HTML tag that it can't understand, so it just doesn't format the tag at all (hence you get a blank page).
    I can't see my source code. How come? How to solve it?
×
×
  • Create New...