Logo FreeAspx
Home Login Classi Framework .NET Newsgroup Blog Segnala applicazione Link
Cartucce compatibili
ASP.NET VB.NET C# ASP SHAREPOINT
Imposta come home Imposta come Home
Aggiungi ai preferiti Aggiungi ai preferiti
Registrati nella Community Registrati
Generatore connessione db Generatore connessione db
Generatore di Query Generatore di Query
Cerca nel sito



Stiamo preparando il nuovo SB2Dev, dove vorreste che fosse fatto?
 Roma
72,9%

 Napoli
8,7%

 Firenze
11,7%

 Bari
6,7%

LEZIONI

Opzioni pagina Articoli e Lezioni di FreeAspx.it
Stampa
Invia ad amico
Aggiungi ai Preferiti

Err Msg: Active Server Pages, ASP 0131 Disallowed Parent Path

Problema
Molte volte per richiamare in delle pagine ASP altri file si usano le path relative ES:



Il server vi rilascia l'errore:

Active Server Pages, ASP 0131
Disallowed Parent Path
The Include file '../' cannot contain '..' to indicate the parent directory.
//, line

Per ovviare a questo problema avete due modi:

1) Utilizzare le virtual path


2) Abilitare sul server web server le path assolute.

Questi sono i passi da seguire:

Open the Internet Services Manager in the Microsoft Management Console (MMC).
2. Right-click on your Default Web Site and select Properties.
3. Click the Home Directory tab.
4. Click the Configuration button.
5. Click the App Options tab.
6. Click to select the Enable Parent Paths checkbox.
7. Click the OK button until you return to the MMC.
nessuno


SITI PARTNER
AspCode.it DevSpy.com Webmasterpoint.org
Mr. Webmaster

finding ASP.NET Resources is as easy as 1..2..3..
MSDN Microsoft
Info Contatti File RSS Policy AccessibilitĂ 
Copyright 2001 - 2008 Fulvio Giaccari & SB Soft® Srl - All Rights Reserved - P.IVA 03917610754
V. 2.0.1891.25145  8