Nuovi siti: tutti con errore di "Nome con carattere iniziale non valid...

martedì 03 aprile 2007 - 18.30

pao75 Profilo | Newbie

Ciao a tutti
Per tutti i NUOVI siti (directories virtuali) che creo, ricevo sempre il seguente errore:


Impossibile visualizzare la pagina XML
Impossibile visualizzare l'input XML tramite il foglio di stile XSL. Correggere l'errore, quindi fare clic su Aggiorna, oppure riprovare in un momento successivo.


--------------------------------------------------------------------------------

Nome con carattere iniziale non valido. Errore durante l'elaborazione della risorsa "http://localhost/ricevute/default.aspx...

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
-^


Ho già provato a registrare con aspnet_regiis.exe -i
Ho già provato a reinstallare il framework 2.0
ma niente da fare...

Da notare che le vecchie cartelle che avevo con i siti asp.net 2.0 funzionano egregiamente... non ho trovato nessun support da nessuna parte...

pao75 Profilo | Newbie

ho trovato la soluzione su un altro forum:

run from whichever installation directory for .Net Framework version you're
using


{
Drive:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
or
Drive:\WINDOWS\Microsoft.NET\Framework\v1.1.4322



}


aspnet_regiis -u and then, immediately after that, run aspnet_regiis -i

If you're using IIS 6.0 ( Windows 2003 Server ), you'll also need to run aspnet_regiis -enable


After that, open a cmd window from the "run" menu in the Start button, and run "iisreset".


When you unregister and reregister the .Net Framework (you don't need to physically remove
anything),
the ASP.NET account gets reset and all the mappings are installed correctly.


Partecipa anche tu! Registrati!
Hai bisogno di aiuto ?
Perchè non ti registri subito?

Dopo esserti registrato potrai chiedere
aiuto sul nostro Forum oppure aiutare gli altri

Consulta le Stanze disponibili.

Registrati ora !
Copyright © dotNetHell.it 2002-2024
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5