Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6174607
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T23:46:55+00:00 2026-05-23T23:46:55+00:00

I have an aspx webpage that uses as handler to save uploaded files via

  • 0

I have an aspx webpage that uses as handler to save uploaded files via swfupload I am saving the file on the server like this:

HttpPostedFile uploadedFile = Request.Files["Filedata"];
uploadedFile.SaveAs(LocationOnServer);

the problem is that after I save the file the file remain locked (by w3wp.exe) until I restart the IIS.
Is there any way to release the file after save?
Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T23:46:56+00:00Added an answer on May 23, 2026 at 11:46 pm

    I have dealt with the same situation in the past. You need to run your application pool under a domain account. That is, the app pool under which your web application is running should be setup to run as a domain user. That same domain user should then be given permissions to the folder you are trying to upload to. In order to assign a domain user to your application pool, select the appropriate pool from the application pools node in IIS, right click and select properties. From the properties dialog box select the identity tab and choose “Configurable” and then provide a domain account. Then you should give permissions to the same user on your folder.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a webpage that you pass in an id parameter (via a querystring),
I have an ASP.NET website that uses Forms authentication <authentication mode=Forms> <forms name=NewsCoreAuthentication loginUrl=~/Default.aspx
I have a aspx webpage that is successfully hosting a flex app. On the
So, I have an .aspx webpage as follows: .. <form id=frm runat=server> <asp:FileUpload runat=server
I have an ASPX page (On server A) which is invoked using NTLM credentials.
I have an ASPX page and on this page I have a control that
I have an ASPX page where I am uploading an image to server for
I have several aspx pages that can be opened either normally (full screen in
I have a webpage 'WPwp1.aspx' and another webpage 'FLcourt.aspx' In WPwp1.aspx i have DropDownList2,DropDownList3,TextBox1,TextBox2,TextBox3
My requirement is that I have a few hyperlinks on a webpage and when

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.