File Input Problem, please help, specific to XP SP2

Discussion in 'ASP General' started by Alon Zilkha, Sep 29, 2004.

  1. Alon Zilkha

    Alon Zilkha Guest

    Hi All,

    I just noticed a problem with Internet Explorer on Service Pack 2 of Windows
    XP and it is driving me insane!! I would greatly appreciate it if someone
    could help me out...

    I have a basic asp file (test.asp) with the following code:

    ----------------------------------------
    <%
    Response.Write(Request.Form("testalon"))
    %>

    <form name=yo method="post" action="test.asp">
    <input type=file name=testalon>
    <input type=button value=submit onclick="javascript:yo.submit();">
    </form>
    ----------------------------------------

    When I click on the submit button, I get the following Script Error:
    "Access is Denied"

    This does not happen with all previous versions of IE!!! (before Windows XP
    Service pack 2). Does anyone know how to get around this (perhaps a setting
    in IE) ? It will be difficult for me to switch all my code to text inputs
    rather than file inputs since they are used so frequently...

    Thanks,
    Alon
     
    Alon Zilkha, Sep 29, 2004
    #1
    1. Advertising

  2. Alon Zilkha

    Evertjan. Guest

    Alon Zilkha wrote on 29 sep 2004 in
    microsoft.public.inetserver.asp.general:

    > Hi All,
    >
    > I just noticed a problem with Internet Explorer on Service Pack 2 of
    > Windows XP and it is driving me insane!! I would greatly appreciate it
    > if someone could help me out...
    >
    > I have a basic asp file (test.asp) with the following code:
    >
    > ----------------------------------------
    > <%
    > Response.Write(Request.Form("testalon"))
    > %>
    >
    > <form name=yo method="post" action="test.asp">
    > <input type=file name=testalon>
    > <input type=button value=submit onclick="javascript:yo.submit();">
    > </form>
    > ----------------------------------------
    >
    > When I click on the submit button, I get the following Script Error:
    > "Access is Denied"
    >
    > This does not happen with all previous versions of IE!!! (before
    > Windows XP Service pack 2). Does anyone know how to get around this
    > (perhaps a setting in IE) ? It will be difficult for me to switch all
    > my code to text inputs rather than file inputs since they are used so
    > frequently...


    How can you upload a file if you have no serverside code to accept the
    file?

    The file wil not reside inside Request.Form("testalon")!

    XP and it's browser have nothing to do with it, that is all clientside.


    --
    Evertjan.
    The Netherlands.
    (Please change the x'es to dots in my emailaddress,
    but let us keep the discussions in the newsgroup)
     
    Evertjan., Sep 29, 2004
    #2
    1. Advertising

  3. Alon Zilkha

    Joker Guest

    Sounds like you should be posting this question in a JavaScript or
    Jscript newsgroup. Since this newsgroup is for server side code not the
    client side code that is giving the error.

    Alon Zilkha wrote:

    > Hi All,
    >
    > I just noticed a problem with Internet Explorer on Service Pack 2 of Windows
    > XP and it is driving me insane!! I would greatly appreciate it if someone
    > could help me out...
    >
    > I have a basic asp file (test.asp) with the following code:
    >
    > ----------------------------------------
    > <%
    > Response.Write(Request.Form("testalon"))
    > %>
    >
    > <form name=yo method="post" action="test.asp">
    > <input type=file name=testalon>
    > <input type=button value=submit onclick="javascript:yo.submit();">
    > </form>
    > ----------------------------------------
    >
    > When I click on the submit button, I get the following Script Error:
    > "Access is Denied"
    >
    > This does not happen with all previous versions of IE!!! (before Windows XP
    > Service pack 2). Does anyone know how to get around this (perhaps a setting
    > in IE) ? It will be difficult for me to switch all my code to text inputs
    > rather than file inputs since they are used so frequently...
    >
    > Thanks,
    > Alon
    >
    >
    >
    >
     
    Joker, Sep 29, 2004
    #3
  4. Alon Zilkha

    Alon Zilkha Guest

    Hi Evertjan,

    I'm not trying to upload any file in the code. All I'm trying to do is take
    the path of the file from the input... I have verified that this code works
    in any internet explorer before Service Pack 2, and it is clientside - so
    maybe I should post to a Javascript newsgroup as Joker has already
    mentioned....

    Thanks for your help,
    Alon



    "Evertjan." <> wrote in message
    news:Xns95736CF4FD77Deejj99@194.109.133.29...
    > Alon Zilkha wrote on 29 sep 2004 in
    > microsoft.public.inetserver.asp.general:
    >
    >> Hi All,
    >>
    >> I just noticed a problem with Internet Explorer on Service Pack 2 of
    >> Windows XP and it is driving me insane!! I would greatly appreciate it
    >> if someone could help me out...
    >>
    >> I have a basic asp file (test.asp) with the following code:
    >>
    >> ----------------------------------------
    >> <%
    >> Response.Write(Request.Form("testalon"))
    >> %>
    >>
    >> <form name=yo method="post" action="test.asp">
    >> <input type=file name=testalon>
    >> <input type=button value=submit onclick="javascript:yo.submit();">
    >> </form>
    >> ----------------------------------------
    >>
    >> When I click on the submit button, I get the following Script Error:
    >> "Access is Denied"
    >>
    >> This does not happen with all previous versions of IE!!! (before
    >> Windows XP Service pack 2). Does anyone know how to get around this
    >> (perhaps a setting in IE) ? It will be difficult for me to switch all
    >> my code to text inputs rather than file inputs since they are used so
    >> frequently...

    >
    > How can you upload a file if you have no serverside code to accept the
    > file?
    >
    > The file wil not reside inside Request.Form("testalon")!
    >
    > XP and it's browser have nothing to do with it, that is all clientside.
    >
    >
    > --
    > Evertjan.
    > The Netherlands.
    > (Please change the x'es to dots in my emailaddress,
    > but let us keep the discussions in the newsgroup)
    >
     
    Alon Zilkha, Sep 29, 2004
    #4
  5. Alon Zilkha

    Joker Guest

    I think Evertjan was tired when he posted that. I still think you are
    in the wrong newsgroup for this problem since it is when a JavaScript
    function is called that you get the error.

    Sounds like you should be posting this question in a JavaScript or
    Jscript newsgroup. Since this newsgroup is for server side code not the
    client side code that is giving the error.

    Alon Zilkha wrote:

    > Hi Evertjan,
    >
    > I'm not trying to upload any file in the code. All I'm trying to do is take
    > the path of the file from the input... I have verified that this code works
    > in any internet explorer before Service Pack 2, and it is clientside - so
    > maybe I should post to a Javascript newsgroup as Joker has already
    > mentioned....
    >
    > Thanks for your help,
    > Alon
    >
     
    Joker, Sep 29, 2004
    #5
  6. Alon Zilkha

    Evertjan. Guest

    Alon Zilkha wrote on 29 sep 2004 in
    microsoft.public.inetserver.asp.general:
    > I'm not trying to upload any file in the code.


    But that is what type=file is all about

    <input type=file name=testalon>

    Don't let us continue this OT thread.

    btw, Joker:
    >I think Evertjan was tired when he posted that.


    I am not that tired at
    08:42:32 GMT = 10:42 local (24h clock) overhere.

    --
    Evertjan.
    The Netherlands.
    (Please change the x'es to dots in my emailaddress,
    but let us keep the discussions in the newsgroup)
     
    Evertjan., Sep 29, 2004
    #6
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. George
    Replies:
    5
    Views:
    799
    =?Utf-8?B?S2VuIEJlYXJk?=
    Aug 24, 2004
  2. Tuan Pham-Barnes
    Replies:
    2
    Views:
    1,362
    Lenny Linux
    Nov 23, 2004
  3. KK
    Replies:
    2
    Views:
    649
    Big Brian
    Oct 14, 2003
  4. Likhith Areekkal

    Calendars overlap : IE SP2 ; WinXP SP2

    Likhith Areekkal, Dec 23, 2004, in forum: ASP .Net Web Services
    Replies:
    0
    Views:
    149
    Likhith Areekkal
    Dec 23, 2004
  5. Alon Zilkha
    Replies:
    9
    Views:
    139
    Michael Winter
    Oct 4, 2004
Loading...

Share This Page