Solved

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

Posted on 2004-10-01
3
408 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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

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 …
Now that Expression Web 4.0 (http://www.microsoft.com/expression/products/Upgrade.aspx) is free if you buy or have the full version of Expression Web 3.0, now is the best time to  migrate from FrontPage to Expression Web (http://www.frontpage-to-exp…
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 add AdSense Ads to a WordPress Website, and how to set up WordPress to automatically place Ads in Sidebars. This will be demonstrated using a Windows 8 PC. Log into your AdSense account. : Cli…

706 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now