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

    Asp.net 4 su iis6 e win server 2003

    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

  2. #2

  3. #3
    Utente di HTML.it L'avatar di comas17
    Registrato dal
    Apr 2002
    Messaggi
    6,522
    C'è una cosa che non mi torna...
    La cartella "Program Files(x86)" c'è solo nei sistemi operativi a 64 bit mentre tu parli di un 2003 a 32 bit...

    Prova a vedere se ti può essere utile: http://www.dotnetspark.com/links/549...-2003iis6.aspx

  4. #4
    si scusa, ho sbagliato ....
    ho controllato e in effetti il sistema è a 64 bit....
    non capisco infatti lui vada a cercare i file che gli servono in quella cartella (32 bit) ....

    Per quanto riguarda il link, ho già letto, ma non mi è stato di molto aiuto, in quel caso hanno creato un dominio senza utilizzare Plesk e un pool di applicazioni direttamente da iis, ma ho provato più volte senza avere nessun risultato.

    altri consigli??

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 © 2025 vBulletin Solutions, Inc. All rights reserved.