Solved

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

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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

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…
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 manually back up a WordPress Database. This will be demonstrated using a Windows 8 PC. The Host used will be IPage.com Log into your Hosting account. IPage will be used for demonstration : Locat…
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…

724 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