?
Solved

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

Posted on 2004-10-01
3
Medium Priority
?
422 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
1 Comment
 
LVL 53

Accepted Solution

by:
COBOLdinosaur earned 1000 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: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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

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.
Dramatic changes are revolutionizing how we build and use technology. Every company is automating, digitizing, and modernizing operations. We need a better, more connected way to work together as teams so we can harness the insights from our system…
The purpose of this video is to demonstrate how to exclude a particular blog category from the main blog page. This is can be used when a category already has its own tab, or you simply want certain types of posts not to show up on the main blog. …
The purpose of this video is to demonstrate how to integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchi…
Suggested Courses

840 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