Use Server.MapPath() (also a using block for closing the file would help):
using(FileStream os = new FileStream(Server.MapPath("/output/asdasdasd.ico"), FileMode.Create))
{
var ic = MakeIcon(iconbitmap, 16, false); /// function returns an icon
ic.Save(os);
}