ASP interview questions

  1. What is wrong with Request.ServerVariables(”HTTP_REFERER”)?
  2. Why do I get 80020003 errors?
  3. How do I perform a Whois / DNS lookup from ASP?
  4. Why can’t I turn buffering off using Response.Buffer?
  5. Why do I get ‘HTTP/1.0 Invalid Application Name’ errors?
  6. Why can’t I use #EXEC in an ASP page?
  7. Why won’t QueryString values work with Server.Execute?
  8. How do I disable the back/forward buttons?
  9. Why do I get an ‘overflow’ error using CInt?
  10. Why can’t I browse localhost without a connection?
  11. How do I generate a treeview from ASP?
  12. Why do I get 80020009 errors?
  13. How do I get the computer name / IP address of the server?
  14. Why do I get 800A01F9 errors?
  15. Why do I get 80010105 errors?
  16. Why do I get 800A03EC errors?
  17. How do I send a MsgBox or InputBox from ASP?
  18. How do I pad digits with leading zeros?
  19. How do I make sure my servers have the same time?
  20. What is this ‘Cannot detect OS type’ error with NT 4.0 Option Pack?
  21. How do I fix the ::$DATA bug?
  22. How do I convert a name to proper case?
  23. Can I bypass the ten connection limitation in Workstation / Professional?
  24. Why do I get errors in the 800A0001 -> 800A000F range?
  25. Why do I get non-database-related 80004005 errors?
  26. Why do I get errors in the 800A0400 -> 800A041F range?
  27. Why do I get errors in the 800A0030 -> 800A003A range?
  28. Why do I get errors in the 800A03F1 -> 800A03FF range?
  29. How do I read the contents of a remote web page?
  30. Which editor should I use for developing ASP applications?
  31. Why won’t my ASP pages work in IIS 6.0?
  32. How do I prevent my ASP pages from caching?
This entry was posted in VB, Web dev. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

6 Comments on ASP interview questions

  1. Posted 9/12/2006 at 2:04 pm | Permalink

    32 # How do I prevent my ASP pages from caching?

    Response.expire = 0

    The above statement cause the page to expire immediately (Hence it will not be cached by browser)

  2. vellaichamy
    Posted 9/29/2006 at 2:22 am | Permalink

    1.What is wrong with Request.ServerVariables(”HTTP_REFERER”)?
    Ans.

    The situations where it doesn’t work:
    clicking on a Favorite, History, or the recently-typed URLs list;
    clicking on ‘Home’ in IE’s toolbar, or an item in IE’s ‘Links’ toolbar;
    using location.href or location.replace() in client-side JScript/JavaScript/VBScript;
    using HierMenus (details);
    typing the URL directly in the browser and hitting Enter or clicking ‘Go’;
    launching a clickable URL from an e-mail or MS Office document;
    using Response.Redirect / Server.Transfer;
    using Response.AddHeader (302) or to redirect;
    loading the URL with XML (see Article #2173);
    misspelling the variable name (many people assume HTTP_REFERRER).
    Obviously, this variable cannot be relied upon for many situations.

    Here is the code I used to test with. Ref.asp contains the following code:

    And ref.htm contains the following:

    version:
    %>

    > ‘>

    > ‘>

    Go
    there - straight link

    Go
    there - javascript href

    Go
    there - javascript replace

    Go
    there - javascript GET

    Go
    there - javascript POST

  3. Vellaichamy
    Posted 9/29/2006 at 4:01 am | Permalink

    2.This error can happen when setting a barebones custom COM object to session or application scope (especially if you leave out the Set keyword).

    Response.Write Response
    Generates this error:
    Response object error ‘ASP 0185 : 80020003′
    Missing Default Property
    /.asp, line 0
    A default property was not found for the object.

  4. Palachandra
    Posted 1/5/2007 at 6:53 am | Permalink

    When we use CINT, as soon as the number goes over the limit -32768 and 32767 it throws the error because of interger size limit in VB Script.

    Resolutions is to use CLNG (Long variable) which will support the number between -2147483648 and 2147483647.

  5. Palachandra
    Posted 1/5/2007 at 6:55 am | Permalink

    30. You can use Visual InterDev 6.0 for developing ASP applications.

  6. santhi
    Posted 5/18/2007 at 8:50 am | Permalink

    30.Which editor should I use for developing ASP applications?
    Generally we use Microsoft Visual InterDev 6.0 for developing ASP applications.We also use Macromedia Dreamweaver MX for ASP applications.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*