Visualizzazione dei risultati da 1 a 10 su 10
  1. #1

    Pubblicare un sito in IIS.

    Ciao a tutti, avrei qualche problemino con la pubblicazione di un programma scritto con vb.net (con framework 2.0) in intranet utilizzando IIS.

    Ho creato il web site, come ip gli ho dato quello del server in cui risiede IIS e come porta la 81 (diversa da quella default web site).

    Mi crea il sito correttamente xro' faccio browse sulla pagina da aprire (.aspx) mi restituisce il seguente errore:

    Server Error in '/' Application.
    --------------------------------------------------------------------------------

    The current identity (NT AUTHORITY\NETWORK SERVICE) does not have write access to 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Tem porary ASP.NET Files'.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.Web.HttpException: The current identity (NT AUTHORITY\NETWORK SERVICE) does not have write access to 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Tem porary ASP.NET Files'.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace:


    [HttpException (0x80004005): The current identity (NT AUTHORITY\NETWORK SERVICE) does not have write access to 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Tem porary ASP.NET Files'.]
    System.Web.HttpRuntime.SetUpCodegenDirectory(Compi lationSection compilationSection) +3474123
    System.Web.HttpRuntime.HostingInit(HostingEnvironm entFlags hostingFlags) +226

    [HttpException (0x80004005): The current identity (NT AUTHORITY\NETWORK SERVICE) does not have write access to 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Tem porary ASP.NET Files'.]
    System.Web.HttpRuntime.FirstRequestInit(HttpContex t context) +3426855
    System.Web.HttpRuntime.EnsureFirstRequestInit(Http Context context) +88
    System.Web.HttpRuntime.ProcessRequestInternal(Http WorkerRequest wr) +149


    Pare che nn riesce a scrivere nel path indicato ma ha tutti i diritti (lettura scrittura esecuzione).

    Cosa ho dimenticato?
    Sono alle prime armi e nn so come venirne fuori.

    Grazie in anticipo.

  2. #2
    Utente di HTML.it L'avatar di edaje
    Registrato dal
    Jul 2003
    Messaggi
    363
    Stai usando 2003 server?

  3. #3

  4. #4
    Utente di HTML.it L'avatar di edaje
    Registrato dal
    Jul 2003
    Messaggi
    363
    hai dato i permessi a NT AUTHORITY\NETWORK SERVICE?

  5. #5
    Nelle utenze ho un NETWORK SERVICE che ha tutti i diritti, ma nn va lo stesso.

    Devo creare una virtual directory?

  6. #6
    Utente di HTML.it L'avatar di edaje
    Registrato dal
    Jul 2003
    Messaggi
    363
    Questa utenza ha i permessi per leggere e scrivere sul o sui dischi?

  7. #7
    ecco ho risolto, stupidamente davo i permessi al network service ai file del programma e nn alla cartella 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Tem porary ASP.NET Files'

    Grazie mille, ti devo un favore

  8. #8
    Utente di HTML.it L'avatar di edaje
    Registrato dal
    Jul 2003
    Messaggi
    363

  9. #9
    Un'altra cosa veloce veloce, nel caso volessi pubblicarlo in internet, mi basta un dns pubblico giusto?

  10. #10
    Utente di HTML.it L'avatar di edaje
    Registrato dal
    Jul 2003
    Messaggi
    363
    Devi avere un IP pubblico e una linea. Altrimenti ti affidi a un provider

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.