2011-01-11 13 views
5

Sto provando a trasferire un sito Web ASP.Net 1.1 esistente su un altro server Web che attualmente esegue IIS7 e un numero di siti Web che hanno come target .Net 2.0, 3.5 o 4.0. Tutti gli altri siti continuano a funzionare perfettamente. Sfortunatamente, posso solo sfogliare i file statici sul sito appena importato. Se provo ad accedere a una qualsiasi delle funzionalità in IIS7 per il nuovo sito ricevo la seguente finestra di errore:Errori che eseguono ASP.NET 1.1 su IIS7 (applicationHost.config)

There was an error while performing this operation.

Details:

Filename:

\\?\C:\Windows\system32\inetsrv\config\applicationHost.config

Error:

Ho seguito le istruzioni su this page ma sono in perdita su come ottenere questo lavoro.

risposta

13

Ho riscontrato questo problema anche questo pomeriggio.

Ho fatto un rapido google e ho trovato altri con lo stesso problema sul forum di asp.net. Il problema sembrava essere quello

Ecco cosa mi ha superato questo errore, spero che funzioni per voi.

the runtime tries to load the corresponding configuration, it doesn't take the bitness of the application pool into the consideration. As you know, ASP.NET 1.1 is only supported on 32-bit. So if you have a 64-bit OS, in order to run ASP.NET 1.1, you have to enable 32-bit applications in the application pool. So, with the QFE/SP2 on 64-bit OS (and only on 64-bit OS), the runtime is incorrectly looking for the 1.1 version of the configuration under Framework64, which does not exist.

Workaround:

  1. Create the Framework64 directory for 1.1 md \windows\microsoft.net\framework64\v1.1.4322\config\
  2. Copy the 32bit config to 64bit config location created in step 1. copy \windows\microsoft.net\framework\v1.1.4322\config\machine.config \windows\microsoft.net\framework64\v1.1.4322\config\

http://blogs.iis.net/wonyoo/archive/2009/06/18/workaround-running-asp-net-1-1-on-vista-sp2-ws08-sp2.aspx

Problemi correlati