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 February 19th, 2007, 01:18 AM
Friend of Wrox
 
Join Date: Jan 2004
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
Send a message via AIM to mat41
Default Win 2003 HTTP errors

Good day. My objective is get rid of the error:
'An error occurred on the server when processing the URL. Please contact the system administrator.'

This occurs on a Win 2003 server (IIS 6.0) I have seen this before however never been given the job of getting rid of it. My reasearch tells me this is a metabase.xml file alteration.

"AspScriptErrorSentToBrowser Metabase Property
The AspScriptErrorSentToBrowser property specifies whether the Web server writes debugging specifics
(file name, error, line number, description) to the client browser, in addition to logging them to
the Windows Event Log. The AspScriptErrorMessage property provides the error message to be sent if
this property is set to false."


I stopped the IIS admin service, altered this setting to true and restarted the service. No change in browser behaviour, any ideas?

TYIA

Wind is your friend
Matt
__________________
Wind is your friend
Matt
 
Old February 19th, 2007, 05:35 PM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

Hey Matt,
   This isn't really an error. Its more or less a friendly way of telling the user that an error was generated inside your script so that they aren't shown the actual message sent from the interpeter which I am sure you know. Anyway, which of the 4 locations of the Metabase did you alter?

This Technet article may be of some use to you, but I am not sure:

http://www.microsoft.com/technet/pro....mspx?mfr=true

hth.

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from planoie's profile^^
^^Modified text taken from gbianchi profile^^
================================================== =========
Technical Editor for: Professional Search Engine Optimization with ASP.NET
http://www.wiley.com/WileyCDA/WileyT...470131470.html

Discussion:
http://p2p.wrox.com/topic.asp?TOPIC_ID=56429
 
Old February 19th, 2007, 08:48 PM
Friend of Wrox
 
Join Date: Jan 2004
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
Send a message via AIM to mat41
Default

Hi there. It seems the page has decided to become problematic without change. I have limited access to the box however are able to adjust the metabase.xml file through a third party. The only metabase location I changed was the AspScriptErrorSentToBrowser. You mention four, my reasearch has only indicated a change to the one I mention. The italisized information in my last post is from MS, I followed this without any chnage in browser behaviour. Which others do you talk about?

TYIA

Wind is your friend
Matt
 
Old February 19th, 2007, 09:29 PM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

There are 4 locations for the Metabase depending on what type of IIS app you are working with. For example the IIS metabase for an application is located in an entirely different directory the the metabase for say a virtual directory.

Thet technet article shows the locations.

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from planoie's profile^^
^^Modified text taken from gbianchi profile^^
================================================== =========
Technical Editor for: Professional Search Engine Optimization with ASP.NET
http://www.wiley.com/WileyCDA/WileyT...470131470.html

Discussion:
http://p2p.wrox.com/topic.asp?TOPIC_ID=56429
 
Old February 21st, 2007, 12:40 AM
Friend of Wrox
 
Join Date: Jan 2004
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
Send a message via AIM to mat41
Default

Sorry for the delay...

I have now changed all instances of the AspScriptErrorSentToBrowser property to false. my behaviour is still the same, any ideas?

TYIA

Wind is your friend
Matt
 
Old February 21st, 2007, 09:05 AM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

Hmm weird. Try this. Open up the IIS MMC, and bring up the properties page for the application or website you are having this problem with. Under Application Settings hit the Configuration button and go to the debug tab. There is a group box labeled Script Error Messages and there are 2 radio buttons, one is Send detailed ASP error messages to client and the other is Send Text Error Message to client. The detailed Error radio should be selected so that you will get the interpeter error message instead of the generic one that you are getting now.

hth.

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from planoie's profile^^
^^Modified text taken from gbianchi profile^^
================================================== =========
Technical Editor for: Professional Search Engine Optimization with ASP.NET
http://www.wiley.com/WileyCDA/WileyT...470131470.html

Discussion:
http://p2p.wrox.com/topic.asp?TOPIC_ID=56429
 
Old February 21st, 2007, 07:10 PM
Friend of Wrox
 
Join Date: Jan 2004
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
Send a message via AIM to mat41
Default

Yes, yes, yes... Thanking you dparsons, your assistance is very much appreciated. This one was annoying me big time. Based on tiral end error - this local IIS setting for the websites root directory seems to override the metabase.xml file settings. mmmm, logically looking at whats in the xml file I assumed it dictates IIS, should I assume IIS dictates it?

Thanks again!

Wind is your friend
Matt
 
Old February 22nd, 2007, 09:11 AM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

That is not an answer I can rightfully answer, however, I think that when you change settings in IIS Manger it edits the Metabase file accordingly. You may want to check out this documentation:

http://www.microsoft.com/technet/pro....mspx?mfr=true

glad you got the error resolved. ^^

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from planoie's profile^^
^^Modified text taken from gbianchi profile^^
================================================== =========
Technical Editor for: Professional Search Engine Optimization with ASP.NET
http://www.wiley.com/WileyCDA/WileyT...470131470.html

Discussion:
http://p2p.wrox.com/topic.asp?TOPIC_ID=56429
 
Old February 22nd, 2007, 08:00 PM
Friend of Wrox
 
Join Date: Jan 2004
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
Send a message via AIM to mat41
Default

dparsons - Thank you for your time and effort, appreciated very much...

Wind is your friend
Matt





Similar Threads
Thread Thread Starter Forum Replies Last Post
WebService for Intranet Win app through HTTP ? hendyhanusin .NET Web Services 3 July 31st, 2007 06:44 AM
win server 2003 problem slavni Classic ASP Databases 6 April 13th, 2005 03:32 AM
Sending email on win 2003 server md_haris VBScript 3 October 21st, 2004 12:20 PM
Unable to login running on win server 2003 kiekar BOOK: ASP.NET Website Programming Problem-Design-Solution 2 May 6th, 2004 09:28 PM
error installing com+ component on win 2003 schockp C# 0 October 9th, 2003 07:01 AM





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