473,803 Members | 3,356 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

File Input Problem, please help, specific to XP SP2

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("t estalon"))
%>

<form name=yo method="post" action="test.as p">
<input type=file name=testalon>
<input type=button value=submit onclick="javasc ript: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


Jul 19 '05 #1
5 1617
Alon Zilkha wrote on 29 sep 2004 in
microsoft.publi c.inetserver.as p.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("t estalon"))
%>

<form name=yo method="post" action="test.as p">
<input type=file name=testalon>
<input type=button value=submit onclick="javasc ript: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("t estalon")!

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)

Jul 19 '05 #2
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("t estalon"))
%>

<form name=yo method="post" action="test.as p">
<input type=file name=testalon>
<input type=button value=submit onclick="javasc ript: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


Jul 19 '05 #3
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." <ex************ **@interxnl.net > wrote in message
news:Xn******** ************@19 4.109.133.29...
Alon Zilkha wrote on 29 sep 2004 in
microsoft.publi c.inetserver.as p.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("t estalon"))
%>

<form name=yo method="post" action="test.as p">
<input type=file name=testalon>
<input type=button value=submit onclick="javasc ript: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("t estalon")!

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)

Jul 19 '05 #4
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


Jul 19 '05 #5
Alon Zilkha wrote on 29 sep 2004 in
microsoft.publi c.inetserver.as p.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)

Jul 19 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1329
by: ginette | last post by:
I really need help with a strange problem. i have a page having ONLY this cleaned and washed HTML code, no client scripting at all and "some" folks are unable to post any file till "some" are able. All using IE6 (SP1 or not) Leaving the <input type="file"> unassigned is ok for everyone but when you select a file, even a SMALL SMALL SMALL 10 bytes almost empty txt file, the form fails to be submitted.
2
6328
by: Kapil Khosla | last post by:
Hi, I have a file with the format ////////// {blkid:= 10000} dfd dfd dfdfdfd dfd dfd {blkid:= 10001} dfd fddd gdfd dd
0
3945
by: Lokkju | last post by:
I am pretty much lost here - I am trying to create a managed c++ wrapper for this dll, so that I can use it from c#/vb.net, however, it does not conform to any standard style of coding I have seen. It is almost like it is trying to implement it's own COM interfaces... below is the header, and a link to the dll+code: Zip file with header, example, and DLL:...
1
6510
by: laredotornado | last post by:
Hi, I'm using PHP 4.4.4 on Apache 2 on Fedora Core 5. PHP was installed using Apache's apxs and the php library was installed to /usr/local/php. However, when I set my "error_reporting" setting to be "E_ALL", notices are still not getting reported. The perms on my file are 664, with owner root and group root. The php.ini file is located at /usr/local/lib/php/php.ini. Any ideas why the setting does not seem to be having an effect? ...
6
3043
by: Vic Spainhower | last post by:
Hello, I am trying to do a FTP file upload which works fine on my localhost but on my ISP server it fails. I can't seem to find where I can go to find the specific cause of the failure. In both cases the file is being transmitted to the same FTP server and using the same PHP script so it shouldn't be a file size or login credentials problem. Could someone please help me out and give me some ideas what is wrong. I would really...
3
6115
by: John Williams | last post by:
I'm writing a stagenography program to experiment with how it works. The algorithm I'm using appears to be producing the correct result...however I'm struggling with the file input. I never learned file input/output very well (I self taught all the programming I know...and my c++ book was not good) and so I'm not sure what's wrong with this. The problem is the function void encodemsg(fstream *img, fstream *msg, fstream *out, char key) ...
13
3820
by: Albert | last post by:
Hi I'm using the lcc compiler for win32. I tried compiling a program but there's an error stating: "cpp: Can't open input file clrscr()" I don't get it - I've included <tcconio.h>. (strange why they couldn't have just left it as <conio.h>?): #include <tcconio.h> // code
3
1917
ganesanji
by: ganesanji | last post by:
hi all, I have written a php coding for uploading a file to a specific folder or location in server which is a Linux server. I think the coding for file uploaing is correct. But it does not work properly. That means the file is not uploaded to the specified location. It always executes the "else" condition in my coding. I think the problem is lieing in the specifed path which is the target path for file uploading. I could not find out...
2
3824
by: pulavarthipraveen | last post by:
Overview: We have a requirement in the c#.NET 1.0 windows application. There will be some input text file in the user’s machine. The user should browse and select the input text file and also select the destination path. click some “Convert” button, then the XML data which is present in the text file should be exported to a new excel sheet and this excel should be stored in the destination path which the user already selected. Problem 1: The...
0
9703
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9566
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10555
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10069
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9127
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7607
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6844
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5636
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2974
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.