server.mappath
Using Server.MapPath in MVC3
I have the code string xsltPath = System.Web.HttpContext.Current.Server.MapPath(@\"App_Data\") + \"\\\\\" + TransformFileName[详细]
2023-04-09 03:27 分类:问答Server.MapPath throws error when using web image cropping library
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:[详细]
2023-03-05 21:51 分类:问答Is there a universal MapPath function for both client-side and server-side apps?
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.[详细]
2023-02-23 15:54 分类:问答vb.net - Inserting number of files named XX into a string
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)[详细]
2023-02-19 06:31 分类:问答System.UnauthorizedAccessException loading file from Disk
Really weird problem loading a file from disk: string path = HttpContext.Current.Server.MapPath(\"~/Datasets/blob.xml\");[详细]
2023-02-17 19:12 分类:问答Image URL is correct but image not showing
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[详细]
2023-02-04 06:12 分类:问答Server.MapPath gives wrong path, exception "The given path's format is not supported" when running on IIS server?
Currently, I\'m using the codes below to save a file to a directory on my website. //save the file to the server[详细]
2023-01-26 08:35 分类:问答Using Server.MapPath() inside a static field in ASP.NET MVC
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[详细]
2023-01-17 19:59 分类:问答How to use server path to access a file for attachment
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[详细]
2023-01-17 07:06 分类:问答Server.MapPath not working
I\'m trying to access files in a virtual directory I created in IIS for the first time but am getting weird results.[详细]
2023-01-15 10:06 分类:问答