virtual-path Questions

5

Solved

I have a win form that creates a site in IIS7. One function needs to open the web.config file and make a few updates. (connection string, smtp, impersonation) However I do not have the virtual pat...
Raquelraquela asked 3/3, 2010 at 4:21

6

How can I get the virtual path for a full path in ASP classic. Note that the full path may be under a virtual directory and therefore the simplistic virtPath = Replace(fullPath, Server.MapPath("/...
Catherin asked 20/5, 2009 at 14:11

1

Solved

This sounds like a simple enough question, but can't find the answer for the life of me. How does one convert a root-relative url (~/my/path) to a virtual path (/mywebsite/my/path) in the Controlle...
Genniegennifer asked 20/1, 2012 at 5:51

2

Solved

I want to convert this physical path "C:\bla\bla\Content\Upload\image.jpg" to server path like "/Content/Upload/image.jpg". How can i do that ?

2

Solved

I came across an issue when I was testing my HTML Helper. Basically I'm creating a grid with loads of rows, columns and different types of data in it. In the header there is also a image to notify ...
Pyatt asked 6/8, 2010 at 15:13

2

Solved

I've seen similar questions and answers regarding conversions from virtual to absolute and url, but how can I convert a url to a virtual path without manual string parsing? Example: I want "http...
Inflexible asked 29/1, 2009 at 21:43
1

© 2022 - 2024 — McMap. All rights reserved.