Click here to Skip to main content
15,912,897 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: How to refresh the Datagrid page? Pin
dfwzh29-Apr-07 19:26
dfwzh29-Apr-07 19:26 
GeneralRe: How to refresh the Datagrid page? Pin
Chetan Ranpariya29-Apr-07 20:21
Chetan Ranpariya29-Apr-07 20:21 
AnswerRe: How to refresh the Datagrid page? Pin
Tridip Bhattacharjee29-Apr-07 20:54
professionalTridip Bhattacharjee29-Apr-07 20:54 
QuestionWeb Application works perfectly on local server but not on web server Pin
lesleyag29-Apr-07 15:37
lesleyag29-Apr-07 15:37 
AnswerRe: Web Application works perfectly on local server but not on web server Pin
Christian Graus29-Apr-07 17:35
protectorChristian Graus29-Apr-07 17:35 
GeneralRe: Web Application works perfectly on local server but not on web server Pin
lesleyag29-Apr-07 17:41
lesleyag29-Apr-07 17:41 
GeneralRe: Web Application works perfectly on local server but not on web server Pin
Christian Graus29-Apr-07 18:17
protectorChristian Graus29-Apr-07 18:17 
GeneralRe: Web Application works perfectly on local server but not on web server Pin
lesleyag29-Apr-07 18:37
lesleyag29-Apr-07 18:37 
Hi Christian

this is the response:
The file path is ~\Customer\lesleyag\Classifieds_Images\

How do I find out what the tilde is referencing? I have a gut feeling that this is where the problem may be occuring but would like to find out for sure although in saying this, this line of code does upload files to the correct place:

{
File.Copy(FileUpload1.PostedFile.FileName, Server.MapPath("~\\PWC_Shoppers\\" + Session["username"].ToString() + "\\Classifieds_Images\\") + FileUpload1.FileName, true);
}

so potentially this is correct.

The major issue I am having is that the images are not being displayed on another page. It is this page which works on the development machine but not the web server

Lesley
Popweb City

GeneralRe: Web Application works perfectly on local server but not on web server Pin
Christian Graus29-Apr-07 18:49
protectorChristian Graus29-Apr-07 18:49 
GeneralRe: Web Application works perfectly on local server but not on web server Pin
lesleyag29-Apr-07 19:54
lesleyag29-Apr-07 19:54 
GeneralRe: Web Application works perfectly on local server but not on web server Pin
Christian Graus29-Apr-07 22:19
protectorChristian Graus29-Apr-07 22:19 
GeneralRe: Web Application works perfectly on local server but not on web server Pin
lesleyag29-Apr-07 21:50
lesleyag29-Apr-07 21:50 
GeneralRe: Web Application works perfectly on local server but not on web server Pin
Christian Graus29-Apr-07 22:21
protectorChristian Graus29-Apr-07 22:21 
QuestionHow to set a Frist Row in GridView Pin
srieen29-Apr-07 11:31
srieen29-Apr-07 11:31 
AnswerRe: How to set a Frist Row in GridView Pin
Christian Graus29-Apr-07 12:22
protectorChristian Graus29-Apr-07 12:22 
GeneralRe: How to set a Frist Row in GridView Pin
srieen29-Apr-07 16:42
srieen29-Apr-07 16:42 
GeneralRe: How to set a Frist Row in GridView Pin
Christian Graus29-Apr-07 17:31
protectorChristian Graus29-Apr-07 17:31 
AnswerRe: How to set a Frist Row in GridView Pin
Arun.Immanuel29-Apr-07 17:48
Arun.Immanuel29-Apr-07 17:48 
QuestionAdding JavaScript to an ASP Image Pin
Kris10029-Apr-07 10:55
Kris10029-Apr-07 10:55 
AnswerRe: Adding JavaScript to an ASP Image Pin
Kris10029-Apr-07 10:59
Kris10029-Apr-07 10:59 
GeneralRe: Adding JavaScript to an ASP Image Pin
Christian Graus29-Apr-07 12:50
protectorChristian Graus29-Apr-07 12:50 
QuestionSiteMapPathProvider Pin
Tarik Guney29-Apr-07 9:00
Tarik Guney29-Apr-07 9:00 
AnswerRe: SiteMapPathProvider Pin
Tarik Guney29-Apr-07 10:50
Tarik Guney29-Apr-07 10:50 
AnswerRe: SiteMapPathProvider Pin
szukuro29-Apr-07 11:33
szukuro29-Apr-07 11:33 
GeneralRe: SiteMapPathProvider Pin
Tarik Guney29-Apr-07 11:50
Tarik Guney29-Apr-07 11:50 

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.