Salve,
sto incontrando una strana difficoltà a creare una cartella nella directory di aruba (dentro public, cartella con permessi di scrittura).
Il mio codice fa un banale controllo se non esiste la cartella la crea.
codice:
    Protected Sub btnCrea_Click(ByVal sender As Object, ByVal e As System.EventArgs)
        Directory.CreateDirectory(Server.MapPath("../public/") & txtNewDir.Text.ToString())
    End Sub
sto lavorando nella cartella /test_net ed il file in questione si chiama drive2.aspx, questo il codice:
codice:
<%@ Page Language="VB" Debug="true" %>
<%@ Import Namespace="System.IO" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<script runat="server">

    Protected Sub btnCrea_Click(ByVal sender As Object, ByVal e As System.EventArgs)
        Directory.CreateDirectory(Server.MapPath("../public/") & txtNewDir.Text.ToString())
    End Sub
</script>

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Pagina senza titolo</title>
</head>
<body>
    <form id="form1" runat="server">
        
        <asp:Button ID="btnCrea" runat="server" Text="Si" OnClick="btnCrea_Click" />
    <div>
    
    </div>
    </form>
</body>
</html>
Ok nel momento in cui ho scritto ho capito l'errore... è un profilo vecchio di Aruba con .NET 1.1... ad ogni modo spero possa servire questo codice...