Solved

File upload iis 7.5

Posted on 2014-04-25
3
390 Views
Last Modified: 2014-05-16
Hi

I have developed an application to upload files using vs2010. my folder is set in the applicaiton root directory "data". while running files are not getting uploaded.

         Dim saveLocation As String = Me.Page.Server.MapPath("..\Data" & "\" & fileName.ToString())
                inputFile.PostedFile.SaveAs(saveLocation)

please let me know what are the rigts required for the folder
regards
0
Comment
Question by:bmkdubai
[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 17

Expert Comment

by:Emmanuel Adebayo
ID: 40024984
Hi,

You will need write or modify permission to the Data folder for the account that is running your application pool.

Regards
0
 

Author Comment

by:bmkdubai
ID: 40025324
hi
my application pool is default and network identity is networkservice.

please support
0
 
LVL 7

Accepted Solution

by:
Utkarsh Kulkarni earned 500 total points
ID: 40029584
There is nothing wrong with your Application pool. In your website, for this "Data" folder, give write / modify permission to IIS User.

If you are checking in VS2010, then give either full control permission to this folder for user
logged in.
0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

726 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