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.

Rispondi quotando
