DA PREMETTERE
che su ASP.net sono proprio novizia novizia novizia novizia novizia novizia novizia novizia novizia novizia novizia novizia novizia novizia novizia novizia novizia novizia novizia novizia novizia novizia novizia novizia novizia novizia novizia novizia novizia novizia novizia novizia novizia novizia novizia novizia novizia novizia novizia novizia novizia novizia novizia novizia novizia novizia novizia novizia novizia novizia.
(ce n'avrei messi ancora ma non mi va di annoiare... )

Uso questo codice per il Resize delle immagini

codice:
<%@ Import Namespace="System.Drawing"%>
<%@ Import Namespace="System.Drawing.Imaging"%>
<SCRIPT RUNAT="SERVER">
Sub Page_Load()

  Dim width as Integer = 0
  Dim height as Integer = 0

  try
    ' ricava dimensioni dalla richiesta
    if not Request.QueryString("nwidth") is Nothing Then
    width = Int32.Parse(Request.QueryString("nwidth"))
    End if
    if not Request.QueryString("nheight") is Nothing Then
    height = Int32.Parse(Request.QueryString("nheight"))
    End if

  catch ex as Exception
  End Try

  ' ridimensiona l'immagine se specificato
  Dim immagine as String = Server.MapPath(Request("img"))
  if Not System.Io.File.Exists(immagine) then
    immagine = Server.MapPath("/immagini/nondisponibile.jpg")
  end if
  
  call ImgRedim(immagine, width, height)

  ' fermo il resto della risposta
  Response.End()
End Sub

' Funzione di redim
Public Sub ImgRedim(immagine as String, width as Integer, height as Integer)
  Dim bmp as System.Drawing.Bitmap = CType(System.Drawing.Image.FromFile(immagine), System.Drawing.Bitmap)

  ' c'è da ridimensionare?
  if width>0 or height>0 then
    ' se è specificata solo la larghezza, calcola l'altezza
    if height = 0 Then
    height = Convert.ToInt32(width / bmp.Width * bmp.Height)
    End if

    ' (e viceversa)
    if width = 0 Then
    width = Convert.ToInt32(height / bmp.Height * bmp.Width)
    End if

    ' creo la Thumbnail con i parametri impostati
    Dim miniaturabmp as New System.Drawing.Bitmap(bmp, width, height)

    ' salvo sullo stream di output
    if immagine.EndsWith(".jpg") Then
    miniaturabmp.Save(Response.OutputStream, System.Drawing.Imaging.ImageFormat.Jpeg)
    else
    miniaturabmp.Save(Response.OutputStream, System.Drawing.Imaging.ImageFormat.Gif)
    end if

    ' pulizia
    miniaturabmp.Dispose()
  else
    ' salvo sullo stream di output
    if immagine.EndsWith(".jpg") Then
    bmp.Save(Response.OutputStream, System.Drawing.Imaging.ImageFormat.Jpeg)
    else
    bmp.Save(Response.OutputStream, System.Drawing.Imaging.ImageFormat.Gif)
    end if
  end if

  ' pulizia finale
  bmp.Dispose()

End Sub

</SCRIPT>
Che chiaramente richiamo così:

codice:
img.aspx?img=tazza.jpg&nwidth=450

Domanda semplice:
Perchè in remoto funziona perfettamente ed in locale no? Cosa mi manca?
(Lavoro su WindowsXP Pro con IIS 5.1)
Questo è l'errore riportato:

codice:
Server Application Unavailable 
The web application you are attempting to access on this web server is currently
unavailable.
Please hit the "Refresh" button in your web browser to retry your request. 

Administrator Note: An error message detailing the cause of this specific request
failure can be found in the application event log of the web server. Please review
this log entry to discover what caused this error to occur.
Questo maledetto event log of the web server dove sta che l'ho cercato ovunque???

COM'E' ANTIPATICO STO ASP.NET!!!!