Click here to Skip to main content
15,915,336 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: How to display total viewers Pin
Christian Graus14-Jun-09 23:04
protectorChristian Graus14-Jun-09 23:04 
Questiondisplay number of online visitors Pin
Pratheepa14-Jun-09 21:45
Pratheepa14-Jun-09 21:45 
AnswerRe: display number of online visitors Pin
Abhijit Jana14-Jun-09 21:59
professionalAbhijit Jana14-Jun-09 21:59 
AnswerRe: display number of online visitors Pin
Christian Graus14-Jun-09 23:09
protectorChristian Graus14-Jun-09 23:09 
Questionpop-up window Pin
Pratheepa14-Jun-09 21:42
Pratheepa14-Jun-09 21:42 
AnswerRe: pop-up window Pin
Abhijit Jana14-Jun-09 21:57
professionalAbhijit Jana14-Jun-09 21:57 
AnswerRe: pop-up window Pin
saanj15-Jun-09 3:04
saanj15-Jun-09 3:04 
QuestionUnable to download file from server Pin
vayanan14-Jun-09 21:37
vayanan14-Jun-09 21:37 
Hi I am not able to download file from Web Server...
I am using following code
       string filename = "Resume.doc";
       string path = Server.MapPath("~/Resumes/" + filename );
       Response.Clear();
       Response.AddHeader("Content-Disposition", "attachment;
filename=" + filename );

       Response.ContentType = "application/octet-stream";
       Response.WriteFile(path);
       Response.End();

this code is working fine in localhost...
but when Execute in the server it says 'File not found in the Directory',but file exists on the server.

The website id done in ASP only the file upload and download is done in ASPX,
upload is working fine but download is creating the problem.

may be because of Version compatibility,I am using GODaddy Share WebHosting.

please help me to find the solution.

Thanks and Regards
Vayanan
AnswerRe: Unable to download file from server Pin
Aman Bhullar14-Jun-09 22:49
Aman Bhullar14-Jun-09 22:49 
GeneralRe: Unable to download file from server Pin
vayanan15-Jun-09 18:42
vayanan15-Jun-09 18:42 
GeneralRe: Unable to download file from server Pin
Aman Bhullar15-Jun-09 19:37
Aman Bhullar15-Jun-09 19:37 
QuestionHow to do Drag Selection in ASP .NET Web Forms Pin
munnalingam14-Jun-09 21:22
munnalingam14-Jun-09 21:22 
AnswerRe: How to do Drag Selection in ASP .NET Web Forms Pin
Abhijit Jana14-Jun-09 22:35
professionalAbhijit Jana14-Jun-09 22:35 
GeneralRe: How to do Drag Selection in ASP .NET Web Forms Pin
munnalingam14-Jun-09 22:51
munnalingam14-Jun-09 22:51 
QuestionPrint Function in Asp.net Pin
HatakeKaKaShi14-Jun-09 21:12
HatakeKaKaShi14-Jun-09 21:12 
AnswerRe: Print Function in Asp.net Pin
Christian Graus14-Jun-09 23:09
protectorChristian Graus14-Jun-09 23:09 
Questionto chk a control is present or not using codebehind Pin
anbusenthil14-Jun-09 20:59
anbusenthil14-Jun-09 20:59 
AnswerRe: to chk a control is present or not using codebehind Pin
Herman<T>.Instance14-Jun-09 22:29
Herman<T>.Instance14-Jun-09 22:29 
GeneralRe: to chk a control is present or not using codebehind Pin
anbusenthil14-Jun-09 23:11
anbusenthil14-Jun-09 23:11 
AnswerRe: to chk a control is present or not using codebehind Pin
saanj15-Jun-09 3:07
saanj15-Jun-09 3:07 
QuestionHow to read UNREAD mails from mail server??? Pin
nkmkrishna14-Jun-09 20:58
nkmkrishna14-Jun-09 20:58 
AnswerRe: How to read UNREAD mails from mail server??? Pin
Christian Graus15-Jun-09 15:20
protectorChristian Graus15-Jun-09 15:20 
AnswerRe: How to read UNREAD mails from mail server??? Pin
anil indorkar28-Jan-10 4:08
anil indorkar28-Jan-10 4:08 
QuestionOpen links without popup message Pin
samerh14-Jun-09 20:55
samerh14-Jun-09 20:55 
Questionwant to use a function loadstring common for whole website Pin
anbusenthil14-Jun-09 20:44
anbusenthil14-Jun-09 20:44 

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.