Salve a tutti,
ho come da titolo del thread ho la necessità di far girare un'applicazione web con .net 4.0 su windows server 2003 32 bit ....
Premetto che sul server gira Plesk ....
Seguendo la guida di microsoft... sono riuscito a cambiare la tipologia del pool di applicazioni da 2.0 a 4.0 tramite il comando aspnet_regiis.exe ....
pensando di aver risolto tutti i miei problemi, provo ad aprire il sito e mi esce quanto sotto:
------------------------------------------
Access to the path 'C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\' is denied.
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.UnauthorizedAccessException: Access to the path 'C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\' is denied.
ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6 and IIS 7, and the configured application pool identity on IIS 7.5) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true"/>, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.
To grant ASP.NET access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.
------------------------------------------
Come viene indicato sembra che non ci siano nemmeno i permessi per leggere dentro quella directory.....
Tra l'altro ho notato che dentro quel percorso (C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\) ci siano solo due cartelle v3.0 e v3.5 .....è normale volendo usare dotnet 4.0 ??
Consigli e suggerimenti sono accettatissimi ... grazie 1000


Rispondi quotando