Click here to Skip to main content
15,908,455 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Issue with Validator control Pin
Vipul Mehta7-Apr-08 21:31
Vipul Mehta7-Apr-08 21:31 
GeneralRe: Issue with Validator control Pin
Christian Graus7-Apr-08 21:34
protectorChristian Graus7-Apr-08 21:34 
GeneralRe: Issue with Validator control Pin
eyeseetee7-Apr-08 21:36
eyeseetee7-Apr-08 21:36 
GeneralRe: Issue with Validator control Pin
Vipul Mehta7-Apr-08 21:56
Vipul Mehta7-Apr-08 21:56 
GeneralRe: Issue with Validator control Pin
eyeseetee7-Apr-08 22:00
eyeseetee7-Apr-08 22:00 
GeneralRe: Issue with Validator control Pin
Vipul Mehta7-Apr-08 22:03
Vipul Mehta7-Apr-08 22:03 
QuestionHow to get Virtual Path of Web Service [modified] Pin
samrat.net7-Apr-08 18:19
samrat.net7-Apr-08 18:19 
AnswerRe: How to get Virtual Path of Web Service Pin
Christopher Duncan8-Apr-08 17:55
Christopher Duncan8-Apr-08 17:55 
Hi, Samrat.

The problem is that you're trying to use a file system routine (FileExists) with the virtual web url path that the browser uses. As you might suspect, these are completely different things.

MapPath() (I think it's in the Server namespace) will take a virtual path like "~/WSClientProxy/teste.asmx" and give you back a physical path to the filesystem. For example, MapPath("~/WSClientProxy") will give you the physical directory pointed to by this virtual path. You can then use that directory to create files, etc. and of course you can use MapPath("~/WSClientProxy/teste.asmx") as the parameter to FileExists(). If you play around with it and do some tests with creating, renaming (MoveTo()) deleting files, etc., I think you'll get the hang of it.

Hope this helps!


Christopher Duncan
Author of
The Career Programmer and Unite the Tribes
Coming soon: Got a career question? Ask the Attack Chihuahua!
www.PracticalUSA.com

GeneralCannot get IIS pickup directory Pin
Piyush Vardhan Singh7-Apr-08 18:18
Piyush Vardhan Singh7-Apr-08 18:18 
GeneralRe: Cannot get IIS pickup directory Pin
N a v a n e e t h7-Apr-08 18:38
N a v a n e e t h7-Apr-08 18:38 
GeneralRe: Cannot get IIS pickup directory Pin
Piyush Vardhan Singh7-Apr-08 19:10
Piyush Vardhan Singh7-Apr-08 19:10 
GeneralRe: Cannot get IIS pickup directory Pin
N a v a n e e t h7-Apr-08 19:21
N a v a n e e t h7-Apr-08 19:21 
QuestionDynamically added controls don't appear in View's control collection. (VB) Pin
WebMaster7-Apr-08 15:08
WebMaster7-Apr-08 15:08 
GeneralRe: Dynamically added controls don't appear in View's control collection. (VB) Pin
Christian Graus7-Apr-08 18:03
protectorChristian Graus7-Apr-08 18:03 
GeneralRe: Dynamically added controls don't appear in View's control collection. (VB) Pin
WebMaster8-Apr-08 4:30
WebMaster8-Apr-08 4:30 
GeneralRe: Dynamically added controls don't appear in View's control collection. (VB) Pin
Christian Graus8-Apr-08 11:12
protectorChristian Graus8-Apr-08 11:12 
GeneralRe: Dynamically added controls don't appear in View's control collection. (VB) Pin
WebMaster8-Apr-08 11:26
WebMaster8-Apr-08 11:26 
QuestionHow to Resize a pop-up according to it's content height and width Pin
Tarik Guney7-Apr-08 13:38
Tarik Guney7-Apr-08 13:38 
GeneralMenuItem selected value Pin
kmuthuk7-Apr-08 10:31
kmuthuk7-Apr-08 10:31 
GeneralRe: MenuItem selected value Pin
Chatura Dilan7-Apr-08 15:36
Chatura Dilan7-Apr-08 15:36 
QuestionDate Pin
jonhbt7-Apr-08 9:22
jonhbt7-Apr-08 9:22 
GeneralRe: Date Pin
pmarfleet7-Apr-08 10:28
pmarfleet7-Apr-08 10:28 
GeneralRe: Date Pin
biswa477-Apr-08 20:21
biswa477-Apr-08 20:21 
GeneralRe: Date Pin
Herman<T>.Instance8-Apr-08 4:40
Herman<T>.Instance8-Apr-08 4:40 
GeneralRe: Date Pin
pmarfleet8-Apr-08 11:07
pmarfleet8-Apr-08 11:07 

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.