 |
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
|
|
|

February 19th, 2007, 01:18 AM
|
Friend of Wrox
|
|
Join Date: Jan 2004
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
|
|
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
|

February 19th, 2007, 05:35 PM
|
Wrox Author
|
|
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
|
|
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
|

February 19th, 2007, 08:48 PM
|
Friend of Wrox
|
|
Join Date: Jan 2004
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
|
|
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
|

February 19th, 2007, 09:29 PM
|
Wrox Author
|
|
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
|
|
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
|

February 21st, 2007, 12:40 AM
|
Friend of Wrox
|
|
Join Date: Jan 2004
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
|
|
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
|

February 21st, 2007, 09:05 AM
|
Wrox Author
|
|
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
|
|
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
|

February 21st, 2007, 07:10 PM
|
Friend of Wrox
|
|
Join Date: Jan 2004
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
|
|
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
|

February 22nd, 2007, 08:00 PM
|
Friend of Wrox
|
|
Join Date: Jan 2004
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
|
|
dparsons - Thank you for your time and effort, appreciated very much...
Wind is your friend
Matt
|
|
 |