I have a website that resides on 1 drive and data on another. I've created a virtual drive in IIS for the data drive and called it 'd_drive'.
In classic asp, I used to be able to write this:
and that would point to that drive, but when I do it in asp.net (C#) it doesn't seem to work.
In classic asp, I used to be able to write this:
Code:
Server.MapPath("\asc\customers\common\Self Extracting Files\text.txt)
and that would point to that drive, but when I do it in asp.net (C#) it doesn't seem to work.
Code:
string sServerMapPath = Server.MapPath(@"\asc\customers\newsite\common\MaxSim Tower\Self Extracting Files\");