Hi, I have an ajax enable website, and I set the customerrors to off in the web.config file. However, I don't get the full error, instead a javascript popup letting me know what the error is, but not letting me know where and which line it happens. why is that?
avmood
Member
493 Points
908 Posts
custom error in web.config
May 22, 2008 02:39 PM|LINK
<
customErrors mode="Off"></
customErrors>holliday_jd
Member
412 Points
102 Posts
Re: custom error in web.config
May 22, 2008 02:45 PM|LINK
You probably need to enable debugging of scripts in your browser.
avmood
Member
493 Points
908 Posts
Re: custom error in web.config
May 22, 2008 02:53 PM|LINK
which option is that? I unchecked the "disable sciprt debugging" but it didn't work.
holliday_jd
Member
412 Points
102 Posts
Re: custom error in web.config
May 22, 2008 03:13 PM|LINK
What browser are you using?
holliday_jd
Member
412 Points
102 Posts
Re: custom error in web.config
May 22, 2008 03:16 PM|LINK
Also, are you developing all locally or are you remoting?
avmood
Member
493 Points
908 Posts
Re: custom error in web.config
May 22, 2008 03:26 PM|LINK
holliday_jd
Member
412 Points
102 Posts
Re: custom error in web.config
May 22, 2008 03:41 PM|LINK
Tools -> Internet Options -> Advanced -> uncheck Disable Script Debugging (IE and others).
Do you know if the javascript errors are coming from ajax controls or other js you developed?
avmood
Member
493 Points
908 Posts
Re: custom error in web.config
May 22, 2008 05:27 PM|LINK
I didnt have any javascript, so it might come from the web.config.
avmood
Member
493 Points
908 Posts
Re: custom error in web.config
May 22, 2008 05:30 PM|LINK
I mean whenever there is error, it always popup with javascript instead of the yellow page.
holliday_jd
Member
412 Points
102 Posts
Re: custom error in web.config
May 22, 2008 06:18 PM|LINK
The "yellow page" is generated from a server error. Is it possible to post the page and code behind?