Server.Mappath error
<p>iam trying to fill dropdown box feteching folder name from server but this code showing error.its working in local .but not working in server.can any one help on this</p>

<pre><code>DirectoryInfo dirInfo = new DirectoryInfo(Server.MapPath(@"~\\*.***.***.**\Flextronics\Common\Surendra"));
// DirectoryInfo dirInfo = new DirectoryInfo("D:\\New Folder");
ddlModel.DataSource = dirInfo.GetDirectories();
ddlModel.DataBind();
</code></pre>
