Solved

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

Posted on 2004-10-01
3
413 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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 …
This article provides a case study on how our local youth baseball league deployed a new website, including the platform selection, implementation and benefits to the league.
The purpose of this video is to demonstrate how to integrate Mailchimp with Facebook. This will be demonstrated using a Windows 8 PC. Mailchimp and Facebook will be used. Log into your Mailchimp account. : Click on your name. Go to Account Setti…
The purpose of this video is to demonstrate how to set up basic WordPress SEO. This will be demonstrated using a Windows 8 PC. The plugin used will be WordPress SEO by Yoast. Go to your WordPress login page. This will look like the following: myw…

730 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