Solved

File upload iis 7.5

Posted on 2014-04-25
3
378 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
3 Comments
 
LVL 16

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This video discusses moving either the default database or any database to a new volume.

705 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