Solved

Input type=file in aspx page,access denied problem with windows xp sp 2 fix

Posted on 2004-10-01
3
410 Views
Last Modified: 2010-08-05
Hi,
I have a asp.net page with frames.
I have an Input type=file control for the user to upload files.
I have a asp.net required field validation control binded to this Input control.
I have a ASP.net buton for submitting the page.
After updating my server with Windows XP sp2, I am facing a strange problem.
If I don't select a file or don't enter anything(for file path) or enter something without the backward slash("\") in the beginning, into the input control and click on the button(for submitting), the click event  of the button will not fire(I tried setting break point).
After this if I want to navigate to other links, I get a javascript error saying "Access denied" and nothing happens.
This happens only with XP,but the same problem doesn't occure with 2000 or NT.

Can anyone show some light on this.
Many thanks in advance.
0
Comment
Question by:see_girish
3 Comments
 
LVL 53

Accepted Solution

by:
COBOLdinosaur earned 250 total points
ID: 12204196
sp2 enforces the security that was always supposed to be there.  if you are getting access denied, it is either because you are trying to reference across frames thea are from the same domain or you are doing something to violate the secure nature of input type="file"

Can't tell much with out a link to the page or your code.

Cd&
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Spell-checking 1 98
Google Autocomplete API 2 85
Column Spacing 3 77
How to find the first line of javascript code-behind of a web page button. 7 73
In this short web based tutorial, I wanted to show users how they can still use the powers of FrontPage in conjunction with Expression Web 3.  Even though Microsoft eliminated the use of Web components, we can still use them with FrontPage and edit …
Objective of This Article In 1990’s, when I was a budding software professional, I had a lot of confusion about which stream or technology, I had to choose to build my career. In those days, I had lot of confusion like whether to choose System so…
The purpose of this video is to demonstrate how to automatically show related posts at the bottom of a blog post in WordPress. This will be demonstrated using a Windows 8 PC. Plugin “Yet Another Related Posts Plugin” will be used. Go to your…
The purpose of this video is to demonstrate how to set up an RSS Feed on a WordPress Website. This will be demonstrated using a Windows 8 PC. Feedburner will be used for this demonstration. Go to your WordPress login page. This will look like the…

778 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question