Click here to Skip to main content
15,891,513 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionAjax implementation Pin
AB77717-Aug-09 0:04
AB77717-Aug-09 0:04 
AnswerRe: Ajax implementation Pin
Abhijit Jana7-Aug-09 0:16
professionalAbhijit Jana7-Aug-09 0:16 
GeneralRe: Ajax implementation Pin
AB77717-Aug-09 1:44
AB77717-Aug-09 1:44 
AnswerRe: Ajax implementation Pin
Arindam Sinha7-Aug-09 1:37
Arindam Sinha7-Aug-09 1:37 
Question[Message Deleted] Pin
sekannak6-Aug-09 23:51
sekannak6-Aug-09 23:51 
AnswerRe: COM Component Pin
Manas Bhardwaj6-Aug-09 23:53
professionalManas Bhardwaj6-Aug-09 23:53 
QuestionUpload file permission denied Pin
Jain Vijay6-Aug-09 23:30
Jain Vijay6-Aug-09 23:30 
AnswerRe: Upload file permission denied Pin
Abhijit Jana6-Aug-09 23:37
professionalAbhijit Jana6-Aug-09 23:37 
Jain Vijay wrote:
I m trying to upload file on sever through upload control. code is working fine in local environment. also i have test code in asp. But when i have deployed the same asp.net code on server, getting this error....

Vijay,

This is the problem with Access permissions on web server. Let me discussed it in details.

Why it was working on Local Environment ?

Becuase, In VS, you application is running by ASP.NET Engine, which having the all rights to write data on your system, so its working fine on Local Enviroment.

Why not in Hosted Server ?

Web Appliction runs on server with some limited permission for security reasons and user does not have the suficient permission to write data on Folder. So you are getting the Error.

Resolution :

1. Give the Full Access rights to all the user on the folder where you are storing the file.
2. Create a Separate Application Pool on Web server, Change the Identity of Application pool to "Local System" ( Which having the maximum permissions) .
And assigned it to your virtual directory.


Hope this details explained will help you Big Grin | :-D

Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
View My Latest Article

GeneralRe: Upload file permission denied Pin
Jain Vijay6-Aug-09 23:57
Jain Vijay6-Aug-09 23:57 
GeneralRe: Upload file permission denied Pin
Abhijit Jana6-Aug-09 23:59
professionalAbhijit Jana6-Aug-09 23:59 
GeneralRe: Upload file permission denied Pin
Jain Vijay7-Aug-09 0:06
Jain Vijay7-Aug-09 0:06 
GeneralRe: Upload file permission denied Pin
Abhijit Jana7-Aug-09 0:08
professionalAbhijit Jana7-Aug-09 0:08 
GeneralRe: Upload file permission denied Pin
Jain Vijay7-Aug-09 0:12
Jain Vijay7-Aug-09 0:12 
QuestionThe underlying connection was closed: An unexpected error occurred on a receive Pin
Bibhash Mishra6-Aug-09 23:28
Bibhash Mishra6-Aug-09 23:28 
AnswerRe: The underlying connection was closed: An unexpected error occurred on a receive Pin
Manas Bhardwaj6-Aug-09 23:36
professionalManas Bhardwaj6-Aug-09 23:36 
GeneralRe: The underlying connection was closed: An unexpected error occurred on a receive Pin
Bibhash Mishra9-Aug-09 20:38
Bibhash Mishra9-Aug-09 20:38 
AnswerRe: The underlying connection was closed: An unexpected error occurred on a receive Pin
Abhijit Jana6-Aug-09 23:45
professionalAbhijit Jana6-Aug-09 23:45 
QuestionGrid view showing null columns Pin
LucBite6-Aug-09 21:57
LucBite6-Aug-09 21:57 
AnswerRe: Grid view showing null columns Pin
Blue_Boy6-Aug-09 22:14
Blue_Boy6-Aug-09 22:14 
AnswerRe: Grid view showing null columns Pin
Abhijit Jana6-Aug-09 23:11
professionalAbhijit Jana6-Aug-09 23:11 
AnswerRe: Grid view showing null columns Pin
Hemant Thaker7-Aug-09 1:30
Hemant Thaker7-Aug-09 1:30 
GeneralRe: Grid view showing null columns Pin
LucBite7-Aug-09 21:18
LucBite7-Aug-09 21:18 
Questionsmart window Pin
KhandelwalA6-Aug-09 20:56
KhandelwalA6-Aug-09 20:56 
AnswerRe: smart window Pin
Abhijit Jana6-Aug-09 21:03
professionalAbhijit Jana6-Aug-09 21:03 
AnswerRe: smart window Pin
Abhishek Sur6-Aug-09 21:35
professionalAbhishek Sur6-Aug-09 21:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.