Click here to Skip to main content
15,920,110 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: deploying asp.net Pin
Christian Graus9-Sep-09 10:13
protectorChristian Graus9-Sep-09 10:13 
Questionasp.net web page timing out... Pin
bnathvbdotnet9-Sep-09 7:13
bnathvbdotnet9-Sep-09 7:13 
Questionstring with 5 Pin
Member 45073449-Sep-09 6:43
Member 45073449-Sep-09 6:43 
AnswerRe: string with 5 Pin
sashidhar9-Sep-09 6:49
sashidhar9-Sep-09 6:49 
AnswerRe: string with 5 Pin
Manas Bhardwaj9-Sep-09 6:51
professionalManas Bhardwaj9-Sep-09 6:51 
AnswerRe: string with 5 Pin
Abhishek Sur9-Sep-09 6:53
professionalAbhishek Sur9-Sep-09 6:53 
QuestionUpload Excel and read the contents Pin
RajiniUK9-Sep-09 6:02
RajiniUK9-Sep-09 6:02 
AnswerRe: Upload Excel and read the contents Pin
Abhijit Jana9-Sep-09 6:23
professionalAbhijit Jana9-Sep-09 6:23 
RajiniUK wrote:
Problem - Works in local machine ,but not in server. Because the server tries to read the same path as the file which was loaded in client machine and file exists in client machine only.


This because File is not getting uploaded into server.

When you run any asp.net web application from VS, it handled by VS integrated ASP.NET Engine. Which having all kind of right to store file. But when you upload the sites on server ( IIS), its runs on default Application Pool. The default Identity of this pool is Network Service, which is having the minimum rigts to access the sites and does not have the write permission to save file on disk.
You can have two different solution,
1) Create different application pool with Local System Identity, which having write access on server and asign it to your web virtual directory.
2) Give the Write Access permission to all the user for that particular folder where you uploading the file.

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

AnswerRe: Upload Excel and read the contents Pin
Abhishek Sur9-Sep-09 12:11
professionalAbhishek Sur9-Sep-09 12:11 
Questiondynamic link button event in grid not firing in vb.net Pin
divyas19859-Sep-09 5:21
divyas19859-Sep-09 5:21 
AnswerRe: dynamic link button event in grid not firing in vb.net Pin
Manas Bhardwaj9-Sep-09 5:37
professionalManas Bhardwaj9-Sep-09 5:37 
AnswerRe: dynamic link button event in grid not firing in vb.net Pin
Abhijit Jana9-Sep-09 5:40
professionalAbhijit Jana9-Sep-09 5:40 
QuestionHandling Screen Maximizing ( when the user presses F11) Pin
VVRSN Acharyulu9-Sep-09 5:09
VVRSN Acharyulu9-Sep-09 5:09 
QuestionPopup with command arguments Pin
dotnetcsharpdev9-Sep-09 4:44
dotnetcsharpdev9-Sep-09 4:44 
AnswerRe: Popup with command arguments Pin
Abhijit Jana9-Sep-09 5:55
professionalAbhijit Jana9-Sep-09 5:55 
AnswerRe: Popup with command arguments Pin
dotnetcsharpdev9-Sep-09 22:44
dotnetcsharpdev9-Sep-09 22:44 
QuestionDynamic control in asp.net Pin
Amit Patel19859-Sep-09 3:56
Amit Patel19859-Sep-09 3:56 
AnswerRe: Dynamic control in asp.net Pin
Abhijit Jana9-Sep-09 4:02
professionalAbhijit Jana9-Sep-09 4:02 
QuestionConcurrency violation: the UpdateCommand affected 0 of the expected 1 records. Pin
EmZan9-Sep-09 3:56
EmZan9-Sep-09 3:56 
QuestionTab order issue Pin
Rahul Chitte9-Sep-09 3:21
Rahul Chitte9-Sep-09 3:21 
QuestionPoppup menu in HTML Pin
rummer9-Sep-09 3:01
rummer9-Sep-09 3:01 
AnswerRe: Poppup menu in HTML Pin
Blikkies9-Sep-09 3:05
professionalBlikkies9-Sep-09 3:05 
Questionbutton Pin
KhandelwalA9-Sep-09 1:39
KhandelwalA9-Sep-09 1:39 
AnswerRe: button [modified] Pin
sashidhar9-Sep-09 1:42
sashidhar9-Sep-09 1:42 
AnswerRe: button Pin
Abhishek Sur9-Sep-09 2:14
professionalAbhishek Sur9-Sep-09 2:14 

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.