I have the code string xsltPath = System.Web.HttpContext.Current.Server.MapPath(@\"App_Data\") + \"\\\\\" + TransformFileName
I have an image stored on server at location: C:\\inetpub\\wwwroot\\imageupload\\images in my code i want to use an image from folder images so i am trying as follows:
What is the universal MapPath equivalent to the below? Universal, meaning, that I could use it in both client-side and server-side .NET apps, not just in server-side apps.
Have the following code which creates a table of all the images in a folder. VB: Sub Page_Load(sender as Object, e as EventArgs)
Really weird problem loading a file from disk: string path = HttpContext.Current.Server.MapPath(\"~/Datasets/blob.xml\");
I have a website on GoDaddy. All permissions are set correctly and the image DOES exist. However when the page loads the image for the item selected does not show. Here is my code
Currently, I\'m using the codes below to save a file to a directory on my website. //save the file to the server
I\'m building an ASP.NET MVC site where I\'m using Lucene.Net for search queries. I asked a question here about how to properly structure Lucene.Net usage in an ASP.NET MVC application and was told th
I am trying to access a file on another server from my application. Out of application, I am able to access the fil开发者_开发技巧es from windows explorer, but when I am using the same path in my appl
I\'m trying to access files in a virtual directory I created in IIS for the first time but am getting weird results.