Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > HTML > HTML Code Clinic
HTML Code Clinic Do you have some HTML code you'd like to share and get suggestions from others for tweaking or improving it? This discussion is the place.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the HTML Code Clinic 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 October 27th, 2004, 06:54 AM
Registered User
Join Date: Oct 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Cannot Find Server or DNS Error code


Running Indexing Service on a W2000 network, the indexes are being built by an administrative account. My search results asp returns all files regardless of permissions, but, and here's the problem, if you try and follow a link to a file or folder you do not have permission to see, you get the "Cannot Find Server or DNS Error code"
page rather than any other 40x error page. Unfortunately this doesn't give any clue to the user why they can't access the file, so I had hoped to customise the error page, but I discover you can't modify the "Cannot Find Server or DNS Error code" message only the 40x messages.

I am wondering if there is a way to custom the DNS error, or find out why that error comes up when the server, etc are there as it's just a permissions issue, and if it's possible to force a message like 401 or not.

Hope that makes sense!!!!



Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing from DNS to DNS less connection dudeshouse Classic ASP Databases 4 February 7th, 2007 12:02 PM
Can not find server or dns error a_afiaax Classic ASP Components 0 January 18th, 2006 12:15 PM
cannot find server error jainnid General .NET 0 September 27th, 2005 09:11 AM
IIS 5.1 - Cannot find server or DNS Error silyaza BOOK: Beginning ASP 3.0 3 June 1st, 2005 07:40 PM
secondary DNS vs. second primary DNS gangu1971 Linux 1 March 1st, 2005 10:40 AM

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