MapPath strange error
<p>I have the following code:</p>

<pre><code>string path = "~/Others/Muzica/Demo/"+interpret+"_"+album+"/";
CMSUtils.CreateFolder(MapPath(path));
</code></pre>

<p>where CreateFolder method is like:</p>

<pre><code> public static void CreateFolder(string path)
{
    if (!System.IO.Directory.Exists(path))
    {
        System.IO.Directory.CreateDirectory(path);
    }
}
</code></pre>

<p>So i create that folder if it does not exists...
All works great locally BUT i do not understand why, if i put it on the server it gives:</p>

<blockquote>
  <p>Failed to map the path '/gramma_prod/Others/Muzica/Demo/Vitamina C_De n-ai fi fost Tu /'.</p>
</blockquote>

<p>at CMSUtils.CreateFolder(MapPath(path));</p>

<p>I have checked if: /gramma_prod/Others/Muzica/Demo/ exists on the server and of course it exists...</p>

<p>Does anybody see the problem?</p>
