Wrox Programmer Forums
|
Classic ASP Professional For advanced coder questions in ASP 3. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 17th, 2007, 07:44 AM
Authorized User
 
Join Date: Dec 2005
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Default AspEnableParentPaths

Dear All,

i'm trying to upload my website but this problem appeared:
Server.MapPath() error 'ASP 0175 : 80004005'

the problem caused becouse the AspEnableParentPaths is set to false!!
 how can i set AspEnableParentPaths to true?

please i want your help ASAP

 
Old January 17th, 2007, 01:03 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

You can change this setting in IIS. Open the IIS Manager, and open the Properties for your web site. On the Home tab click Configuration and then on the Options tab enable parent paths.

Alternatively, you can avoid the problem by switching your includes from file="..Somefile.asp" to virtual="/SomeFile.asp"

Hope this helps,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.









Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.