ASP "no error" error

Ask a Question related to ASP.NET Security, Design and Development.

  1. #1

    Default ASP "no error" error

    I have a statement in a asp,like follows£º
    var str=window.top.main.document.all.contenttext.value ;

    I use IIS5.0 to deploy this asp,then I visit this asp like follows:
    [url]http://localhost/test/default.asp[/url]

    I found I can get this page,then I use my computer's IP address,
    [url]http://192.168.0.3/test/default.asp[/url]

    I got errors! It said "no right"£¬then I erase this statement,then I visit
    this asp again,this time I don't get error.But I need this statement "var
    str=window.top.main.document.all.contenttext.value "
    How to correct my code to run it?

    Thanks!


    Edward King Guest

  2. Similar Questions and Discussions

    1. Help! Can not save anything in Illustrator format - Error message "unknown error has occured"
      I am using Illustrator CS on XP, I was trying to save my work, it was a template and about 10 layers. I got the error message "unknown error has...
    2. Error "creating file: 1008:5, -5000 Access Denied Error"
      I'm unable to install Flash Player 9 in OS X (10.4.8). I followed the following tech note: http://www.adobe.com/go/4aa64290 * I uninstalled Flash...
    3. Acrobat Form Submit error: changes VALUE="true" to "0"
      I wrote an HTML page with a form. In the form I had many inputs as in: <INPUT TYPE="radio" NAME="Q1" VALUE="true"> and <INPUT TYPE="radio"...
    4. #12029 [Com]: "--with-apxs" can cause the error "MySQL: Unable to save result set in"
      ID: 12029 Comment by: sietzepost at streetwisedd dot nl Reported By: root at byone dot com Status: Bogus Bug...
    5. Error in CreatObject(""): 32797: Application-defined or object-define error
      Hi, I am getting "Application-defined or object-define error" when trying to instantiate an MTS component. However, when I run the VB source-code...
  3. #2

    Default Re: ASP "no error" error

    Sounds like a client-side error to me - nothing to do with ASP or ASP.NET

    In the first case, the site is in the Local Intranet IE security zone
    In the second case, the site is in the Internet IE security zone, which is
    probably why is preventing you from executing that javascipt. Add the
    address to the Intranet or Trusted Sites security zones.

    Cheers
    Ken


    "Edward King" <zhangsc@neusoft.com> wrote in message
    news:O0FcRRU%23EHA.3892@TK2MSFTNGP10.phx.gbl...
    >I have a statement in a asp,like follows£º
    > var str=window.top.main.document.all.contenttext.value ;
    >
    > I use IIS5.0 to deploy this asp,then I visit this asp like follows:
    > [url]http://localhost/test/default.asp[/url]
    >
    > I found I can get this page,then I use my computer's IP address,
    > [url]http://192.168.0.3/test/default.asp[/url]
    >
    > I got errors! It said "no right"£¬then I erase this statement,then I visit
    > this asp again,this time I don't get error.But I need this statement "var
    > str=window.top.main.document.all.contenttext.value "
    > How to correct my code to run it?
    >
    > Thanks!
    >
    >

    Ken Schaefer Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139